The same Glue and S3 design is deployed to development, staging, and production.
Only environment-specific names and values should change.
Which implementation is most appropriate?
Use CloudFormation Parameters and Mappings to separate environment values from the reusable template.
Detailed explanation
Fixed values prevent the template from being reused cleanly.
Fixed values prevent the template from being reused cleanly.
Environment differences become inputs while one template remains reusable and reviewable.
Environment differences become inputs while one template remains reusable and reviewable.
Duplicated templates drift and make fixes inconsistent.
Duplicated templates drift and make fixes inconsistent.
IAM specifies permission scope; it does not create Glue or S3 resources.
IAM specifies permission scope; it does not create Glue or S3 resources.
Check official documentation
Compare the following points with the official documentation.
AWS CloudFormation Parameters、Mappings、Conditions、Outputsの公式説明を確認する。
What to confirm
IaCの再利用と手作業コピー、IAMポリシーの役割を区別できる。
Key points
- CloudFormation
- Parameters
- Mappings
- Infrastructure as code
Notes
- Environment: AWS公式DEA-C01試験ガイドと各サービスの公式ドキュメントの確認
- Confirm current AWS service behavior in the official DEA-C01 documentation.
Foundation review
Reproducibility
Inputs express environment differences while the template remains reviewable and consistent.
Drift
Manual changes can diverge from the declared template and should be detected and corrected.