An organization wants to prevent users from creating resources in regions other than the ones approved by corporate policy. What should be used to enforce this?
Trap 1: CloudFormation StackSet
StackSets deploy resources; they do not enforce the restriction of region usage.
Trap 2: Resource Tagging
Tagging organizes resources but does not prevent their creation.
- A
AWS Organizations Service Control Policy (SCP)
SCPs are the most robust way to restrict region access at the account level.
- B
CloudFormation StackSet
Why wrong: StackSets deploy resources; they do not enforce the restriction of region usage.
- C
Resource Tagging
Why wrong: Tagging organizes resources but does not prevent their creation.
- D
IAM Identity-based Policy with Deny effect
Using conditions in an IAM policy to deny access based on region is a standard governance technique.