-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat: Support pinned_fcv
attribute in advanced_cluster resource and data sources
#2789
Merged
Merged
Changes from 14 commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
e00992c
wip
AgustinBettati c0cbaa8
support pinning with and without expiration date
AgustinBettati 6806b52
add support for unpinning on update
AgustinBettati c425e7a
commented code for handling validation
AgustinBettati 7057ea8
make expiration date required
AgustinBettati c0d19f6
add waiting before continueing with other updates
AgustinBettati d14fb6b
handle fcv during creation
AgustinBettati f2d73a0
add support for singular data source
AgustinBettati 0ff324a
add in plural data source
AgustinBettati e02cd81
add changelog entry
AgustinBettati 9281b82
add in cluster tpf schema
AgustinBettati 80e1433
include docs for fcv
AgustinBettati 5a6ef9a
adding warning to provide reduce possibility of re-applying fcv
AgustinBettati 499f0fb
adding acceptance test
AgustinBettati 8eea20a
adjust changelog entry file
AgustinBettati 6e4e871
specify date format in docs
AgustinBettati 45a1118
add step to verify incorrect format
AgustinBettati cbca7ad
Merge remote-tracking branch 'origin/master' into CLOUDP-283044
AgustinBettati 7aeb017
add skipping in advanced_cluster tpf
AgustinBettati a5f16cc
add tpf limited implementation
AgustinBettati aacc4a9
adjust test and fix in plural data source to capture upgrade and down…
AgustinBettati ddea4c8
Merge remote-tracking branch 'origin/master' into CLOUDP-283044
AgustinBettati edf7780
handle warning when expiration date has passed
AgustinBettati 2343474
add knowledge hub article reference
AgustinBettati 3ca9938
adding example
AgustinBettati 7576396
fix example formatting
AgustinBettati a044607
add changelog for mongo_db_major_version fix
AgustinBettati 71010a5
applying doc review changes
AgustinBettati efce54f
Merge remote-tracking branch 'origin/master' into CLOUDP-283044
AgustinBettati 5e9a526
adding link to new docs page
AgustinBettati 0edf394
applying doc review changes
AgustinBettati 7abdb5f
pr review comments
AgustinBettati 5959d00
extract checks into unified function
AgustinBettati 35ac611
minor refactors
AgustinBettati 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
```release-note:enhancement | ||
resource/mongodbatlas_advanced_cluster: Adds `pinned_fcv` attribute | ||
``` | ||
|
||
```release-note:enhancement | ||
data-source/mongodbatlas_advanced_cluster: Adds `pinned_fcv` attribute | ||
``` | ||
|
||
```release-note:enhancement | ||
data-source/mongodbatlas_advanced_clusters: Adds `pinned_fcv` attribute | ||
``` |
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
TimePtrToStringPtr might return nil so * will panic, better to check, or create a TimePtrToString func or similar
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.
There is an if just above that ensure FeatureCompatibilityVersionExpirationDate will not be nil. Modified this statement to use TimeToString directly 👍