Skip to content

Commit b35ea79

Browse files
committed
Allow integ test for retrieve CDK bootstrap param
1 parent f2a5a08 commit b35ea79

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

e2e_tests/setup/integ-test-authentication.yaml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ Resources:
7878
- "cloudformation:ExecuteChangeSet"
7979
Resource:
8080
- !Sub "arn:aws:cloudformation:${AWS::Region}:${AWS::AccountId}:stack/LambdaMcpServer-*"
81+
- Effect: Allow
82+
Action:
83+
- "ssm:GetParameter"
84+
Resource:
85+
- !Sub "arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/cdk-bootstrap/*/version"
8186
# Allow CloudFormation to provision the resources for the example MCP servers
8287
- Effect: Allow
8388
Action:
@@ -97,17 +102,6 @@ Resources:
97102
"ForAnyValue:StringEquals":
98103
"aws:CalledVia":
99104
- cloudformation.amazonaws.com
100-
- Effect: Allow
101-
Action:
102-
- "ssm:GetParametersByPath"
103-
- "ssm:GetParameters"
104-
- "ssm:GetParameter"
105-
Resource:
106-
- !Sub "arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/cdk-bootstrap/*/version"
107-
Condition:
108-
"ForAnyValue:StringEquals":
109-
"aws:CalledVia":
110-
- cloudformation.amazonaws.com
111105
# Allow integration tests to upload templates and assets to the CDK bucket
112106
- Effect: Allow
113107
Action:

0 commit comments

Comments
 (0)