Skip to content

Conversation

@sharabash
Copy link

This commit adds a feature which allows the user to provide a Proc
callback to the VagrantPlugins::AWS::Config class. If set, then
immediately after the instance is terminated (in the destroy lifecycle),
the callback will get called. This facilitates use-cases where the user
needs to do post-terminate cleanup work, such as removing associated
Route53 records or anything else.

This commit adds a feature which allows the user to provide a Proc
callback to the VagrantPlugins::AWS::Config class. If set, then
immediately after the instance is terminated (in the destroy lifecycle),
the callback will get called. This facilitates use-cases where the user
needs to do post-destroy cleanup tasks, such as removing associated
Route53 records or anything else.
Copy link
Owner

@mkubenka mkubenka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update config spec test with new option.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants