hashicorp / terraform-provider-google

Terraform Provider for Google Cloud Platform
https://registry.terraform.io/providers/hashicorp/google/latest/docs
Mozilla Public License 2.0
2.29k stars 1.72k forks source link

Budget amount not updating when calling google_billing_budget #9422

Closed jdub55 closed 3 years ago

jdub55 commented 3 years ago

Community Note

Terraform Version

Initializing provider plugins...

Terraform Configuration Files

# Copy-paste your Terraform configurations here.
#
# For large Terraform configs, please use a service like Dropbox and share a link to the ZIP file.
# For security, you can also encrypt the files using our GPG public key:
#    https://www.hashicorp.com/security
#
# If reproducing the bug involves modifying the config file (e.g., apply a config,
# change a value, apply the config again, see the bug), then please include both:
# * the version of the config before the change, and
# * the version of the config after the change.

Debug Output

Panic Output

Expected Behavior

Budget amount should be updated

Actual Behavior

Budget amount is not updated

Steps to Reproduce

update amount of existing google_billing_account resource

  1. terraform apply - successfully reports the change ~ amount { last_period_amount = false ~ specified_amount { currency_code = "USD" nanos = 0 ~ units = "2" -> "5" } }
  2. terraform apply - successful reports change Apply complete! Resources: 0 added, 1 changed, 0 destroyed. When validated in console or gcloud can confirm that the amount is not changed.

Important Factoids

References

edwardmedia commented 3 years ago

@jdub55 can you share your config and debug log?

jdub55 commented 3 years ago

This looks look to be an internal API error that Google Support and Engineering are reviewing. Closing out the case as it's likely no change to Terraform are needed to address this issue.

github-actions[bot] commented 3 years ago

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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.