faint-motherboard-95438
07/28/2020, 1:30 PMaws.ec2.Subnet
and awsx.ec2.Subnet
don’t set the subnet Name, neither from the name
parameter nor any SubnetArgs
values. Why and how to set it then ?
Also these two lacks a lot of properties from awsx.ec2.Vpc
subnets
argument, which would be helpful to have when adding new subnets later on. (or should we avoid aws(x).ec2.Subnet
entirely ?)faint-table-42725
07/28/2020, 4:10 PMawsx.ec2.Vpc
abstracts away the fact that naming a Subnet from AWS’s perspective is simply adding a tag with key Name
faint-motherboard-95438
07/28/2020, 4:12 PMName
to it ?faint-table-42725
07/28/2020, 4:12 PMawsx.ec2.Subnet
. I’m not sure why that wasn’t done in the original design.Name
with the value being the name you wantawsx.ec2.Vpc
does it: https://github.com/pulumi/pulumi-awsx/blob/master/nodejs/awsx/ec2/vpc.ts#L160faint-motherboard-95438
07/28/2020, 4:13 PMawsx.ec2.Subnet
(shouldn’t be hard to add I suppose)