https://pulumi.com logo
p

powerful-continent-32307

08/09/2021, 12:19 PM
Does anyone using aws-javascript have issues with aws vpc not being created with a name?
Copy code
const vpc = new aws.ec2.Vpc("my-vpc", {
    cidrBlock: `172.99.0.0/16`,
});
This doesn't create the name in aws console
b

billowy-army-68599

08/09/2021, 4:19 PM
hey @powerful-continent-32307 - AWS resources need to have
Name
tag on them to show up in the console:
Copy code
const vpc = new aws.ec2.Vpc("my-vpc", {
    cidrBlock: `172.99.0.0/16`,
    tags: {
      "Name": "my-vpc"
    ]
});
p

powerful-continent-32307

08/09/2021, 11:20 PM
Thank you so much
2 Views