We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 727917a commit ad7561fCopy full SHA for ad7561f
terraform/modules/k8s-addons/eks-fargate-app.tf
@@ -92,7 +92,6 @@ metadata:
92
namespace: ${local.fargate_app.namespace}
93
annotations:
94
kubernetes.io/ingress.class: nginx
95
- nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
96
spec:
97
rules:
98
- host: ${local.fargate_app.domain_name}
@@ -105,10 +104,6 @@ spec:
105
104
number: 8081
106
path: /
107
pathType: Prefix
108
- tls:
109
- - hosts:
110
- - ${local.fargate_app.domain_name}
111
-
112
EOF
113
114
depends_on = [
@@ -117,3 +112,8 @@ EOF
117
helm_release.ingress_nginx
118
]
119
}
115
+
116
+output "fargate_app_domain_name" {
+ value = local.fargate_app.enabled ? local.fargate_app.domain_name : null
+ description = "Fargate app domain name"
+}
0 commit comments