You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
the region is a terraform variable the user can set in terraform.tfvars (misnamed "availability_zone_name", should likely be changed to region for clarity), but if you switch something other than the default of us-east-1, that results in several errors similar to the below, because the azs are hardcoded to us-east-1x azs
│ Error: error creating EC2 Subnet: InvalidParameterValue: Value (us-east-1a) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: us-east-2a, us-east-2b, us-east-2c.
│ status code: 400, request id: f1c03dc3-e39b-49ab-8985-f3ff04673721
│
│ with module.vpc.aws_subnet.public[0],
│ on .terraform/modules/vpc/main.tf line 350, in resource "aws_subnet" "public":
│ 350: resource "aws_subnet" "public" {
│
To Reproduce
change the region to something other us-east-1 in terraform.tfvars and run terraform plan or apply
Expected behavior
rename availability_zone_name to region in terraform.tfvars, vars.tf and align in main.tf
add availability zones to vars.tf, terraform.tfvars or come up with an alternative to hard coding the values
Actual behavior
results in errors like:
│ Error: error creating EC2 Subnet: InvalidParameterValue: Value (us-east-1a) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: us-east-2a, us-east-2b, us-east-2c.
│ status code: 400, request id: f1c03dc3-e39b-49ab-8985-f3ff04673721
│
│ with module.vpc.aws_subnet.public[0],
│ on .terraform/modules/vpc/main.tf line 350, in resource "aws_subnet" "public":
│ 350: resource "aws_subnet" "public" {
│
The text was updated successfully, but these errors were encountered:
Or actually I think it was I thought it redundant to have to specify az by just us east , and then subnet in a diff var so I thought verbosity here made more sense
Describe the bug
the region is a terraform variable the user can set in terraform.tfvars (misnamed "availability_zone_name", should likely be changed to region for clarity), but if you switch something other than the default of us-east-1, that results in several errors similar to the below, because the azs are hardcoded to us-east-1x azs
graphistry-helm/terraform/aws/main.tf
Line 95 in 9a987b4
To Reproduce
change the region to something other us-east-1 in terraform.tfvars and run terraform plan or apply
Expected behavior
Actual behavior
results in errors like:
The text was updated successfully, but these errors were encountered: