private public add

This commit is contained in:
2023-01-10 09:29:59 +09:00
parent b325a26985
commit f0402956e2
17 changed files with 393 additions and 119 deletions

10
prod-hq-eks/.terraform.lock.hcl generated Normal file
View File

@ -0,0 +1,10 @@
# This file is maintained automatically by "terraform init".
# Manual edits may be lost in future updates.
provider "registry.terraform.io/hashicorp/aws" {
version = "3.76.1"
constraints = "~> 3.0"
hashes = [
"h1:UOk/iZppUGLh2zjmKJKKWCD6e79GsQokO2xfzOcKjxo=",
]
}

View File

@ -69,10 +69,10 @@ data "terraform_remote_state" "hq_vpc_id" {
backend = "remote"
config = {
organization = "22shop"
organization = "icurfer"
workspaces = {
name = "tf-22shop-network"
name = "tf-cloud-network"
}
}
}
@ -209,6 +209,7 @@ module "eks_node_group" {
max_size = local.node_group_scaling_config.max_size
min_size = local.node_group_scaling_config.min_size
depends_on = [
module.eks_nodegroup_iam,
module.eks_cluster,
@ -219,16 +220,15 @@ module "eks_node_group" {
# # for_each = local.tcp_port
# source = "../modules/sg-rule-add"
# type = "ingress"
# from_port = "8080"
# to_port = "8080"
# from_port = "2049"
# to_port = "2049"
# protocol = local.tcp_protocol
# cidr_blocks = local.all_ips
# security_group_id = module.eks_node_group.ng_sg
# tag_name = "test"
# tag_name = "ng_sg_sub"
# depends_on = [
# module.eks_node_group
# ]
# }