Skip to content

Commit

Permalink
create vpc only
Browse files Browse the repository at this point in the history
  • Loading branch information
italopessoa committed Aug 11, 2024
1 parent a7ddf66 commit e441d97
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 96 deletions.
80 changes: 0 additions & 80 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ module "vpc" {
name = "${var.eks_vpc_name}-vpc"
}

module "eks" {
source = "./modules/eks"
region = var.region
profile = var.profile
# module "eks" {
# source = "./modules/eks"
# region = var.region
# profile = var.profile

cluster_name = var.cluster_name
eks_vpc_id = module.vpc.vpc_id
private_subnets = module.vpc.private_subnets
}
# cluster_name = var.cluster_name
# eks_vpc_id = module.vpc.vpc_id
# private_subnets = module.vpc.private_subnets
# }

module "loadbalancer-controller" {
source = "./modules/loadbalancer-controller"
oidc_provider_arn = module.eks.oidc_provider_arn
app_name = "techchallenge-loadbalancer-controller"
cluster_name = module.eks.cluster_name
region = var.region
vpc_id = module.vpc.vpc_id
}
# module "loadbalancer-controller" {
# source = "./modules/loadbalancer-controller"
# oidc_provider_arn = module.eks.oidc_provider_arn
# app_name = "techchallenge-loadbalancer-controller"
# cluster_name = module.eks.cluster_name
# region = var.region
# vpc_id = module.vpc.vpc_id
# }

0 comments on commit e441d97

Please sign in to comment.