Skip to content

Instantly share code, notes, and snippets.

@fujiwara
Created April 28, 2021 14:35
Show Gist options
  • Save fujiwara/9785a528bfbfedd8a746c015dfc49a99 to your computer and use it in GitHub Desktop.
Save fujiwara/9785a528bfbfedd8a746c015dfc49a99 to your computer and use it in GitHub Desktop.
aws ecs describe-task-definition --task-definition ecspresso-test --include TAGS | jq '. | {containerDefinitions:.taskDefinition.containerDefinitions, cpu:.taskDefinition.cpu, executionRoleArn:.taskDefinition.executionRoleArn, family:.taskDefinition.family, memory:.taskDefinition.memory, networkMode:.taskDefinition.networkMode, placementConstraints:.taskDefinition.placementConstraints, requiresCompatibilities:.taskDefinition.requiresCompatibilities, taskRoleArn:.taskDefinition.taskRoleArn, proxyConfiguration:.taskDefinition.proxyConfiguration, volumes:.taskDefinition.volumes, tags:.tags}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment