Skip to content

Commit

Permalink
subnets
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed Jul 30, 2024
1 parent d6219b0 commit 092d385
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ data "aws_subnets" "lb-subnets" {
}
}
locals {
container_subnets_name = var.subnets_name
lb_subnets_name = "*-private-lb-*"
base_arn = format("arn:%v:%%v:%v:%v:%%v:%%v", data.aws_arn.current.partition, data.aws_region.current.name, data.aws_caller_identity.current.account_id)
iam_arn = format("arn:%v:iam::%v:%%v", data.aws_arn.current.partition, data.aws_caller_identity.current.account_id)
common_arn = format("arn:%v:%%v:%v:%v:%%v",
Expand Down
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ variable "subnets_name" {
default = "*-container-*"
}

variable "lb_subnets_name" {
description = "Define the name of the subnets to be used by this cluster"
type = string
default = "*-container-*"
}

variable "vpc_domain_name" {
description = "The DNS domain name of the vpc the cluster is in."
type = string
Expand Down

0 comments on commit 092d385

Please sign in to comment.