Skip to content

Commit

Permalink
Allow access to AWS System Manager from CI nodes (#395)
Browse files Browse the repository at this point in the history
*Issue #, if available:* N/A

*Description of changes:* Add a managed policy to enable AWS Systems
Manager service core functionality:

https://docs.aws.amazon.com/aws-managed-policy/latest/reference/AmazonSSMManagedInstanceCore.html

___
By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.

Co-authored-by: Vlad Volodkin <[email protected]>
  • Loading branch information
vladem and Vlad Volodkin authored Feb 25, 2025
1 parent 60aac2a commit 1db0b1d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/e2e-kubernetes/scripts/eksctl-patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"arn:aws:iam::aws:policy/AmazonS3FullAccess",
"arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy",
"arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy",
"arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
"arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly",
"arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
]
},
{
Expand Down
5 changes: 5 additions & 0 deletions tests/e2e-kubernetes/scripts/kops-patch.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
spec:
externalPolicies:
node:
- arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
master:
- arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore
additionalPolicies:
node: |
[
Expand Down

0 comments on commit 1db0b1d

Please sign in to comment.