-
Notifications
You must be signed in to change notification settings - Fork 116
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
Deprecating number in favour of numeric #258
Merged
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
b1d820b
Deprecating number in favour of numeric
bendbennett 15c6e3b
Switching to using a state upgrader for deprecation of number attribute
bendbennett 71b3e9d
Using HasChange to detect whether attribute value has been altered
bendbennett bccd2c7
Using CustomizeDiff to keep number and numeric in-sync
bendbennett b35d514
Examine raw config to determine whether number and numeric have been set
bendbennett 194e8bd
Extend CustomizeDiff to set number and numeric to true when both are …
bendbennett 33f8878
Renaming misspelled test file
bendbennett dc2b121
Adding test for state upgrade v1
bendbennett af7fa64
Adding test for updating number and numeric
bendbennett 28ed88c
Adding CustomizeDiff and tests for state upgrade and customize diff
bendbennett 318fc7c
Fix import state func tests
bendbennett 3cc6aaa
DRY-up func for adding number to state during resource state upgrade …
bendbennett 8530696
DRY-up funcs for customize diff
bendbennett 333d4d4
Removing unnecessary func args for state upgrader
bendbennett bc50035
Updating docs to deprecate number and add numeric
bendbennett dd28e5b
Rewording error messages
bendbennett 5edfc96
Adding docs to provide context to the usage of customize diff funcs
bendbennett d65b4d3
Updating CHANGELOG.md
bendbennett 8d66210
Setting the CHANGELOG as unreleased
bendbennett f45ca85
Temporarily using sdk/v2 sha to use ExternalProviders in TestStep
bendbennett 2f596d5
Adding test to verify state upgrades by using ExternalProviders withi…
bendbennett 102133a
Bumping SDK version to use ExternalProviders in TestStep fix and addi…
bendbennett 80f5843
Adding test cases to verify random password state upgrade behaviour f…
bendbennett 121e1d2
Consolidating V0 to V2 state upgrade tests
bendbennett 10efe17
Update unit tests for state upgraders
bendbennett 6095a62
Consolidate testing of state upgraders
bendbennett fd6f3de
Adding testing of state upgrade from v1 to v2 for random string
bendbennett fccb472
Using v2.17.0 of terraform-plugin-sdk/v2 for ExternalProviders in Tes…
bendbennett 59eb920
Remove redundant checks for TestCheckResourceAttrSet
bendbennett 0e0d7c5
Remove shouldError bool from tests
bendbennett 7a1c9be
Refactoring customize diff funcs
bendbennett 40442ed
Updating dependencies
bendbennett f4bb2c3
Adding terraform 1.2.* to testing matrix
bendbennett 3e61cf7
Refactoring to remove usage of resource name in errors
bendbennett 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 |
---|---|---|
|
@@ -65,6 +65,7 @@ jobs: | |
- '0.15.*' | ||
- '1.0.*' | ||
- '1.1.*' | ||
- '1.2.*' | ||
steps: | ||
|
||
- name: Setup Go | ||
|
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.
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.
👩🍳 💋