Code QuizAdvanced

IaC Idempotency Gotcha

Spot why this Terraform config breaks idempotency by regenerating on every apply.

Codehcl
resource "aws_s3_bucket" "logs" {
  bucket = "app-logs-${timestamp()}"

  tags = {
    Environment = "production"
  }
}

Why does this configuration violate the idempotency principle of Infrastructure as Code?