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