terraform taint
Mark a resource instance as not fully functional to force replacement on next apply. Note: This command is deprecated, use
terraform apply -replaceinstead. See also:terraform apply,terraform untaint. More information: https://developer.hashicorp.com/terraform/cli/commands/taint.
- Mark a resource as tainted:
terraform taint
- Mark a resource as tainted, even if the resource is missing:
terraform taint -allow-missing
- Mark a resource as tainted without acquiring a state lock:
terraform taint -lock=false
- Mark a resource as tainted with a custom lock timeout:
terraform taint -lock-timeout=
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
