diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 96c3171..972a8a0 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -31,4 +31,4 @@ jobs: - run: | sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --resolve-s3 \ --parameter-overrides \ - UserPoolId=${{ secrets.USERPOOLID }}, ClientId=${{ secrets.CLIENTID }}, RegionName=us-east-1 + UserPoolId=${{ secrets.USERPOOLID }}, ClientId=${{ secrets.CLIENTID }}, RegionName={{ secrets.REGION }} diff --git a/template.yaml b/template.yaml index ba4a211..56a9728 100644 --- a/template.yaml +++ b/template.yaml @@ -30,7 +30,7 @@ Resources: Variables: UserPoolId: "default-userpool-id" ClientId: "default-client-id" - RegionName: !Ref RegionName + RegionName: "default-region-name" # Outputs: # # ServerlessRestApi is an implicit API created out of Events key under Serverless::Function