Skip to content

Instantly share code, notes, and snippets.

@jsamuel1
Created February 22, 2024 09:50
Show Gist options
  • Select an option

  • Save jsamuel1/26a5d1d1dac1343cc794288c9f04162a to your computer and use it in GitHub Desktop.

Select an option

Save jsamuel1/26a5d1d1dac1343cc794288c9f04162a to your computer and use it in GitHub Desktop.

Revisions

  1. jsamuel1 created this gist Feb 22, 2024.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    const podIdentityRole = new Role(this, 'PodIdentityRole',
    {
    assumedBy: new SessionTagsPrincipal(new ServicePrincipal('pods.eks.amazonaws.com')),
    managedPolicies: [
    ManagedPolicy.fromAwsManagedPolicyName('AmazonEC2ContainerRegistryReadOnly'),
    ]
    });