Terraform lifecycle meta-argument

From wikieduonline
Revision as of 13:12, 16 August 2023 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
create_before_destroy | prevent_destroy | ignore_changes | replace_triggered_by


Options

Examples

resource "azurerm_resource_group" "example" {
  # ...

  lifecycle {
    create_before_destroy = true
  }
}

 lifecycle {
   ignore_changes = [
     latest_restorable_time
   ]
 }

Related

See also

Advertising: