Skip to content

Commit

Permalink
Merge pull request #6 from umccr/feature/add-description
Browse files Browse the repository at this point in the history
Feature/add description
  • Loading branch information
andrewpatto authored Jul 11, 2023
2 parents c13fdd5 + b378a2e commit 94cf3c1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions deploy/manual/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"version": "0.0.0",
"description": "Manual deploy of stack into various accounts",
"scripts": {
"dev-deploy": "cdk --app 'npx ts-node stacks.ts' deploy ElsaDataLocalDevTestCopyOutStack",
"dev-destroy": "cdk --app 'npx ts-node stacks.ts' destroy ElsaDataLocalDevTestCopyOutStack",
"dev-deploy": "cdk --app 'npx ts-node stacks.ts' deploy ElsaDataDevCopyOutStack",
"dev-destroy": "cdk --app 'npx ts-node stacks.ts' destroy ElsaDataDevCopyOutStack",
"agdemo-deploy": "cdk --app 'npx ts-node stacks.ts' deploy ElsaDataDemoAustralianGenomicsCopyOutStack",
"agdemo-destroy": "cdk --app 'npx ts-node stacks.ts' destroy ElsaDataDemoAustralianGenomicsCopyOutStack",
"ag-deploy": "cdk --app 'npx ts-node stacks.ts' deploy ElsaDataAustralianGenomicsCopyOutStack",
Expand Down
14 changes: 10 additions & 4 deletions deploy/manual/stacks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ import { App } from "aws-cdk-lib";

const app = new App();

const description =
"Bulk copy-out service for Elsa Data - an application for controlled genomic data sharing";

{
const localDevTestId = "ElsaDataLocalDevTestCopyOutStack";
const devId = "ElsaDataDevCopyOutStack";

new CopyOutStack(app, localDevTestId, {
new CopyOutStack(app, devId, {
// the stack can only be deployed to 'dev'
env: {
account: "843407916570",
region: "ap-southeast-2",
},
tags: {
"umccr-org:Product": "ElsaData",
"umccr-org:Stack": localDevTestId,
"umccr-org:Stack": devId,
},
description: description,
isDevelopment: true,
infrastructureStackName: "ElsaDataLocalDevTestInfrastructureStack",
infrastructureStackName: "ElsaDataDevInfrastructureStack",
infrastructureSubnetSelection: SubnetType.PRIVATE_WITH_EGRESS,
});
}
Expand All @@ -36,6 +40,7 @@ const app = new App();
"umccr-org:Product": "ElsaData",
"umccr-org:Stack": agDemoId,
},
description: description,
isDevelopment: false,
infrastructureStackName:
"ElsaDataDemoAustralianGenomicsInfrastructureStack",
Expand All @@ -56,6 +61,7 @@ const app = new App();
"umccr-org:Product": "ElsaData",
"umccr-org:Stack": agId,
},
description: description,
isDevelopment: false,
infrastructureStackName: "ElsaDataAustralianGenomicsInfrastructureStack",
infrastructureSubnetSelection: SubnetType.PRIVATE_WITH_EGRESS,
Expand Down

0 comments on commit 94cf3c1

Please sign in to comment.