private public add
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
output "ng_sg" {
|
||||
description = "Identifier of the remote access EC2 Security Group."
|
||||
value = "${aws_eks_node_group.eks-ng.resources[0].remote_access_security_group_id}"
|
||||
|
||||
}
|
||||
description = "Identifier of the remote access EC2 Security Group."
|
||||
value = aws_eks_node_group.eks-ng.resources
|
||||
|
||||
}
|
||||
|
@ -3,7 +3,12 @@ variable "name" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "name" {
|
||||
variable "public" {
|
||||
description = "route53 name"
|
||||
type = bool
|
||||
}
|
||||
|
||||
variable "vpc_id" {
|
||||
description = "vpc_id"
|
||||
type = string
|
||||
}
|
@ -10,7 +10,7 @@ resource "aws_subnet" "subnets" {
|
||||
|
||||
tags = {
|
||||
Name = var.vpc_name
|
||||
"kubernetes.io/role/elb" = 1
|
||||
"kubernetes.io/role/elb" = "${var.k8s_ingress ? 1 : 0}"
|
||||
# Name = module.vpc_hq.vpcHq.id
|
||||
}
|
||||
}
|
@ -33,4 +33,8 @@ variable "subnet-az-list" {
|
||||
|
||||
variable "public_ip_on" {
|
||||
type = bool
|
||||
}
|
||||
|
||||
variable "k8s_ingress" {
|
||||
type = bool
|
||||
}
|
Reference in New Issue
Block a user