Skip to content

Commit

Permalink
fix: termination_protection diff true -> null (#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
byashimov authored Feb 16, 2024
1 parent 1f88422 commit 0658b09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ nav_order: 1
- Use `TypeSet` for `ip_filter`, `ip_filter_string` fields
- Fix `aiven_organization_user_group` resource - `description` field is required
- Use golang 1.22
- Output explicitly `termination_protection = true -> false` when service property is removed

## [4.13.3] - 2024-01-29

Expand Down
1 change: 1 addition & 0 deletions internal/schemautil/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 0658b09

Please sign in to comment.