Skip to content

Commit

Permalink
chore(project): deprecate obsolete fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel committed Sep 11, 2023
1 parent 7e58842 commit 4cf4d24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ nav_order: 1
- Fix improper omitting in `ToAPI`
- Fix Kafka Topic perfomance
- Add OpenSearch Security Plugin support (`aiven_opensearch_security_plugin_config` resource)
- Deprecate `add_account_owners_admin_access` and `use_source_project_billing_group` fields in `aiven_project` resource

## [4.8.1] - 2023-08-23

Expand Down
6 changes: 6 additions & 0 deletions internal/sdkprovider/service/project/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,17 @@ var aivenProjectSchema = map[string]*schema.Schema{
Optional: true,
DiffSuppressFunc: schemautil.CreateOnlyDiffSuppressFunc,
Description: "Use the same billing group that is used in source project.",
Deprecated: "This field is deprecated and will be removed in the next major release.",
},
"add_account_owners_admin_access": {
Type: schema.TypeBool,
Optional: true,
Description: userconfig.Desc("If parent_id is set, grant account owner team admin access to the new project.").DefaultValue(true).Build(),
Deprecated: "This field is deprecated and will be removed in the next major release. " +
"Currently, it will always be set to true, regardless of the value set in the manifest.",
DiffSuppressFunc: func(_ string, _ string, _ string, _ *schema.ResourceData) bool {
return true
},
},
"project": {
Type: schema.TypeString,
Expand Down

0 comments on commit 4cf4d24

Please sign in to comment.