Skip to content
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_spanner_instance processing_units update fails #9947

Closed
adamallred opened this issue Aug 31, 2021 · 3 comments
Closed

google_spanner_instance processing_units update fails #9947

adamallred opened this issue Aug 31, 2021 · 3 comments
Assignees
Labels

Comments

@adamallred
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment or link the pull request to this issue.

Terraform Version

Terraform v0.12.31

  • provider.google v3.81.0
  • provider.google-beta v3.81.0

Affected Resource(s)

google_spanner_instance

Terraform Configuration Files (if applicable)

resource "google_spanner_instance" "spanner" {
  name                = "test-spanner"
  config              = "regional-us-east1"
  display_name        = "test-spanner"
  processing_units    = 3000
}

Issue Description

After making a spanner instance using processing_units, attempting to update the value leads to a field error when applying:

Error: Error updating Instance "test-spanner/test-spanner": googleapi: Error 400: Invalid UpdateInstance request.
Details:
[
  {
    "@type": "type.googleapis.com/google.rpc.BadRequest",
    "fieldViolations": [
      {
        "description": "Must specify a non-empty field mask.",
        "field": "field_mask"
      }
    ]
  }
]

I would expect to be able to modify this value.

Important Factoids

References

@edwardmedia edwardmedia self-assigned this Aug 31, 2021
@edwardmedia
Copy link
Contributor

@adamallred dup with #9908 and it has been fixed 5 days ago with PR GoogleCloudPlatform/magic-modules#5147. Wait for next release.

@adamallred
Copy link
Author

Wow, I totally missed that. Closing this.

@github-actions
Copy link

github-actions bot commented Oct 1, 2021

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants