Skip to content

Commit

Permalink
feature: Korjaa Poistu palvelusta -painikkeen URL (#49)
Browse files Browse the repository at this point in the history
* korjaa poistu palvelusta url-arvon haku pipelineen

* add ssm permissions to pipeline

* remove redundant ssm:GetParameter policy
  • Loading branch information
tkork authored Nov 19, 2021
1 parent 3039608 commit 2b03a91
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions deployment/lib/buildspec/buildspec-feature.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
version: 0.2

env:
parameter-store:
NEXT_PUBLIC_VAYLA_EXTRANET_URL: /$ENVIRONMENT/ExtranetHomePageUrl

phases:
install:
runtime-versions:
Expand Down
5 changes: 5 additions & 0 deletions deployment/lib/buildspec/buildspec.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
version: 0.2

env:
parameter-store:
NEXT_PUBLIC_VAYLA_EXTRANET_URL: /$ENVIRONMENT/ExtranetHomePageUrl

phases:
install:
runtime-versions:
Expand Down
2 changes: 1 addition & 1 deletion deployment/lib/hassu-pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export class HassuPipelineStack extends Stack {
}).addToRolePolicy(
new PolicyStatement({
effect: Effect.ALLOW,
actions: ["s3:*", "cloudformation:*", "sts:*", "ssm:GetParameter", "ecr:*"],
actions: ["s3:*", "cloudformation:*", "sts:*", "ecr:*", "ssm:*"],
resources: ["*"],
})
);
Expand Down

0 comments on commit 2b03a91

Please sign in to comment.