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
preguntada hace 2 años463 visualizaciones
2 Respuestas
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
EXPERTO
Matt-B
respondido hace 2 años
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas