This project demonstrates Terraform infrastructure as code with AWS S3 bucket configurations:
main.tf- Main Terraform configuration for S3 bucket creationprovider.tf- AWS provider configuration for multiple regionsrandom.tf- Random integer generation for unique namingimported_bucket.tf- Example of an imported S3 bucket configuration
The project includes a devfile configuration with the following commands:
install- Initializes Terraform (terraform init)build- Plans Terraform changes (terraform plan)test- Formats and validates Terraform code (terraform fmt -check && terraform validate)
This project creates and manages AWS S3 buckets with:
- Versioning enabled
- Server-side encryption (AES256)
- Public access blocking
- Resource tagging
This project is licensed under the MIT License - see the LICENSE file for details.