Opening VpcDetails, on the web console, and clicking on my VPC , I can see my VPC and the only subnet I created.
But they are not linked toghether as usual.
I mean: there is a link between subnet and route table and between route table and internet gateway
I expect there is a link between vpc and subnet.
What I am missing?
My Vpc is
10.0.0.0/16
2a05:d01a:344:4900::/56
My Subnet is
10.0.1.0/24
2a05:d01a:344:4900::/64
This into the template
VPC:
Type: AWS::EC2::VPC
Properties:
CidrBlock: 10.0.0.0/16
EnableDnsSupport: true
EnableDnsHostnames: true
Tags:
- Key: Name
Value: VPC
PublicIpv6SubnetA:
Type: AWS::EC2::Subnet
Properties:
# CidrBlock: 10.0.1.0/24
# ogni interfaccia di rete creata in questa subnet riceverà un ipv6
AssignIpv6AddressOnCreation: true
Ipv6Native: true
Ipv6CidrBlock: !Sub
- ${VpcPart}${SubnetPart}
- SubnetPart: 00::/64
VpcPart: !Select
- 0
- !Split
- 00::/56
- !Select
- 0
- !GetAtt VPC.Ipv6CidrBlocks
AvailabilityZone: !Select
- 0
- !GetAZs ""
VpcId: !Ref VPC
# questa voce non si sa se erva
# EnableDns64: true
Tags:
- Key: Name
Value: Public IPV6 Subnet A