Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

terraform: prevent_destroy works for decreasing count #9707

Merged
merged 1 commit into from
Oct 31, 2016

Commits on Oct 29, 2016

  1. terraform: prevent_destroy works for decreasing count

    Fixes #5826
    
    The `prevent_destroy` lifecycle configuration was not being checked when
    the count was decreased for a resource with a count. It was only
    checking when attributes changed on pre-existing resources.
    
    This fixes that.
    mitchellh committed Oct 29, 2016
    Configuration menu
    Copy the full SHA
    a332c12 View commit details
    Browse the repository at this point in the history