-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Missing update_mask
field in google_memorystore_instance
resource
#20101
Comments
Hi @Desolar1um! I'm trying to replicate this issue but I'm not getting any errors. Because I do not have access to the variables you are using, this was the code I used:
Please check it and confirm if it works, I added all necessary resources to use a If after trying again with these configurations you still have issues please share with us your complete code with the values of the variables and locals you are using to make a new try. You don't need to share sensitive information, for this situations you could use examples like:
|
Hi @ggtisc , thanks for taking the time to look at this! I don't have problems creating instances, this error occurs when I try to update an instance. Please try decreasing the number of shards/replicas on your instance and let me know if it works. |
Confirmed issue! When trying to update labels it returns the following error:
And when trying to decrease the shard_count from 3 to 2 or 1 it returns the following error:
|
Valkey instance update has a restriction that only one field can be updated at a time. The above error indicates that >1 was changed in one go.
Low shard counts have certain limitation today, please follow: |
I cannot update even 1 field at once. Attempted to reduce only replicas from 1 to 0 and go the same error
|
Community Note
Terraform Version & Provider Version(s)
Terraform v1.8.5
Affected Resource(s)
google_memorystore_instance
Terraform Configuration
Debug Output
Expected Behavior
My Valkey cluster should've been decreased from 3 shards 1 replica to 1 shard 0 replicas
Actual Behavior
Steps to reproduce
google_memorystore_instance
google_memorystore_instance
resource withterraform apply
Important Factoids
No response
References
No response
b/378145653
The text was updated successfully, but these errors were encountered: