Skip to content

Instantly share code, notes, and snippets.

@mtheoryx
Created April 21, 2022 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mtheoryx/d49e28dcab9afc6c8d8b7b78eb9ca4a3 to your computer and use it in GitHub Desktop.
Save mtheoryx/d49e28dcab9afc6c8d8b7b78eb9ca4a3 to your computer and use it in GitHub Desktop.
CDK Deployment Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"sts:AssumeRole",
"iam:PassRole"
],
"Resource": [
"arn:aws:iam::<ACCOUNT_NUMBER>:role/cdk-hnb659fds-image-publishing-role-*",
"arn:aws:iam::<ACCOUNT_NUMBER>:role/cdk-hnb659fds-deploy-role-*",
"arn:aws:iam::<ACCOUNT_NUMBER>:role/cdk-hnb659fds-file-publishing-*",
"arn:aws:iam::<ACCOUNT_NUMBER>:role/cdk-hnb659fds-lookup-role-*"
],
"Effect": "Allow"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment