LaunchConfiguration MetaData

If you use the metadata of the LaunchConfiguration, which you use to its full extent, you will potentially run into the issue that your changes don’t trigger an update. CloudFormation evaluates the properties of the LaunchConfiguration to determine if a replacement or in place update needs to happen, it ignores changes in the metadata.

A good approach that worked for me is to put like a date or timestamp into the user data and update it when updating the metadata to trigger a replacement of the resources controlled by the launch configuration.

Be the first to comment on "LaunchConfiguration MetaData"

Leave a comment

Your email address will not be published.