Code QuizAdvanced

Your First Terraform Resource

Spot the syntax mistake in a basic Terraform resource that codifies infrastructure instead of clicking in the console.

Codehcl
# Instead of clicking 'Create bucket' in the AWS console,
# we declare the desired state as code so it's repeatable.
resource "aws_s3_bucket" "data" {
  bucket = "my-app-data",
  acl    = "private"
}

What is the bug in this Terraform configuration?