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.
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
New Resource aws_rds_cluster_activity_stream #22097
New Resource aws_rds_cluster_activity_stream #22097
Changes from all commits
3836feb
c36565b
591bcb3
7b99331
1277b03
e7e5347
0b456f7
20891dd
c612054
8eb244e
21ce864
2163bdb
56be708
823e3f2
abcadf4
4be2a82
776a061
fa03d06
3b78253
0569c3a
b8f7c5b
34d0891
65e70fd
b4a60e9
d8be772
06a73e0
a50be24
fbfff0a
3188405
b974f42
fa70992
cba58dc
9a27cef
a58cc9a
58997bf
968a99a
13551b9
cea2b8c
139e5e9
91f8a47
cd36d20
fa5c677
3a36e79
14d11b5
9e3d885
b819118
ad54701
0aa0d33
864d85b
af4c2fd
ca4093e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
might be worth to add a disappears test if the db is delete whether the code knows how to handle this case
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 is these need if attributes are already checked?
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.
It checks properties returned from AWS and not only attributes stored with the resource. i.e. the
ActivityStreamStatus
which is expected to be in stateStarted
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.
should avoid this and add some retry logic in create if it needs to wait for the instance to be created.
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.
If there's no
depends_on
it can also cause a race condition when deleting the entire stack. i.e. If AWS is busy destroying eitheraws_rds_cluster
oraws_rds_cluster_activity_stream
then the destroy operation of the other will fail stating the cluster is in invalid state to perform the operation.We can wait at initialization, but to wait at destroy would require changes to the
aws_rds_cluster
resources too.