A collection of AWS CloudFormation templates for practice and testing purposes. This repository contains various infrastructure-as-code examples that can be used by the OpenOps platform for validation, testing, and remediation scenarios.
Each example is contained in its own folder with:
- CloudFormation template (YAML format)
- README with description and usage instructions
Location: aws-benchmark-permissions/
Creates an IAM role with the necessary permissions for the OpenOps AWS Benchmark feature. This template provisions read-only access to AWS Compute Optimizer, resource metadata (EC2, RDS, ELB, DynamoDB, Lambda, ECS), and the Pricing API.
Use this template to: Set up secure cross-account access for OpenOps to run cost optimization benchmarks on your AWS infrastructure.
Location: s3-bucket-standard-tiering/
Creates an S3 bucket with standard configuration and security best practices.
To deploy any example stack:
aws cloudformation create-stack \
--stack-name <stack-name> \
--template-body file://<path-to-template.yml> \
--region <aws-region>To delete a stack:
aws cloudformation delete-stack \
--stack-name <stack-name> \
--region <aws-region>When adding new examples:
- Create a descriptive folder name
- Include a CloudFormation template in YAML format
- Add a README.md explaining the template's purpose
- Update this main README with a reference to the new example