Skip to content

Commit a8f82fd

Browse files
benjaminvalienteBenjamin Valiente (Contractor)github-actions[bot]
authored
fix: lb controller depends on (#277)
* fix: lb controller depends on * terraform-docs: automated action --------- Co-authored-by: Benjamin Valiente (Contractor) <benjamin.valiente@thoughtbot.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent c97ad6d commit a8f82fd

5 files changed

Lines changed: 20 additions & 1 deletion

File tree

‎aws/platform/main.tf‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,10 @@ module "aws_load_balancer_controller" {
8484
vpc_cidr_block = module.network.vpc.cidr_block
8585
vpc_id = module.network.vpc.id
8686

87-
depends_on = [module.common_platform]
87+
depends_on = [
88+
module.common_platform.flightdeck_namespace,
89+
module.common_platform.istio_ingress,
90+
]
8891
}
8992

9093
module "cluster_name" {

‎platform/README.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,5 @@ practices.
117117
| Name | Description |
118118
|------|-------------|
119119
| <a name="output_flightdeck_namespace"></a> [flightdeck\_namespace](#output\_flightdeck\_namespace) | Kubernetes namespace created for Flightdeck |
120+
| <a name="output_istio_ingress"></a> [istio\_ingress](#output\_istio\_ingress) | Helm release ID for istio-ingress |
120121
<!-- END_TF_DOCS -->

‎platform/modules/istio-ingress/README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,10 @@
2828
| <a name="input_chart_version"></a> [chart\_version](#input\_chart\_version) | Version of chart to install | `string` | `null` | no |
2929
| <a name="input_k8s_namespace"></a> [k8s\_namespace](#input\_k8s\_namespace) | Kubernetes namespace in which the gateway should be installed | `string` | n/a | yes |
3030
| <a name="input_name"></a> [name](#input\_name) | Name of this Helm release | `string` | `"istio-ingress"` | no |
31+
32+
## Outputs
33+
34+
| Name | Description |
35+
|------|-------------|
36+
| <a name="output_id"></a> [id](#output\_id) | Helm release ID for istio-ingress |
3137
<!-- END_TF_DOCS -->
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
output "id" {
2+
description = "Helm release ID for istio-ingress"
3+
value = helm_release.this.id
4+
}

‎platform/outputs.tf‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@ output "flightdeck_namespace" {
22
description = "Kubernetes namespace created for Flightdeck"
33
value = kubernetes_namespace.flightdeck.metadata[0].name
44
}
5+
6+
output "istio_ingress" {
7+
description = "Helm release ID for istio-ingress"
8+
value = module.istio_ingress.id
9+
}

0 commit comments

Comments
 (0)