diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e33407f4..dc19b38bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,7 +16,7 @@ nav_order: 1 - Fix `aiven_kafka_schema` JSON object diff suppress function - Add new user config generator - Use `TypeSet` for `ip_filter`, `ip_filter_string` fields - +- Output explicitly `termination_protection = true -> false` when service property is removed ## [4.13.3] - 2024-01-29 diff --git a/internal/schemautil/service.go b/internal/schemautil/service.go index 30cd5d7b9..e19ee9cbb 100644 --- a/internal/schemautil/service.go +++ b/internal/schemautil/service.go @@ -122,6 +122,7 @@ func ServiceCommonSchema() map[string]*schema.Schema { "termination_protection": { Type: schema.TypeBool, Optional: true, + Default: false, Description: "Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.", }, "disk_space": {