【以下的问题经过翻译处理】 根据CloudFormation文档,我了解到在创建VPC时可以使用IPAM:https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpc.html
Type: AWS::EC2::VPC
Properties:
CidrBlock: String
EnableDnsHostnames: Boolean
EnableDnsSupport: Boolean
InstanceTenancy: String
Ipv4IpamPoolId: String
Ipv4NetmaskLength: Integer
Tags:
- Tag
然而,当我使用Ipv4IpamPoolId和Ipv4NetmaskLength时出现了以下错误
Properties validation failed for resource VPC with message: #: extraneous key [Ipv4IpamPoolId] is not permitted #: extraneous key [Ipv4NetmaskLength] is not permitted
文档中还提到CidrBlock是必填参数,但没有明确说明如何与IPAM配合使用。或者应该是CidrBlock或Ipv4IpamPoolId + Ipv4NetmaskLength之一?
是否有人遇到过相同的问题?是否有解决方案或解决方法?