-
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DeletionProtectionEnabled to Redis Cluster #10367
Merged
NickElliot
merged 17 commits into
GoogleCloudPlatform:FEATURE-BRANCH-major-release-6.0.0
from
Harshita1603:main
Aug 16, 2024
Merged
Changes from 4 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
5a186d8
Add DeletionProtectionEnabled to Redis Cluster
Harshita1603 ca7fceb
Add a new line character at the end of Cluster.yaml
Harshita1603 3b16d68
Merge branch 'GoogleCloudPlatform:main' into main
Harshita1603 0dba36e
set deletion protection to false before resource cleanup
Harshita1603 c5716aa
Modify failing tests
Harshita1603 1fa2878
Modify field description
Harshita1603 7cdb5b6
Merge branch 'main' into main
Harshita1603 4ec46dc
Resolve Lint errors
Harshita1603 b241432
Add missing character ','
Harshita1603 3ebe74f
Modify deletionProtectionEnabled field in createOrUpdateRedisCluster
Harshita1603 e51aa3d
Merge branch 'FEATURE-BRANCH-major-release-6.0.0' into main
NickElliot c9cbb8c
Update resource_redis_cluster_test.go.erb
NickElliot e23623e
Update resource_redis_cluster_test.go.erb
NickElliot 743b721
Update resource_redis_cluster_test.go.erb
NickElliot 95a4c6c
Update redis_cluster_ha_single_zone.tf.erb
NickElliot 36d0020
Update Cluster.yaml
NickElliot a72c0e1
Apply suggestions from code review
NickElliot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this might be a better fit for
default_from_api
if this is also a server-side default -- if this config was manually overridden for a pre-existing resource by a user via cloud console or pantheon, adding a field with a default value could potentially introduce a breaking change for users' configs (i.e. it potentially planning to dofalse -> true
for users who don't manually adddeletion_protection_enabled = false
to their config)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @NickElliot , it is not the default value. The server-side default is false. It will also not be backward compatible for existing terraform plans. Is my understanding correct?