From 6baceaf663b20751a97dfad61c9513d09d9593cd Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Thu, 13 Feb 2025 13:20:23 -0500 Subject: [PATCH 1/2] add namespace as output --- README.md | 9 +++++---- outputs.tf | 5 +++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cf7fde0..79d81de 100644 --- a/README.md +++ b/README.md @@ -87,9 +87,9 @@ have a istio proxy configured, prevent communication with that pod.) | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.73.0 | -| [helm](#provider\_helm) | 2.16.1 | -| [kubernetes](#provider\_kubernetes) | 2.33.0 | +| [aws](#provider\_aws) | 5.86.1 | +| [helm](#provider\_helm) | 2.17.0 | +| [kubernetes](#provider\_kubernetes) | 2.35.1 | ## Modules @@ -116,7 +116,7 @@ have a istio proxy configured, prevent communication with that pod.) | [cluster\_name](#input\_cluster\_name) | The name of the cluster into which istio will be installed. | `string` | n/a | yes | | [enable\_egress\_gateway](#input\_enable\_egress\_gateway) | Enable Istio to control outbound traffic from the cluster. | `bool` | `true` | no | | [enable\_telemetry](#input\_enable\_telemetry) | Enable Istio's stracing, monitoring, and logging features. | `string` | `"true"` | no | -| [extra\_listener\_ports](#input\_extra\_listener\_ports) | A list of additional ports that the ingress load balancer should listen to, 9094 for kafka as an example. |
list(object({
name = string
port = string
}))
| `[]` | no | +| [extra\_listener\_ports](#input\_extra\_listener\_ports) | A list of additional ports that the ingress load balancer should listen to, 9094 for kafka as an example. |
list(object({
name = string
port = string
}))
| `[]` | no | | [istio\_chart\_version](#input\_istio\_chart\_version) | The version of istio to install into the cluster. | `string` | `"1.22.3"` | no | | [istio\_version](#input\_istio\_version) | The version of istio to install into the cluster. | `string` | `"1.22.3"` | no | | [kubernetes\_service\_apiserver](#input\_kubernetes\_service\_apiserver) | Use to exclude internal API service traffic from the service mesh; it should not change but could be necessary to lookup | `string` | `"172.20.0.1"` | no | @@ -132,4 +132,5 @@ have a istio proxy configured, prevent communication with that pod.) | [istio\_ingress\_lb](#output\_istio\_ingress\_lb) | The istio ingress load balancer dns\_name and zone\_id. | | [module\_name](#output\_module\_name) | The name of this module. | | [module\_version](#output\_module\_version) | The version of this module. | +| [namespace](#output\_namespace) | The namespace in which istio gets installed in. | diff --git a/outputs.tf b/outputs.tf index db559ad..deb736c 100644 --- a/outputs.tf +++ b/outputs.tf @@ -12,6 +12,11 @@ output "module_version" { value = local.module_version } +output "namespace" { + description = "The namespace in which istio gets installed in." + value = kubernetes_namespace.ns.metadata[0].name +} + output "istio_ingress_lb" { description = "The istio ingress load balancer dns_name and zone_id." value = { From cdbe74fa29ae9dca1d833bfbf0c8f4735c1e6d57 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Mon, 24 Feb 2025 17:24:30 -0500 Subject: [PATCH 2/2] update pre-commit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f451b69..2675093 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -49,7 +49,7 @@ repos: # Terraform Hooks - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.96.1 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases + rev: v1.97.3 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases hooks: - id: terraform_fmt args: