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

jolly-activity-81321

10/31/2023, 11:06 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 '.'
l

little-cartoon-10569

10/31/2023, 6:38 PM
j

jolly-activity-81321

10/31/2023, 8:40 PM
woop, woop, thanks a lot!
3 Views