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

core: fix resource targeting w/ provisioners #1544

Merged
merged 1 commit into from
Apr 30, 2015

Commits on Apr 27, 2015

  1. core: fix targeting in destroy w/ provisioners

    The `TargetTransform` was dropping provisioner nodes, which caused graph
    validation to fail with messages about uninitialized provisioners when a
    `terraform destroy` was attempted.
    
    This was because `destroy` flops the dependency calculation to try and
    address any nodes in the graph that "depend on" the target node. But we
    still need to keep the provisioner node in the graph.
    
    Here we switch the strategy for filtering nodes to only drop
    addressable, non-targeted nodes. This should prevent us from having to
    whitelist nodes to keep in the future.
    
    closes #1541
    phinze committed Apr 27, 2015
    Configuration menu
    Copy the full SHA
    5e67657 View commit details
    Browse the repository at this point in the history