Commit 5ea749c
fix: grant IntegTests CodeBuild role kms:Decrypt for beta/prod secrets (#677)
The beta/prod integ-test secrets (gpa_url, tapi_api_key, tapi_url,
cosigner) are encrypted with a shared customer-managed KMS key
(2df28f63-...). CDK auto-grants secretsmanager:GetSecretValue for the
env-var secrets but not kms:Decrypt, so the IntegTests CodeBuild build
fails resolving them with "AccessDeniedException: Access to KMS is not
allowed". This is a pre-existing gap surfaced by the first pipeline run
in a while, not the gouda-service-rpc-urls-2 change (already reverted in
#676).
Add a rolePolicyStatement granting kms:Decrypt on that key to the
IntegTests CodeBuildStep (applies to both beta and prod). The key policy
already delegates to IAM, so no key-policy change is needed.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent b9a453d commit 5ea749c
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
272 | 273 | | |
273 | 274 | | |
274 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
275 | 288 | | |
276 | 289 | | |
277 | 290 | | |
| |||
0 commit comments