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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南