繁体   English   中英

使用 Cloudformation 创建默认 VPC

[英]Create default VPC with Cloudformation

使用 AWS cli,创建默认 VPC 非常简单:

aws ec2 create-default-vpc

我如何对 cloudformation 做同样的事情?

没有自定义资源是不可能的。 因此,您必须以 lambda function 的形式创建此类资源。function 将使用 AWS SDK(例如 boto3)创建默认 VPC。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM