11# GENERATED FILE - DO NOT EDIT DIRECTLY
22# This template is generated by: npx tsx scripts/generate-bootstrap-template.ts
3- # ABCA Bootstrap Policy Version: 1.1 .0
4- # ABCA Bootstrap Policy Hash: a24d14dde94c546fdf94c7839492e92f612ae91def4660aaacab48d8e8da3146
3+ # ABCA Bootstrap Policy Version: 1.2 .0
4+ # ABCA Bootstrap Policy Hash: b0501c8a57f20e4b5bf50d6fe8bbb934310adc4b64480228565d8392a19d1503
55#
66# Based on the default CDK bootstrap template with the following modifications:
77# - BootstrapVariant set to "ABCA: Least-Privilege Bootstrap"
@@ -626,14 +626,11 @@ Resources:
626626 Policies :
627627 - PolicyDocument :
628628 Statement :
629- - Sid : CloudFormationPermissions
629+ - Sid : DeployPermissions
630630 Effect : Allow
631631 Action :
632632 - cloudformation:CreateChangeSet
633633 - cloudformation:DeleteChangeSet
634- - cloudformation:DescribeChangeSet
635- - cloudformation:DescribeStacks
636- - cloudformation:DescribeEvents
637634 - cloudformation:ExecuteChangeSet
638635 - cloudformation:CreateStack
639636 - cloudformation:UpdateStack
@@ -673,12 +670,9 @@ Resources:
673670 Effect : Allow
674671 - Sid : CliPermissions
675672 Action :
676- - cloudformation:DescribeStackEvents
677- - cloudformation:GetTemplate
678673 - cloudformation:DeleteStack
679674 - cloudformation:UpdateTerminationProtection
680675 - sts:GetCallerIdentity
681- - cloudformation:GetTemplateSummary
682676 Resource : ' *'
683677 Effect : Allow
684678 - Sid : CliStagingBucket
@@ -701,14 +695,12 @@ Resources:
701695 Effect : Allow
702696 Action :
703697 - cloudformation:CreateStackRefactor
704- - cloudformation:DescribeStackRefactor
705698 - cloudformation:ExecuteStackRefactor
706- - cloudformation:ListStackRefactorActions
707- - cloudformation:ListStackRefactors
708- - cloudformation:ListStacks
709699 Resource : ' *'
710700 Version : ' 2012-10-17'
711701 PolicyName : default
702+ ManagedPolicyArns :
703+ - Fn::Sub : arn:${AWS::Partition}:iam::aws:policy/AWSCloudFormationReadOnlyAccess
712704 RoleName :
713705 Fn::Sub : cdk-${Qualifier}-deploy-role-${AWS::AccountId}-${AWS::Region}
714706 Tags :
@@ -794,7 +786,7 @@ Resources:
794786 Type : String
795787 Name :
796788 Fn::Sub : /cdk-bootstrap/${Qualifier}/version
797- Value : ' 30 '
789+ Value : ' 32 '
798790 IaCRoleABCAInfrastructure :
799791 Type : AWS::IAM::ManagedPolicy
800792 Properties :
@@ -1013,11 +1005,23 @@ Resources:
10131005 - lambda:GetRuntimeManagementConfig
10141006 - lambda:ListVersionsByFunction
10151007 - lambda:InvokeFunction
1008+ - lambda:PublishLayerVersion
1009+ - lambda:DeleteLayerVersion
1010+ - lambda:GetLayerVersion
10161011 Effect : Allow
10171012 Resource :
10181013 - arn:aws:lambda:*:*:function:backgroundagent-dev-*
10191014 - arn:aws:lambda:*:*:function:backgroundagent-dev-AWS*
1015+ - arn:aws:lambda:*:*:layer:*
10201016 Sid : Lambda
1017+ - Action :
1018+ - lambda:CreateEventSourceMapping
1019+ - lambda:DeleteEventSourceMapping
1020+ - lambda:UpdateEventSourceMapping
1021+ - lambda:GetEventSourceMapping
1022+ Effect : Allow
1023+ Resource : ' *'
1024+ Sid : LambdaEventSourceMappings
10211025 - Action :
10221026 - apigateway:POST
10231027 - apigateway:GET
@@ -1080,6 +1084,33 @@ Resources:
10801084 Effect : Allow
10811085 Resource : arn:aws:events:*:*:rule/backgroundagent-dev-*
10821086 Sid : EventBridge
1087+ - Action :
1088+ - sqs:CreateQueue
1089+ - sqs:DeleteQueue
1090+ - sqs:GetQueueAttributes
1091+ - sqs:SetQueueAttributes
1092+ - sqs:TagQueue
1093+ - sqs:UntagQueue
1094+ - sqs:GetQueueUrl
1095+ - sqs:ListQueueTags
1096+ Effect : Allow
1097+ Resource : arn:aws:sqs:*:*:backgroundagent-dev-*
1098+ Sid : SQS
1099+ - Action :
1100+ - cloudfront:CreateDistribution
1101+ - cloudfront:UpdateDistribution
1102+ - cloudfront:DeleteDistribution
1103+ - cloudfront:GetDistribution
1104+ - cloudfront:TagResource
1105+ - cloudfront:UntagResource
1106+ - cloudfront:ListTagsForResource
1107+ - cloudfront:CreateOriginAccessControl
1108+ - cloudfront:UpdateOriginAccessControl
1109+ - cloudfront:DeleteOriginAccessControl
1110+ - cloudfront:GetOriginAccessControl
1111+ Effect : Allow
1112+ Resource : ' *'
1113+ Sid : CloudFront
10831114 - Action :
10841115 - secretsmanager:CreateSecret
10851116 - secretsmanager:DeleteSecret
@@ -1096,6 +1127,10 @@ Resources:
10961127 Resource :
10971128 - arn:aws:secretsmanager:*:*:secret:backgroundagent-*
10981129 - arn:aws:secretsmanager:*:*:secret:GitHubTokenSecret*
1130+ - arn:aws:secretsmanager:*:*:secret:SlackIntegration*
1131+ - arn:aws:secretsmanager:*:*:secret:LinearIntegration*
1132+ - arn:aws:secretsmanager:*:*:secret:GitHubScreenshot*
1133+ - arn:aws:secretsmanager:*:*:secret:bgagent/*
10991134 Sid : SecretsManager
11001135 - Action : secretsmanager:GetRandomPassword
11011136 Effect : Allow
@@ -1180,6 +1215,24 @@ Resources:
11801215 - arn:aws:s3:::cdk-hnb659fds-assets-*
11811216 - arn:aws:s3:::cdk-hnb659fds-assets-*/*
11821217 Sid : S3CDKAssets
1218+ - Action :
1219+ - s3:CreateBucket
1220+ - s3:DeleteBucket
1221+ - s3:PutBucketPolicy
1222+ - s3:DeleteBucketPolicy
1223+ - s3:PutBucketPublicAccessBlock
1224+ - s3:GetBucketPublicAccessBlock
1225+ - s3:PutEncryptionConfiguration
1226+ - s3:PutLifecycleConfiguration
1227+ - s3:GetBucketLocation
1228+ - s3:ListBucket
1229+ - s3:PutBucketTagging
1230+ - s3:GetBucketTagging
1231+ Effect : Allow
1232+ Resource :
1233+ - arn:aws:s3:::backgroundagent-dev-*
1234+ - arn:aws:s3:::backgroundagent-dev-*/*
1235+ Sid : S3ApplicationBuckets
11831236 - Action :
11841237 - kms:CreateGrant
11851238 - kms:Decrypt
@@ -1304,13 +1357,13 @@ Outputs:
13041357 Fn::Sub : ${ContainerAssetsRepository}
13051358 BootstrapVersion :
13061359 Description : The version of the bootstrap resources that are currently mastered in this stack
1307- Value : ' 30 '
1360+ Value : ' 32 '
13081361 BootstrapPolicyVersion :
13091362 Description : The version of the ABCA bootstrap policy bundle
1310- Value : 1.1 .0
1363+ Value : 1.2 .0
13111364 BootstrapPolicyHash :
13121365 Description : SHA-256 hash of the ABCA bootstrap policy bundle for drift detection
1313- Value : a24d14dde94c546fdf94c7839492e92f612ae91def4660aaacab48d8e8da3146
1366+ Value : b0501c8a57f20e4b5bf50d6fe8bbb934310adc4b64480228565d8392a19d1503
13141367 BootstrapPolicySet :
13151368 Description : Comma-separated list of active ABCA bootstrap policy names
13161369 Value :
0 commit comments