Hey, Anyone knows why Pulumi is not allowing dot ...
# aws
j
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
Resolved in 3.91.0.
j
@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
Did you upgrade the engine?
j
sorry, forgot to mention that I'm using the Automation API
l
Don't you still need to update theCLI?
j
why? I'm not using it
running pulumi entirely from my Go code
l
Isn't the CLi invoked from the automation-api lib? I was under the impression that that was how it worked.
j
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