Terraform lifecycle meta-argument

From wikieduonline
Jump to navigation Jump to search

Options[edit]

Examples[edit]

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

  lifecycle {
    create_before_destroy = true
  }
}

 lifecycle {
   ignore_changes = [
     latest_restorable_time
   ]
 }

Related[edit]

See also[edit]

Advertising: