-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
TL;DR
I'm using GKE Terraform module https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/main/modules/beta-private-cluster/cluster.tf#L104
When I try to disable GKE logging by passing logging_enabled_components as [] & logging_config as "none", no changes are observed & logging doesn't gets turned off, however if I tweak this with other values for logging_enabled_components attribute as defined in https://github.com/terraform-google-modules/terraform-google-kubernetes-engine/blob/main/modules/beta-private-cluster/variables.tf#L948
those are accepted & changes can be observed, however, it's not accepting default value which is [], thinking it's a bug?
Expected behavior
Logging should be turned off when logging_enabled_components is passed as []
Observed behavior
No changes observed
Terraform Configuration
- Installed hashicorp/template v2.2.0 (unauthenticated)
- Installing microsoft/azuredevops v1.10.0...
- Installed microsoft/azuredevops v1.10.0 (unauthenticated)
- Installing hashicorp/external v2.3.5...
- Installed hashicorp/external v2.3.5 (unauthenticated)
- Installing hashicorp/helm v2.17.0...
- Installed hashicorp/helm v2.17.0 (unauthenticated)
- Installing hashicorp/google v6.50.0...
- Installed hashicorp/google v6.50.0 (unauthenticated)
- Installing hashicorp/tls v4.0.6...
- Installed hashicorp/tls v4.0.6 (unauthenticated)
- Installing hashicorp/google-beta v6.50.0...
- Installed hashicorp/google-beta v6.50.0 (unauthenticated)Terraform Version
"terraform_version": "1.12.2"Terraform Provider Versions
- Installed hashicorp/template v2.2.0 (unauthenticated)
- Installing microsoft/azuredevops v1.10.0...
- Installed microsoft/azuredevops v1.10.0 (unauthenticated)
- Installing hashicorp/external v2.3.5...
- Installed hashicorp/external v2.3.5 (unauthenticated)
- Installing hashicorp/helm v2.17.0...
- Installed hashicorp/helm v2.17.0 (unauthenticated)
- Installing hashicorp/google v6.50.0...
- Installed hashicorp/google v6.50.0 (unauthenticated)
- Installing hashicorp/tls v4.0.6...
- Installed hashicorp/tls v4.0.6 (unauthenticated)
- Installing hashicorp/google-beta v6.50.0...
- Installed hashicorp/google-beta v6.50.0 (unauthenticated)Additional information
No response