What are the AWS::EC2::AvailabilityZone::Name Values?

0

I am trying to deploy a vendor (Cisco) appliance using the vendor-supplied CF template via Terraform.

The CF template has a parameter "pAvailabilityZone" that uses AWS::EC2::AvailabilityZone::Name to present an AZ dropdown.

In my terraform plan I am supplying that parameter the value "us-west-1a"

The stack is for sure in the right region, I can see the stack start to get created in US West 1 (N. California), but it bombs out and says ""Parameter validation failed: parameter value us-west-1a for parameter name pAvailabilityZone does not exist. Rollback requested by user."

I've tried a few variations of the az like "us-west-1-a" but I get the same error. Any ideas?

Thanks!

AJCruz
已提问 2 年前465 查看次数
2 回答
0

Not sure if this is what you are referring to but are there any other parameters in the CloudFormation template? That one looks like it asks for aws_region as a parameter.

What about your Terraform provider setup? Are you specifying the region there?

# Configure the AWS Provider
provider "aws" {
  region = "us-west-1"
}
profile pictureAWS
专家
Matt-B
已回答 2 年前
0

Ugh, I coulda swore the US West 1 Region AZ options were 1a & 1c, but I noticed in the CF dropdown the only options are 1b & 1c.

Problem fixed using "us-west-1b" instead of 1a ><

AJCruz
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则