https://pulumi.com logo
#aws
Title
# aws
j

jolly-activity-81321

10/31/2023, 11:16 AM
Hey, Anyone knows why Pulumi is not allowing dot "." as map key? e.g. this
Copy code
vpc, err := ec2.NewVpc(ctx, "vpc", &ec2.VpcArgs{
		CidrBlock: pulumi.StringPtr("172.0.0.0/16"),
		Tags: pulumi.StringMap{
			fmt.Sprintf("kubernetes_io/cluster/%s", abc): pulumi.String("owned"),
		},
	})
is failing with
Copy code
aws:ec2:Vpc vpc  error: expected property name after '.'
Slack Conversation
l

little-cartoon-10569

10/31/2023, 6:39 PM
Resolved in 3.91.0.
j

jolly-activity-81321

10/31/2023, 8:46 PM
@little-cartoon-10569 hmm, using the Go SDK,
v3.91.1
, still the same
Copy code
<http://github.com/pulumi/pulumi/sdk/v3|github.com/pulumi/pulumi/sdk/v3> v3.91.1
l

little-cartoon-10569

10/31/2023, 8:46 PM
Did you upgrade the engine?
j

jolly-activity-81321

10/31/2023, 8:47 PM
sorry, forgot to mention that I'm using the Automation API
l

little-cartoon-10569

10/31/2023, 8:50 PM
Don't you still need to update theCLI?
j

jolly-activity-81321

10/31/2023, 8:50 PM
why? I'm not using it
running pulumi entirely from my Go code
l

little-cartoon-10569

10/31/2023, 8:52 PM
Isn't the CLi invoked from the automation-api lib? I was under the impression that that was how it worked.
j

jolly-activity-81321

10/31/2023, 8:53 PM
hmm, I doubt it. It kind of defies the whole idea of using Automation API in the first place 🤔
p.s. my pulumi cli is also 3.91.0
If 3.91.0 doesn't fix it, then update the issue(s), as it's been closed and they think it's fixed: https://github.com/pulumi/pulumi/issues/14439 https://github.com/pulumi/pulumi/issues/14338 https://github.com/pulumi/pulumi/issues/14335
5 Views