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

handsome-actor-1155

10/10/2019, 8:58 PM
One thing I keep forgetting to bring up is to ask if anyone has run into a bug(?) where the entry of the VPC exists but the name of vpc is empty in the aws console when creating a VPC from Pulumi? Code:
Copy code
const vpc = new awsx.ec2.Vpc("demo-vpc", {numberOfAvailabilityZones: 3});
a

acceptable-army-69872

10/10/2019, 9:31 PM
I think you need to add tags right? Something like
Copy code
const vpc = new awsx.ec2.Vpc("pulumiTest", {
  cidrBlock: "10.50.0.0/24",

  subnets: [
      { type: "public" },
      { type: "private" }
  ],
  tags: {
    Name: `vpn-test-vpc`,
  },
});
(a lot of things "named" in the aws console are actually just tagged with a field called name)
h

handsome-actor-1155

10/10/2019, 9:32 PM
Ohh right. Let me try that. Thanks!
👍 1