https://pulumi.com logo
Title
f

full-analyst-32960

10/31/2022, 2:42 PM
Error
cannot unmarshal array into Go struct field LogConfiguration.LogConfiguration.Options of type map[string]*string
would hint that the options is a dict() (aka map) but I cannot get that to work either
b

broad-noon-76535

11/01/2022, 7:44 AM
Indeed, it looks like the API expects a dict[string, string] in the options parameter. Here's an example API call using the same type: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/using_awslogs.html#create_awslogs_loggroups Did you try
options={"awslogs_group": "nginx-container"}
?