We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
availability_zone is a variable in the module but is missing in the subnet resource.
availability_zone
resource "aws_subnet" "subnet" { cidr_block = "${var.cidr_block}" vpc_id = "${var.vpc_id}" map_public_ip_on_launch = "${var.map_public_ip_on_launch}" tags { Name = "${var.environment}_${var.purpose}_subnet_azone_${var.availability_zone}" Type = "${var.purpose}" Environment = "${var.environment}" } }
should be
resource "aws_subnet" "subnet" { cidr_block = "${var.cidr_block}" vpc_id = "${var.vpc_id}" availability_zone = "${var.availability_zone}" map_public_ip_on_launch = "${var.map_public_ip_on_launch}" tags { Name = "${var.environment}_${var.purpose}_subnet_azone_${var.availability_zone}" Type = "${var.purpose}" Environment = "${var.environment}" } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
availability_zone
is a variable in the module but is missing in the subnet resource.should be
The text was updated successfully, but these errors were encountered: