aws-airflow-stack icon indicating copy to clipboard operation
aws-airflow-stack copied to clipboard

Nested stack

Open olmax99 opened this issue 5 years ago • 1 comments

1. Comments

  • Comments are good, we love comments!!

2. Structure

  • More granular templates folder <- easier for maintaining and debugging
    • turbine-resource.template contains all the Turbine support services
    • The security groups have a dedicated template
    • CI has its own sub folder
  • Templates split in cluster, services, and ci

3. Log and Deployment Bucket

  • Private Buckets by default (explicit)

Incident: After dag run, CloudFormation DELETE_FAILED with "Logs and Deployment Bucket are not empty"

  • Added custom Cfn event + Lambda function for cleaning deployments bucket content when delete-stack
  • Retain Logs bucket for error investigation or dag data archiving

olmax99 avatar Nov 04 '19 08:11 olmax99

Oohh this is good stuff. Gonna review it soon.

villasv avatar Nov 04 '19 12:11 villasv