-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Set appropriate AWS ARN for S3 bucket policies in GovCloud #39
Conversation
Hi @ericamador, I've encountered the same issue with the ARN prefix. Regards, |
@gloterman Thanks for reaching out! If it sounds good to the maintainers, I'll update my PR to move |
Another idea might be to define an e.g.
Then define the
|
This will allow callers to define any format for the arn required by their region (E.g. china or govcloud) |
Sounds good. I'll work on an update to this PR this evening. Thanks for the feedback. |
@osterman Sorry for the delay. I've made the requested changes. Let me know what you think. |
+1. This will be the perfect solution for me as well. |
/codefresh run test |
/rebuild-readme |
@ericamador
It will add the new variables and outputs to or you can open repository, so bot can do it for you, right now there is no permissions to update your fork thanks |
This change allows a user to override the AWS ARN (which to defaults to the most common use case of "arn:aws") in order to allow one to use this module in the AWS GovCloud/China regions. This can be done by setting the value of the arn_format variable to "arn:aws-us-gov"/"arn:aws-cn" respectively.
@maximmi Thanks, I've made those requested changed to build the docs and have force pushed over my branch. |
/codefresh run test |
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.
thanks @ericamador
What
arn:aws-us-gov:s3
. Otherwise, the ARN prefix isarn:aws:s3
.Why
us-gov-west-1
). Prior to this change, attempting to deploy in GovCloud would fail with:References