Difference between revisions of "Ignore changes"

From wikieduonline
Jump to navigation Jump to search
 
Line 32: Line 32:
 
   }
 
   }
  
 +
lifecycle {
 +
  ignore_changes = [master_username, master_password]
 +
}
  
 
== Errors ==
 
== Errors ==

Latest revision as of 12:25, 1 August 2024

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[edit]

Related[edit]

See also[edit]

Advertising: