-
Notifications
You must be signed in to change notification settings - Fork 988
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kubernetes_manifest applies null resources #2427
Comments
I am having the same problem when provisioning Openshift Subscriptions. My Terraform object variable looks like this:
Terraform apply shows:
After applying the Subscription it looks like this, which results in an error from the operator:
|
Hi @rwe-dtroup, what is the intended behavior of the |
No, if the value is null it should not be applying that attribute. TBH, I've moved away from this resource as not being able to use this when the cluster is not already built makes life more problematic than it needs to be. |
Terraform version, Kubernetes provider version and Kubernetes version
Terraform configuration
Question
When using the kubernetes_manifest resource, the snapshotID is always passed as a null resource, this is not recorded in the manifest in the cluster and is not stored in the statefile so this is seen as a change every time terraform runs. Is it possible to not pass this option at all if it's null?
The text was updated successfully, but these errors were encountered: