参考
- issue: Terraform plan panic #7103
- document INPUT VARIABLES
variables.tf
variable "vpc" {
default = {
cidr_block = "10.30.0.0/16"
}
}
before
resource "aws_vpc" "main" {
cidr_block = "${var.vpc.cidr_block}"
}
after
resource "aws_vpc" "main" {
cidr_block = "${lookup(var.vpc, "cidr_block")}"
}
こんな感じで書き直してた。みんな知ってた?