ignore changes

From wikieduonline
Jump to navigation Jump to search

ignore_changes


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

  lifecycle {
    create_before_destroy = true
  }
}

 lifecycle {
   ignore_changes = [
     latest_restorable_time
   ]
 }
 lifecycle {
   ignore_changes = [
     task_definition
   ]
 }


 lifecycle {
   ignore_changes = all
 }
 lifecycle {
   ignore_changes = [user_data]
  }
lifecycle {
  ignore_changes = [master_username, master_password]
}

Errors

Related

See also

Advertising: