Workspace configuration for https://app.terraform.io/app/sujay-test-01/workspaces/cli-driven-test-workspace-1
This Terraform configuration creates an AWS S3 bucket with proper security configurations including versioning, encryption, and public access blocking.
- S3 bucket with versioning enabled
- Server-side encryption using AES256
- Public access blocked for security
- Configurable via variables
- Comprehensive outputs for integration
bucket_name(required): Name of the S3 bucket (must be globally unique)environment(optional): Environment name (dev, staging, prod) - defaults to "dev"tags(optional): Additional tags to apply to the bucket
bucket_name: The name of the created S3 bucketbucket_arn: The ARN of the created S3 bucket
- Copy
terraform.tfvars.exampletoterraform.tfvars - Customize the variables in
terraform.tfvars - Run
terraform init - Run
terraform plan - Run
terraform apply
- Terraform >= 1.0
- AWS Provider ~> 5.0
- Valid AWS credentials configured