Hey, any hints on how I can make changes to the subnets created by default on my VPC? Have tried with aliases, however, pulumi still won't take the changes from the explicitly defined resources:
export const vpc = new awsx.ec2.Vpc('vpc', {
enableDnsHostnames: true,
enableDnsSupport: true,
assignGeneratedIpv6CidrBlock: true,
});
export const vpc_public_1 = new aws.ec2.Subnet(
'vpc-public-1',
{
assignIpv6AddressOnCreation: true,
availabilityZone: 'eu-west-1a',
cidrBlock: 'x',
enableDns64: true,
enableResourceNameDnsAaaaRecordOnLaunch: true,
ipv6CidrBlock: 'x',
mapPublicIpOnLaunch: true,
privateDnsHostnameTypeOnLaunch: 'ip-name',
tags: {
Name: 'vpc-public-1',
SubnetType: 'Public',
},
vpcId: vpc.vpcId,
},
{
protect: true,
import: 'subnet-hashId',
aliases: ['urn:pulumi:prod::aws-infra::awsx:ec2:Vpc$aws:ec2/vpc:Vpc$aws:ec2/subnet:Subnet::vpc-public-1'],
},
);