-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/secretsmanager_secret_policy - new resource #14468
r/secretsmanager_secret_policy - new resource #14468
Conversation
b9c11da
to
230324c
Compare
Rebased + added support for blocking public access:
|
e69fffb
to
5db1047
Compare
Hi, |
Can we get an update on this PR please 👍 |
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.
Looks great overall. I had about one of the conditions that came up twice. Please let me know on those.
return nil | ||
}) | ||
if isResourceTimeoutError(err) { | ||
res, err = conn.PutResourcePolicy(input) |
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 the policy being applied again if the previous attempt timed out? Is this an expected condition?
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.
@bill-rich this is required in the AWS Provider due to how the AWS Go SDK works, see also:
return nil | ||
}) | ||
if isResourceTimeoutError(err) { | ||
_, err = conn.PutResourcePolicy(input) |
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.
Same as above
5db1047
to
91e4655
Compare
Rebased for acceptance test config lint |
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 got my question answered. LGTM
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Closes #14618
Release note for CHANGELOG:
Output from acceptance testing: