Skip to content

Instantly share code, notes, and snippets.

@thierryturpin
Last active June 12, 2020 13:45
Show Gist options
  • Save thierryturpin/8ae1f18e6bf03d4faa24389d431c2d5e to your computer and use it in GitHub Desktop.
Save thierryturpin/8ae1f18e6bf03d4faa24389d431c2d5e to your computer and use it in GitHub Desktop.
version: 1
task_definition:
task_execution_role : arn:aws:iam::662050899999:role/airflow-dev-ecs
services:
webserver:
mem_limit: 1G
secrets:
- value_from: "arn:aws:secretsmanager:eu-west-1:662050899999:secret:airflow-dev/rds-123456:host::"
name: POSTGRES_HOST
- value_from: "arn:aws:secretsmanager:eu-west-1:662050899999:secret:airflow-dev/rds-123456:port::"
name: POSTGRES_PORT
- value_from: "arn:aws:secretsmanager:eu-west-1:662050899999:secret:airflow-dev/rds-123456:username::"
name: POSTGRES_USER
- value_from: "arn:aws:secretsmanager:eu-west-1:662050899999:secret:airflow-dev/rds-123456:password::"
name: POSTGRES_PASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment