Skip to content

Instantly share code, notes, and snippets.

@astrotars
Created August 27, 2018 19:07
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 astrotars/be2991706531b70be550c06eb2ac47c9 to your computer and use it in GitHub Desktop.
Save astrotars/be2991706531b70be550c06eb2ac47c9 to your computer and use it in GitHub Desktop.
aws iam --region us-east-1 create-role --role-name ecsTaskExecutionRole --assume-role-policy-document task-execution-assume-role.json
@rollue
Copy link

rollue commented Jul 21, 2019

if you want to use file path for policy-document, you can use file:// prefix. For example,

.....--assume-role-policy-document file://path/to/the/file/task-execution-assume-role.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment