This message was deleted.
# aws
s
This message was deleted.
b
set the Name tag
Copy code
vpc = aws.ec2.Vpc("vpc",
    cidr_block="172.31.0.0/16",
    enable_dns_hostnames=True,
    enable_dns_support=True,
    instance_tenancy="default",
    tags: {
       Name: "my-cool-name"
    }
)
f
tags: { … } or since I’m using python tags={…} and that added Name: to the tags but not not the place I would like it.
Copy code
vpc = aws.ec2.Vpc("vpc",
    cidr_block="172.31.0.0/16",
    enable_dns_hostnames=True,
    enable_dns_support=True,
    instance_tenancy="default",
    tags={
        "Name:": "my-cool-name",
    }
)
s
drop your colon
b
yep,
Name:
should
Name
note the additional colon in between the
""
f
TY
and 🫣