-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
google_storage_bucket.website
deletion results in permadiff
#12870
google_storage_bucket.website
deletion results in permadiff
#12870
Comments
@Akaame I don't think the api supports this. Once you have enabled the website, the api accepts updates with new values, but not empty. Let me know if you can achieve below behavior using other methods.
Yes, showing permdiff is a bug. Before I have a fix for that, I want to make sure above |
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870 Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp#12870 Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870 Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]> Fixes #12870 Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870 Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870 Signed-off-by: Modular Magician <[email protected]> Signed-off-by: Modular Magician <[email protected]>
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870
Co-authored-by: Edward Sun <[email protected]> Fixes hashicorp/terraform-provider-google#12870
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
modular-magician
user, it is either in the process of being autogenerated, or is planned to be autogenerated soon. If an issue is assigned to a user, that user is claiming responsibility for the issue. If an issue is assigned tohashibot
, a community member has claimed the issue already.Terraform Version
Affected Resource(s)
google_storage_bucket.website
Terraform Configuration Files
Expected Behavior
Deletion of website block should have caused bucket's website configuration subfields to be empty values.
Actual Behavior
Website block deletion is respected in
.tfstate
but not applied to the actual resource (old values still visible on UI) resulting in a permadiff.Steps to Reproduce
terraform apply
terraform apply
again.The text was updated successfully, but these errors were encountered: