-
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
google_cloudfunctions_function terraform changes in every plan #18017
Comments
Same issue |
Same issue for us,
on every apply... |
At the risk of adding a me-too comment: we are also seeing this, but with an interesting wrinkle. We have multiple GCP projects in play here, and the same terraform plan produces the spurious diffs but only in one of the projects. |
as a workaround, but not ideal in some cases. You can add a lifecycle policy to prevent these to appear in your plan
use it careful as it ignores changes in source and object |
Multiple users are experiencing the same issue, and due to all the permissions and configurations that this ticket involves I'm forwarding it directly |
@ggtisc Any updates on this? |
this should have been fixed for a while |
Community Note
Terraform Version & Provider Version(s)
Terraform v1.2.7
on
Affected Resource(s)
google_cloudfunctions_function
Terraform Configuration
Debug Output
No response
Expected Behavior
No changes were detected in the terraform plan as your configuration matches the infrastructure.
Actual Behavior
There are changes detected in
source_archive_bucket
andsource_archive_object
and terraform is trying to set them to null. These values were never being set from our configuration.As for the retry being set to false in the failure_policy block, I have had this as
false
for a long time and nothing has changed around thisUpon applying these changes the apply fails with an error.
Steps to reproduce
Create a google_cloud_function without specifying
source_archive_bucket
ORsource_archive_object
Important Factoids
This has been happening since 1st of May, 2024.
References
No response
b/340347166
The text was updated successfully, but these errors were encountered: