Skip to content

Commit

Permalink
chore: deprecating account and project user
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-savciuc committed Oct 20, 2023
1 parent 5301265 commit 8886667
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ nav_order: 1

# Changelog

- Deprecating `project_user`, `account_team` and `account_team_member resources`
## [5.0.0] - YYYY-MM-DD

- Migrate `aiven_service_integration` to the Plugin Framework
Expand Down
3 changes: 2 additions & 1 deletion internal/sdkprovider/service/account/account_team.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ func ResourceAccountTeam() *schema.Resource {
},
Timeouts: schemautil.DefaultResourceTimeouts(),

Schema: aivenAccountTeamSchema,
Schema: aivenAccountTeamSchema,
DeprecationMessage: "This resource is deprecated",
}
}

Expand Down
3 changes: 2 additions & 1 deletion internal/sdkprovider/service/account/account_team_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ eliminate an account team member if one has accepted an invitation previously.
},
Timeouts: schemautil.DefaultResourceTimeouts(),

Schema: aivenAccountTeamMemberSchema,
Schema: aivenAccountTeamMemberSchema,
DeprecationMessage: "This resource is deprecated",
}
}

Expand Down
3 changes: 2 additions & 1 deletion internal/sdkprovider/service/project/project_user.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ func ResourceProjectUser() *schema.Resource {
},
Timeouts: schemautil.DefaultResourceTimeouts(),

Schema: aivenProjectUserSchema,
Schema: aivenProjectUserSchema,
DeprecationMessage: "This resource is deprecated",
}
}

Expand Down

0 comments on commit 8886667

Please sign in to comment.