Skip to content

Commit

Permalink
Merge branch 'byon-main' of https://github.com/hms-dbmi/service-workb…
Browse files Browse the repository at this point in the history
…ench-on-aws into aim-ahead-dbmi-dev
  • Loading branch information
srpiatt committed Aug 11, 2023
2 parents 5956eca + 401316a commit 1dc9fac
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ service: ${self:custom.settings.awsRegionShortName}-${self:custom.settings.solut
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}

custom:
Expand Down
2 changes: 1 addition & 1 deletion main/cicd/cicd-pipeline/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ service: ${self:custom.settings.awsRegionShortName}-${self:custom.settings.solut
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.deploymentBucketName}
Expand Down
2 changes: 1 addition & 1 deletion main/cicd/cicd-source/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ service: ${self:custom.settings.awsRegionShortName}-${self:custom.settings.solut
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
# The deployment bucket is named "${self:custom.settings.deploymentBucketName}" for all other serverless projects
Expand Down
2 changes: 1 addition & 1 deletion main/solution/backend/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ provider:
name: aws
runtime: nodejs16.x
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.deploymentBucketName}
Expand Down
2 changes: 1 addition & 1 deletion main/solution/edge-lambda/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ service: ${self:custom.settings.awsRegionShortName}-${self:custom.settings.solut
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.deploymentBucketName}
Expand Down
2 changes: 1 addition & 1 deletion main/solution/environment-tools/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package:
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}

custom:
settings: ${file(./config/settings/.settings.js):merged}
Expand Down
2 changes: 1 addition & 1 deletion main/solution/infrastructure/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ service: ${self:custom.settings.awsRegionShortName}-${self:custom.settings.solut
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.deploymentBucketName}
Expand Down
2 changes: 1 addition & 1 deletion main/solution/machine-images/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ package:
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}

custom:
default.aws.profile: '' # Keep default profile to use as empty string to force people to specify profile or use env
Expand Down
2 changes: 1 addition & 1 deletion main/solution/post-deployment/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ provider:
name: aws
runtime: nodejs16.x
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.deploymentBucketName}
Expand Down
2 changes: 1 addition & 1 deletion main/solution/pre-deployment/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ provider:
name: aws
runtime: nodejs16.x
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.deploymentBucketName}
Expand Down
2 changes: 1 addition & 1 deletion main/solution/prepare-master-acc/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ service: ${self:custom.settings.awsRegionShortName}-${self:custom.settings.solut
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.globalNamespace}-raas-master-artifacts
Expand Down
2 changes: 1 addition & 1 deletion main/solution/ui/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ service: ${self:custom.settings.awsRegionShortName}-${self:custom.settings.solut
provider:
name: aws
region: ${self:custom.settings.awsRegion}
profile: ${self:custom.settings.awsProfile}
profile: ${self:custom.settings.awsProfile, ""}
stackName: ${self:custom.settings.envName}-${self:service}
deploymentBucket:
name: ${self:custom.settings.deploymentBucketName}
Expand Down
2 changes: 1 addition & 1 deletion scripts/cicd-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ install_dependencies "$@"
pushd "$SOLUTION_ROOT_DIR/main/cicd/cicd-pipeline" > /dev/null

# Disable serverless stats (only strictly needs to be done one time)
$EXEC sls slstats --disable -s "$STAGE"
$EXEC sls slstats --disable

# Deploy the updated stack of the CICD
printf "\n\n---- Deploy CICD Stack\n"
Expand Down

0 comments on commit 1dc9fac

Please sign in to comment.