steep-lamp-2040810/05/2022, 8:56 AM
The subnets are created, but their names do not appear in the AWS console (they have no names). I also tried with
public_subnet_1 = aws.ec2.Subnet( "subnet-public-1", # Seems like the name is not working in AWS console vpc_id=vpc.id, cidr_block="10.0.1.0/24", ) private_subnet_1 = aws.ec2.Subnet( "subnetn-private-1", # Seems like the name is not working in AWS console vpc_id=vpc.id, cidr_block="10.0.2.0/24", )
), but it’s the same. Why?
The created VPC has no name in AWS.
vpc = aws.ec2.Vpc("my-vpc", _cidr_block_="10.0.0.0/16")
great-sunset-35510/05/2022, 10:10 AM
(display name) Many AWS resources have a display name represented as the tag
. And for those, the pulumi provider won't apply the value of
to the tag
. So you need to add
steep-lamp-2040810/13/2022, 5:54 AM
great-sunset-35510/13/2022, 7:06 AM
property, add your value