LoginSignup
0
0

More than 3 years have passed since last update.

CloudFormationで、GetAZs で取得できるAZについて

Last updated at Posted at 2020-11-18

EC2-VPCでは、デフォルトのサブネットがあるアベイラビリティーゾーンのみを返します。 らしい。

EC2-VPC プラットフォームでは、Fn::GetAZs 関数はデフォルトのサブネットがあるアベイラビリティーゾーンのみを返します。デフォルトのサブネットがあるアベイラビリティーゾーンがない場合は、すべてのアベイラビリティーゾーンを返します。

先に デフォルトのサブネット を作っておくこと

aws ec2 create-default-subnet --availability-zone ap-northeast-1[a|c|d]

参考URL

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0