private public add
This commit is contained in:
10
prod-hq-eks/.terraform.lock.hcl
generated
Normal file
10
prod-hq-eks/.terraform.lock.hcl
generated
Normal 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=",
|
||||
]
|
||||
}
|
@ -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
|
||||
# ]
|
||||
|
||||
# }
|
||||
|
Reference in New Issue
Block a user