You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-12Lines changed: 20 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,18 +73,26 @@ source repos, etc.
73
73
74
74
1. Create a _Secret_ in Secrets Manager and add your secret value.
75
75
1. Grant access permissions to the CodeBuild pipeline project.
76
-
1. Find the IAM role for the CodeBuild Project in the CodeBuild console page under the "Build Details". This is also called the "Service Role".
77
-
1. In the IAM console page, add a new policy, replacing \<Secret ARN\> with the ARN of the secret created.
78
-
```json
79
-
{
80
-
"Version": "2012-10-17",
81
-
"Statement": [ {
82
-
"Effect": "Allow",
83
-
"Action": "secretsmanager:GetSecretValue",
84
-
"Resource": "<Secret ARN>"
85
-
} ]
86
-
}
87
-
```
76
+
11. Create a [Policy Statement](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_iam.PolicyStatement.html) which allows `secretsmanager:GetSecretValue` for your secret.
77
+
11. Add this policy statement to the `buildPolicyAdditions` props for the `EmbeddedLinuxPipelineStack`. e.g.
0 commit comments