You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# default_credential_type = "azure_cli" # Optional override of the DefaultAzureCredential chain
49
+
# allow_application_type_version_updates = true
49
50
}
50
51
```
51
52
52
53
Optional provider argument `application_recreate_on_upgrade` (default `true`) controls whether replacing an existing application triggers a Service Fabric upgrade with ForceRestart instead of deleting the application.
54
+
Set `allow_application_type_version_updates = true` to enable in-place updates of `servicefabric_application_type` versions during Terraform apply (the previous version remains registered in the cluster unless you unprovision it manually).
-`default_credential_type` (Optional) Restrict the DefaultAzureCredential chain to a single credential (`default`, `environment`, `workload_identity`, `managed_identity`, `azure_cli`, `azure_developer_cli`, `azure_powershell`).
56
56
-`application_recreate_on_upgrade` (Optional) When true, replacements of existing applications trigger an upgrade with ForceRestart instead of deleting and recreating the application.
57
+
-`allow_application_type_version_updates` (Optional) Permit in-place updates to `servicefabric_application_type` versions. When true, Terraform will show an update instead of a replacement, even though the previous version remains registered unless manually unprovisioned.
Description: "When true, replacements of existing applications trigger a Service Fabric upgrade with ForceRestart instead of deleting and recreating the application. Defaults to true.",
Description: "When true, version changes for servicefabric_application_type are applied in-place instead of forcing Terraform replacement. Use with caution: Terraform will treat the existing resource as updated even though the old version may remain registered in the cluster.",
"Application type version change requires replacement",
181
-
"Terraform planned an in-place update but version changes are handled via resource replacement. Set `lifecycle { create_before_destroy = true }` if you need zero-downtime upgrades.",
222
+
"Terraform planned an in-place update but version changes are handled via resource replacement. Enable provider setting `allow_application_type_version_updates` to permit in-place updates, or set `lifecycle { create_before_destroy = true }` for zero-downtime upgrades.",
0 commit comments