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

Firestore: Mark identifier fields as immutable. #7791

Conversation

modular-magician
Copy link
Collaborator

This has the side effect that changing any of these fields will trigger the resource to be deleted and re-created, rather than executing a failed update.

Fixes hashicorp/terraform-provider-google#12897.

Release Note Template for Downstream PRs (will be copied)

firestore: fixes bug where fields database, collection, document_id, and field on resources could not be updated. 

Derived from GoogleCloudPlatform/magic-modules#11174

[upstream:0ed911c6f2744cb4cfeba8c7a5768ea46befa8ca]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit eb6fb2a into hashicorp:main Jul 23, 2024
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-0ed911c6f2744cb4cfeba8c7a5768ea46befa8ca branch November 16, 2024 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

google_firestore_document resource - updating collection/document_id doesn't apply change
1 participant