테라폼 설정파일테스트

This commit is contained in:
2022-12-28 14:24:56 +09:00
parent 72fb5351b6
commit 51d2505a1f
7 changed files with 26 additions and 5 deletions

View File

@ -6,7 +6,7 @@ resource "aws_subnet" "subnets" {
availability_zone = each.value.name
cidr_block = each.value.cidr
map_public_ip_on_launch = var.public_ip_on
map_public_ip_on_launch = var.public_ip_on ? true : false
tags = {
Name = var.vpc_name