Closed bobveringa closed 1 year ago
I just noticed this when was testing basti-cdk
with the test CDK app: https://github.com/BohdanPetryshyn/basti/pull/55/files#diff-b5a46dba7e3da24b7e9a6416e5dd8cc03c8ca8399d5ac09dc942d8aa71faa1fbR175
But I haven't fixed it yet, just left a FIXME
there. This PR definitely makes sense and has to be merged
@bobveringa Could you please implement the policies the same way as described here? Just in case.
@BohdanPetryshyn With this PR they should be the same right?
@bobveringa I can no longer see the changed files, but I remember that the SSM Document resource was added to EC2 and SSM actions while the README only adds the resource to the ssm:StartSession
action
During more testing with the rest of my team I found that I forgot to add the permission that allows
arn:aws:ssm:*:*:document/AWS-StartPortForwardingSessionToRemoteHost
. This wasn't an issue for the initial roles I tested it with because they were granted this permissions by some other policy.