Skip to content

Instantly share code, notes, and snippets.

@gdm
Created June 15, 2019 21:33
Show Gist options
  • Select an option

  • Save gdm/e3f2f87834ec809a48b697e55ec3208b to your computer and use it in GitHub Desktop.

Select an option

Save gdm/e3f2f87834ec809a48b697e55ec3208b to your computer and use it in GitHub Desktop.
AWS-Cloudformation

From https://cloudonaut.io/6-unknown-cloudformation-features-you-should-know-about

  1. cfn-lint

    • yamllint Locally ensures that our yaml is correct
    • cfn-lint Locally checks if the template makes sense
    • aws cloudformation validate-template Sends the template to AWS for validation
    • todo: add more tool (python + ruby) for CF validation
  2. Creation policy see https://github.com/widdix/aws-cf-templates/blob/master/ec2/ec2-auto-recovery.yaml#L560 for example

  3. Update policy

  4. Deletion policy

  5. Update replace policy

  6. cfn-init

From https://cloudonaut.io/own-your-analytics-data-replacing-google-analytics-with-amazon-quicksight/ Own your analytics data: Replacing Google Analytics with Amazon QuickSight

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