Skip to content

Commit 7820aaa

Browse files
authored
Merge pull request #56 from ModusCreateOrg/fix-github-workflow
Fix deployment error
2 parents cc191f6 + 0a44704 commit 7820aaa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/deploy-development.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ jobs:
5555
cd backend
5656
npm ci
5757
58+
- name: Install latest AWS CDK
59+
run: npm install -g aws-cdk
60+
5861
- name: Build application
5962
run: |
6063
cd backend

backend/src/iac/backend-stack.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class BackendStack extends cdk.Stack {
2929
this,
3030
`${appName}UserPoolIdParam-${props.environment}`,
3131
{
32-
parameterName: `/${appName}/${props.environment}/cognito-user-pool-id`,
32+
parameterName: `${appName}UserPoolIdParam-${props.environment}`,
3333
},
3434
).stringValue;
3535

@@ -38,7 +38,7 @@ export class BackendStack extends cdk.Stack {
3838
this,
3939
`${appName}ClientIdParam-${props.environment}`,
4040
{
41-
parameterName: `/${appName}/${props.environment}/cognito-client-id`,
41+
parameterName: `${appName}ClientIdParam-${props.environment}`,
4242
},
4343
).stringValue;
4444

0 commit comments

Comments
 (0)