Skip to content

Commit cc236c2

Browse files
committed
fix issue #62 and updates for release v1.3.1
1 parent 8d86a2c commit cc236c2

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [1.3.1] - 2024-02-26
9+
10+
### Fixed
11+
12+
- Add missing IAM action required to provision users for use cases when deploying through deployment dashboard
13+
814
## [1.3.0] - 2024-02-22
915

1016
### Added

source/infrastructure/lib/s3web/static-site.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ export class StaticWebsite extends Construct {
129129
});
130130

131131
this.webS3Bucket.policy?.node.addDependency(cloudfrontToS3.cloudFrontWebDistribution);
132+
cloudfrontToS3.cloudFrontLoggingBucket?.node
133+
.tryFindChild('Policy')
134+
?.node.tryFindChild('Resource')
135+
?.node?.addDependency(cloudfrontToS3.cloudFrontLoggingBucket);
132136

133137
const bucketPolicyUpdateCustomResource = new cdk.CustomResource(this, 'UpdateBucketPolicy', {
134138
resourceType: 'Custom::UpdateBucketPolicy',

source/infrastructure/lib/use-case-management/management-stack.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,8 @@ const buildCfnDeployRole = (scope: Construct): iam.Role => {
696696
'cognito-idp:AdminRemoveUserFromGroup',
697697
'cognito-idp:AdminListGroupsForUser',
698698
'cognito-idp:SetUserPoolMfaConfig',
699-
'cognito-idp:DeleteUserPool'
699+
'cognito-idp:DeleteUserPool',
700+
'cognito-idp:AdminGetUser'
700701
],
701702
resources: [
702703
`arn:${cdk.Aws.PARTITION}:cognito-idp:${cdk.Aws.REGION}:${cdk.Aws.ACCOUNT_ID}:userpool/*`

source/infrastructure/test/use-case-management/management-stack.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,8 @@ describe('When creating a use case management Stack', () => {
735735
'cognito-idp:AdminRemoveUserFromGroup',
736736
'cognito-idp:AdminListGroupsForUser',
737737
'cognito-idp:SetUserPoolMfaConfig',
738-
'cognito-idp:DeleteUserPool'
738+
'cognito-idp:DeleteUserPool',
739+
'cognito-idp:AdminGetUser'
739740
],
740741
Condition: {
741742
'ForAnyValue:StringEquals': {

0 commit comments

Comments
 (0)