Skip to content

Commit

Permalink
changes to user template
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohitrajak1807 committed Oct 7, 2024
1 parent 50fc70b commit d6542fb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions emp/emp_user_cftemplate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,16 @@ Resources:
Resource:
- arn:*:secretsmanager:*:*:secret:aws.cluster.x-k8s.io/*
- Action:
# they are related to some heartbeat sent by systems manager see: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-messageAPIs.html
# they are related to heartbeat sent by systems manager see: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-setting-up-messageAPIs.html
# these permissions are needed by the ec2 instance itself. AWS docs don't disclose a resource type for this.
# additionally, these permissions allow us to get a shell to the baremetal instance without ssh using AWS Systems manager.
# This is a useful diagnostic tool in case of an emergency.
- ssm:UpdateInstanceInformation
- ssmmessages:CreateControlChannel
- ssmmessages:CreateDataChannel
- ssmmessages:OpenControlChannel
- ssmmessages:OpenDataChannel
# discuss why this is needed
- s3:GetEncryptionConfiguration
# - s3:GetEncryptionConfiguration
Effect: Allow
Resource:
- '*'
Expand Down

0 comments on commit d6542fb

Please sign in to comment.