Apply suggestions from code review
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
parent
c6de87354a
commit
fa4c590f51
|
@ -46,8 +46,7 @@ The following arguments can be used within a `lifecycle` block:
|
|||
type before using `create_before_destroy` with it.
|
||||
|
||||
Destroy provisioners of this resource will not run if `create_before_destroy`
|
||||
is used. This limitation may be addressed in the future, see
|
||||
[GitHub issue](https://github.com/hashicorp/terraform/issues/13549) for details.
|
||||
is set to `true`. We may address this in the future, and this [GitHub issue](https://github.com/hashicorp/terraform/issues/13549) contains more details.
|
||||
|
||||
* `prevent_destroy` (bool) - This meta-argument, when set to `true`, will
|
||||
cause Terraform to reject with an error any plan that would destroy the
|
||||
|
|
|
@ -237,10 +237,8 @@ fail, Terraform will error and rerun the provisioners again on the next
|
|||
`terraform apply`. Due to this behavior, care should be taken for destroy
|
||||
provisioners to be safe to run multiple times.
|
||||
|
||||
Destroy provisioners will not run if the lifecycle Meta-Argument
|
||||
[`create_before_destroy`](/docs/language/meta-arguments/lifecycle.html) is used
|
||||
in the resource. This limitation may be addressed in the future, see
|
||||
[GitHub issue](https://github.com/hashicorp/terraform/issues/13549) for details.
|
||||
Destroy provisioners of this resource will not run if `create_before_destroy`
|
||||
is set to `true`. We may address this in the future, and this [GitHub issue](https://github.com/hashicorp/terraform/issues/13549) contains more details.
|
||||
|
||||
Destroy-time provisioners can only run if they remain in the configuration
|
||||
at the time a resource is destroyed. If a resource block with a destroy-time
|
||||
|
|
Loading…
Reference in New Issue