From 2f26443066c657614f496ba765e031c229bccfe6 Mon Sep 17 00:00:00 2001 From: Hussen Date: Fri, 17 Jul 2026 00:23:58 +0530 Subject: [PATCH] fix: allow CodeDeploy configuration lookup --- infrastructure/nested/github-oidc.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/infrastructure/nested/github-oidc.yaml b/infrastructure/nested/github-oidc.yaml index 899cf88..c278fa2 100644 --- a/infrastructure/nested/github-oidc.yaml +++ b/infrastructure/nested/github-oidc.yaml @@ -194,6 +194,10 @@ Resources: - "arn:${AWS::Partition}:codedeploy:${AWS::Region}:${AWS::AccountId}:deploymentgroup:${Project}-${Stage}-*/${Project}-${Stage}-*" - Project: !Ref ProjectName Stage: !Ref Environment + - Effect: Allow + Action: + - codedeploy:GetDeploymentConfig + Resource: !Sub "arn:${AWS::Partition}:codedeploy:${AWS::Region}:${AWS::AccountId}:deploymentconfig:*" Tags: - Key: Project Value: coditude