Closed aorfanos closed 3 years ago
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days
Can't remove the label, so comment it is
I believe this is an upstream bug, please open a provider issue.
Same issue, I don't think this is an upstream bug, if you set log_config_enable=true
, apply and set log_config_enable=false
, the module does not set the log_config
block anymore, and the provider assume it does not change, leading to a drift that cannot be fixed: there is not way to disable logging with this module once it's been enabled once.
The module should express the block, enabled or not.
Edit: Workaround: deleting and recreating the google_compute_router_nat
fixes the issue.
@lra That is an upstream issue. Removing the block entirely should be equivalent to disabling it. Feel free to open an issue here: https://github.com/hashicorp/terraform-provider-google
Relates to latest release, https://github.com/terraform-google-modules/terraform-google-cloud-nat/issues/35 and https://github.com/terraform-google-modules/terraform-google-cloud-nat/pull/24 .
I am using the following configuration:
The above always results in a '1 to change' for
log_config
: