Skip to content

Commit e77a6ff

Browse files
committed
AWS profile comment out of main.ts, use environmental vars instead
1 parent 738cac7 commit e77a6ff

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

deployment/terraform/main.tf

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ locals {
1010
failure_notifications_email = "failure-notifications@example.com"
1111
}
1212

13-
# AWS profile
14-
provider "aws" {
15-
region = "us-east-1"
16-
profile = "myuser-sso-admin"
17-
}
13+
# AWS profile should not be set here since
14+
# it needs to be blank for .github/workflows/integration_tests.yml
15+
# to work with the default LocalStack profile. Use environment variables instead.
16+
#
17+
# bash example: AWS_PROFILE=my-profile AWS_REGION=us-east-1 terraform apply
18+
#
19+
#provider "aws" {
20+
# region = "us-east-1"
21+
# profile = "myuser-sso-admin"
22+
#}
1823

1924
# S3
2025
resource "aws_s3_bucket" "images_bucket" {

0 commit comments

Comments
 (0)