Skip to content

Commit

Permalink
DOP-4414 ssm putparam
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 25, 2024
1 parent e6a2906 commit 2f6b1a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cdk-infra/lib/constructs/worker/worker-construct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class WorkerConstruct extends Construct {

const taskRoleSsmPolicyStatement = new PolicyStatement({
effect: Effect.ALLOW,
actions: ['ssm:GetParameter'],
actions: ['ssm:GetParameter', 'ssm:PutParameter'],
resources: ['*'],
});

Expand Down
2 changes: 1 addition & 1 deletion src/commands/src/shared/next-gen-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export async function nextGenDeploy({
console.log(
`COMMAND: yes | mut-publish public ${bucket} --prefix=${mutPrefix} --deploy --deployed-url-prefix=${url} --json --all-subdirectories --dry-run`
);
console.log(`${outputText}\n Hosted at ${url}/${mutPrefix}`);
console.log(`${outputText}\n Hosted at ${url}${mutPrefix}`);
return {
status: CommandExecutorResponseStatus.success,
output: outputText,
Expand Down
2 changes: 1 addition & 1 deletion src/job/productionJobHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ export class ProductionJobHandler extends JobHandler {
await this.jobRepository.insertInvalidationRequestStatusUrl(this.currJob._id, 'Invalidation Failed');
}
} catch (error) {
await this.logger.save(this.currJob._id, error);
await this.logger.save(this.currJob._id, error.message);
}
}

Expand Down

0 comments on commit 2f6b1a0

Please sign in to comment.