Goal
Write Terraform HCL in main.tf that creates an S3 bucket named certland-labs-tf with versioning enabled, then run terraform init && terraform apply -auto-approve.
Requirements
- An
aws_s3_bucketresource with bucket =certland-labs-tf - Versioning enabled (via
aws_s3_bucket_versioning, statusEnabled)
You do not need to configure the provider endpoint — the workspace already points the AWS provider at the lab environment. Just write pure HCL as you would against real AWS.