diff --git a/terraform/s3-web-files.tf b/terraform/s3-web-files.tf index 95dbc1d2..34e45220 100644 --- a/terraform/s3-web-files.tf +++ b/terraform/s3-web-files.tf @@ -1,6 +1,6 @@ locals { # a local to determine if our workspace is "prod" - is_prod = var.workspace == "prod" + is_prod = terraform.workspace == "prod" # set the_files to and empty map in the non-prod workspace # and to a map of files in the prod workspace