Skip to content
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

provider/aws: Refresh SNS Topic updates in event of IAM role failure #3700

Merged
merged 1 commit into from
Oct 30, 2015

Conversation

catsby
Copy link
Contributor

@catsby catsby commented Oct 30, 2015

SNS Topic policys are sensitive to JSON encoding, it seems.
Also, if the IAM resource that it references is being created immediately prior, this can fail because IAM tells us that it's created successfully, but it hasn't actually propagated. IAM does not yet provide any status for us to poll regarding the propagation.

This PR does the following:

  • encode the json policy to match what we get back from the API
  • retry if the IAM resource isn't yet available
  • include regression test

Fixes #3660

- encode the json policy to match what we get back from the API
- retry if the IAM resource isn't yet available
- include regression test
@phinze
Copy link
Contributor

phinze commented Oct 30, 2015

LGTM

catsby added a commit that referenced this pull request Oct 30, 2015
provider/aws: Refresh SNS Topic updates in event of IAM role failure
@catsby catsby merged commit b46b9e0 into master Oct 30, 2015
@catsby catsby deleted the b-aws-sns-topic-refresh branch November 2, 2015 19:56
@ghost
Copy link

ghost commented Apr 30, 2020

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AWS SNS always planned to be changed
2 participants