-
Notifications
You must be signed in to change notification settings - Fork 22
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
Can't create deny-unsupported-regions SCP #53
Comments
check if you have the following in deny-unsupported-regions.yml surprised how it allowed you to create any scp for that matter let us know if that worked? |
I did, and changing it has moved me forward:
I'll dig into this and see if I can figure out the changes, then fire a PR up once I get it working! |
indeed so you need to change it to Content and also PolicyType to Type and PolicyName to Name. it will work then and will have to make those changes for rest of SCPs |
#54 should fix this! |
thanks both, for the issue and the fix. i merged the branch into main. a common issue, when managing SCPs in cloudformation templates, is that the DenyUnsupportedRegions will often update after other templates (in this case: regional templates from within the if a region is unsupported, and then you would like to start supporting this, that would cause your build to fail. |
Hi,
I'm hoping someone can help me. I'm running into an issue where I can't create the SCP to block regions, when it runs it looks like:
I see the same thing in the console, with a failure and:
I tried looking through CloudTrail but I see nothing useful in there. I then tried making an SCP by hand (well, the policy) with the same regions just to make sure there wasn't anything obvious. That worked.
The params for this template look like:
My manually created SCP was just the policy part, I didn't try to attach it to the target. Not sure if that's part of the issue. I'm not really sure what to troubleshoot next, I'm feeling a bit lost on this one!
The text was updated successfully, but these errors were encountered: