-
Notifications
You must be signed in to change notification settings - Fork 24
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: move deprecated expiry & archive blocks to new resource #769
Open
jor2
wants to merge
36
commits into
main
Choose a base branch
from
migration
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
05d10da
feat: move deprecated expiry & archive blocks to new resource
36c2c84
feat: move deprecated expiry & archive blocks to new resource
04e7617
feat: move deprecated expiry & archive blocks to new resource
b0dd177
feat: move deprecated expiry & archive blocks to new resource
4d1ea68
feat: move deprecated expiry & archive blocks to new resource
3da5c91
Merge branch 'main' into migration
jor2 e7621df
feat: move deprecated expiry & archive blocks to new resource
c75b669
feat: move deprecated expiry & archive blocks to new resource
5c39ff4
feat: move deprecated expiry & archive blocks to new resource
b9954a8
feat: move deprecated expiry & archive blocks to new resource
25933b5
feat: move deprecated expiry & archive blocks to new resource
90dfadb
feat: move deprecated expiry & archive blocks to new resource
9213537
feat: move deprecated expiry & archive blocks to new resource
8c1d7ab
feat: move deprecated expiry & archive blocks to new resource
f073b0d
feat: move deprecated expiry & archive blocks to new resource
674b090
fix: add create sleep SKIP UPGRADE TEST
a5a9a92
fix: add create sleep SKIP UPGRADE TEST
4d4b23e
fix: address comments
77e59c4
fix: address comments
cad3f74
fix: address comments
d690fbc
fix: address comments
1592b93
fix: address comments
7c74554
feat: add vars to DA and fscloud
102a761
fix: add issue comment
5e7e378
Merge branch 'main' into migration
jor2 7fb2281
Merge branch 'main' into migration
jor2 95ec0a6
Merge branch 'main' into migration
jor2 0b65c41
fix: add var
9dca820
fix: add var
b7d5bf7
fix: add var
6e8c82a
Merge branch 'main' into migration
jor2 9882767
Merge branch 'main' into migration
jor2 96dd747
Merge branch 'main' into migration
jor2 a77235a
Merge branch 'main' into migration
jor2 c256bf1
Merge branch 'main' into migration
jor2 2b48d17
Merge branch 'main' into migration
ocofaigh 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
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.
why do we need a sleep? Is there a timing issue? What error do you get? If so have we created a provider bug for it? If the
ibm_cos_bucket
has returned as complete, I expect it to be ready for lifecycle configuration. Otherwise I think its a bug. Please leave code comments when adding workaround like this explaining why they were added (and link to any associated issues)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 a timing issue because after the first apply unless I waited a couple seconds to reapply it would fail saying it couldn't find the lifecycle policy. I will create a provider issue and link in a comment above sleep.
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.
The error can be seen here in this run when I removed the sleep. It doesn't occur every time, but often enough.
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.
as per internal discussions, the issue happens on the plan AFTER apply has completed. Therefor it seems a bug with the
ibm_cos_bucket_lifecycle_configuration
resource. If its not fully ready, it should of been marked as complete by terraform. Lets create a provider issue, and hold off fix this migration until its fixedThere 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.
IBM-Cloud/terraform-provider-ibm#5778