provider "aws" { alias = "prod" region = "us-east-1" access_key = "${var.prod_access_key}" secret_key = "${var.prod_secret_key}" } resource "aws_s3_bucket" "prod" { provider = "aws.prod" bucket = "${var.bucket_name}" acl = "private" policy = <