Skip to content

Commit

Permalink
Merge pull request #2944 from hashicorp/b-aws-document-lifecycle-dep
Browse files Browse the repository at this point in the history
Document `create_before_destroy` limitation
  • Loading branch information
catsby committed Aug 6, 2015
2 parents fd2b943 + 13e50e6 commit f238e25
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/source/docs/configuration/resources.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ The `lifecycle` block allows the following keys to be set:
destruction of a given resource. When this is set to `true`, any plan
that includes a destroy of this resource will return an error message.

~> **NOTE on create\_before\_destroy and dependencies:** Resources that utilize
the `create_before_destroy` key can only depend on other resources that also
include `create_before_destroy`. Referencing a resource that does not include
`create_before_destroy` will result in a dependency graph cycle.

-------------

Within a resource, you can optionally have a **connection block**.
Expand Down

0 comments on commit f238e25

Please sign in to comment.