You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A possibly unneeded/unused resource is created when calling the module and it's the only one created as part of that module call (enabled = false because defaults are used for parameters that affect enabled value)
Resource:
$ terraform state show ...resource"null_resource""module_depends_on" {
id="4730592283587992509"triggers={
"value"="2"
}
}
Apparently, it is the only resource that doesn't use enabled module option, therefore it gets created even if enabled is false and occasionally shows changes when the nodepools are added/removed.
Expected behavior
The resource should also use enabled flag to avoid creation (module options that affect enabled are on defaults so in my case enabled = false)
TL;DR
A possibly unneeded/unused resource is created when calling the module and it's the only one created as part of that module call (
enabled = false
because defaults are used for parameters that affectenabled
value)Resource:
The code that creates the resource is here and it gets called when module gcloud_delete_default_kube_dns_configmap is called.
Apparently, it is the only resource that doesn't use
enabled
module option, therefore it gets created even ifenabled
isfalse
and occasionally shows changes when the nodepools are added/removed.Expected behavior
The resource should also use
enabled
flag to avoid creation (module options that affectenabled
are on defaults so in my caseenabled = false
)Observed behavior
The only resource that is created as part of the submodule call and it has no effect alone.
Terraform Configuration
Terraform Version
Additional information
No response
The text was updated successfully, but these errors were encountered: