File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,43 +147,6 @@ module "eks" {
147147 }
148148}
149149
150- # module "vpc_cni_irsa" {
151- # source = "terraform-aws-modules/iam/aws//modules/iam-role-for-service-accounts-eks"
152- # version = "~> 4.12"
153-
154- # role_name_prefix = "VPC-CNI-IRSA"
155- # attach_vpc_cni_policy = true
156- # vpc_cni_enable_ipv6 = true
157-
158- # oidc_providers = {
159- # main = {
160- # provider_arn = module.eks.oidc_provider_arn
161- # namespace_service_accounts = ["kube-system:aws-node"]
162- # }
163- # }
164-
165- # tags = local.tags
166- # }
167-
168-
169- # Expose the cluster to internet via custom domain
170-
171- import {
172- to = aws_route53_zone. demo_domain
173- id = " Z01905343OT8D9ZSW46CJ"
174- }
175-
176- resource "aws_route53_zone" "demo_domain" {
177- name = var. root_domain_name
178- comment = " Please contact eddie.webbinaro@akuity.io with questions"
179- tags = {
180- " Owner" = var.common_tags.owner
181- }
182- lifecycle {
183- prevent_destroy = true
184- }
185- }
186-
187150resource "helm_release" "nginx_ingress" {
188151 name = " ingress-nginx"
189152 repository = " https://kubernetes.github.io/ingress-nginx"
@@ -201,7 +164,7 @@ resource "aws_route53_record" "records" {
201164 " *."
202165 ])
203166
204- zone_id = aws_route53_zone . demo_domain . id
167+ zone_id = var . root_domain_zone_id
205168 name = each. key
206169 type = " CNAME"
207170 ttl = 5
Original file line number Diff line number Diff line change @@ -23,10 +23,11 @@ variable "primary_cluser_node_type" {
2323 default = " t3.large"
2424}
2525
26- variable "root_domain_name" {
27- default = " demoapps.akuity.io"
28- }
29-
3026variable "ingress_namespace" {
3127 default = " ingress-nginx"
3228}
29+
30+ variable "root_domain_zone_id" {
31+ default = " Z06080061D8PFBX2D8WN4"
32+ description = " akpdemoapps.link"
33+ }
You can’t perform that action at this time.
0 commit comments