테라폼 환경 수정

This commit is contained in:
2022-12-31 17:52:18 +09:00
parent 2281b27e7a
commit 7f4d9b1104
34 changed files with 732 additions and 102 deletions

View File

@ -10,6 +10,7 @@ resource "aws_subnet" "subnets" {
tags = {
Name = var.vpc_name
"kubernetes.io/role/elb" = 1
# Name = module.vpc_hq.vpcHq.id
}
}

View File

@ -1,10 +0,0 @@
terraform {
backend "remote"{
hostname = "app.terraform.io"
organization = "22shop"
workspaces {
name = "tf-cloud-backend"
}
}
}

View File

@ -7,7 +7,6 @@ variable "vpc_name" {
description = "set vpc name"
type = string
}
// reference | https://github.com/davidcsi/terraform/blob/master/healthchecks/main.tf
variable "subnet-az-list" {
description = "Subnet available zone & cidr"