Created
September 16, 2021 14:49
-
-
Save anna-geller/f081e6729a9941bab0e42f13a05ec1ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"family": "ecsDemo", | |
"requiresCompatibilities": ["FARGATE"], | |
"networkMode": "awsvpc", | |
"cpu": "256", | |
"memory": "512", | |
"taskRoleArn": "arn:aws:iam::123456:role/ecs-athena-glue-s3-role", | |
"executionRoleArn": "arn:aws:iam::123456:role/ecs-task-execution-role", | |
"containerDefinitions": [ | |
{ | |
"name": "ecsDemo", | |
"image": "123456.dkr.ecr.YOUR_REGION.amazonaws.com/stockdata:latest", | |
"essential": true, | |
"logConfiguration": { | |
"logDriver": "awslogs", | |
"options": { | |
"awslogs-group": "/ecs/ecsDemo", | |
"awslogs-region": "YOUR_REGION", | |
"awslogs-stream-prefix": "ecs", | |
"awslogs-create-group": "true" | |
} | |
}, | |
"secrets": [ | |
{ | |
"name": "ALPHAVANTAGE_API_KEY", | |
"valueFrom": "arn:aws:ssm:YOUR_REGION:123456:parameter/ALPHAVANTAGE_API_KEY" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment