Hello, Having error on creating AutoScaling Group...
# getting-started
q
Hello, Having error on creating AutoScaling Group in pulumi when using ### With Latest Version Of Launch Template Error message :
Diagnostics:
aws:autoscaling:Group (my-auto-scaling-group):
error: aws:autoscaling/group:Group resource 'my-auto-scaling-group' has a problem: Attribute must be a list. Examine values at 'my-auto-scaling-group.tags'.
my code looks like this from screenshot and displaying the error message below. Any help to resolve the error is much appreciated. I am using latest version of aws sdk (npm install -g @nice-addition-43900/aws@latest )
c
hmm I believe
tags
property should be a map-like type (i.e. a regular JavaScript object) and not an array. When you mouseover the
tags
property, what do you see as its type?
q
It shows the tags property as below (property) GroupArgs.tags?: pulumi.Input<pulumi.Input<aws.types.input.autoscaling.GroupTag>[]>
c
Ah ok. Then what you have is right.
I am not sure why you are getting that error. I suggest you search GH issues for
pulumi-aws
to see if anyone else has reported this problem.
q
I appreciate your response, but may I know what is GH issues for
pulumi-aws
c
q
ahh, got it thanks
d
Did you ever figure out what was going on here?
Was it something related to auto-tagging?