diff --git a/docs/data-sources/project.md b/docs/data-sources/project.md index dc3710298..3054188b1 100644 --- a/docs/data-sources/project.md +++ b/docs/data-sources/project.md @@ -36,7 +36,7 @@ data "aiven_project" "example_project" { - `default_cloud` (String) Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services. - `estimated_balance` (String) The monthly running estimate for this project for the current billing period. - `id` (String) The ID of this resource. -- `parent_id` (String) Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference. +- `parent_id` (String) Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference. - `payment_method` (String) The payment type used for this project. For example,`card`. - `tag` (Set of Object) Tags are key-value pairs that allow you to categorize projects. (see [below for nested schema](#nestedatt--tag)) - `technical_emails` (Set of String) The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project. diff --git a/docs/resources/organization.md b/docs/resources/organization.md index 76388c2fd..ceb65abbc 100644 --- a/docs/resources/organization.md +++ b/docs/resources/organization.md @@ -3,12 +3,12 @@ page_title: "aiven_organization Resource - terraform-provider-aiven" subcategory: "" description: |- - Creates and manages an organization https://aiven.io/docs/platform/concepts/projects_accounts_access. + Creates and manages an organization https://aiven.io/docs/platform/concepts/orgs-units-projects. --- # aiven_organization (Resource) -Creates and manages an [organization](https://aiven.io/docs/platform/concepts/projects_accounts_access). +Creates and manages an [organization](https://aiven.io/docs/platform/concepts/orgs-units-projects). ## Example Usage diff --git a/docs/resources/organization_group_project.md b/docs/resources/organization_group_project.md index e8349f427..da77348fb 100644 --- a/docs/resources/organization_group_project.md +++ b/docs/resources/organization_group_project.md @@ -3,12 +3,12 @@ page_title: "aiven_organization_group_project Resource - terraform-provider-aiven" subcategory: "" description: |- - Adds and manages a group https://aiven.io/docs/platform/concepts/projects_accounts_access#groups of users as members of a project https://aiven.io/docs/platform/reference/project-member-privileges. + Adds and manages a group https://aiven.io/docs/platform/howto/list-groups of users as members of a project https://aiven.io/docs/platform/reference/project-member-privileges. --- # aiven_organization_group_project (Resource) -Adds and manages a [group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges). +Adds and manages a [group](https://aiven.io/docs/platform/howto/list-groups) of users as [members of a project](https://aiven.io/docs/platform/reference/project-member-privileges). ## Example Usage diff --git a/docs/resources/organization_user_group.md b/docs/resources/organization_user_group.md index a96d19bd4..499b92340 100644 --- a/docs/resources/organization_user_group.md +++ b/docs/resources/organization_user_group.md @@ -3,12 +3,12 @@ page_title: "aiven_organization_user_group Resource - terraform-provider-aiven" subcategory: "" description: |- - Creates and manages a user group https://aiven.io/docs/platform/concepts/projects_accounts_access#groups in an organization. + Creates and manages a user group https://aiven.io/docs/platform/howto/list-groups in an organization. --- # aiven_organization_user_group (Resource) -Creates and manages a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) in an organization. +Creates and manages a [user group](https://aiven.io/docs/platform/howto/list-groups) in an organization. ## Example Usage diff --git a/docs/resources/organization_user_group_member.md b/docs/resources/organization_user_group_member.md index 419b9b332..6a55b2356 100644 --- a/docs/resources/organization_user_group_member.md +++ b/docs/resources/organization_user_group_member.md @@ -3,12 +3,12 @@ page_title: "aiven_organization_user_group_member Resource - terraform-provider-aiven" subcategory: "" description: |- - Adds and manages users in a user group https://aiven.io/docs/platform/concepts/projects_accounts_access#groups. + Adds and manages users in a user group https://aiven.io/docs/platform/howto/list-groups. --- # aiven_organization_user_group_member (Resource) -Adds and manages users in a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups). +Adds and manages users in a [user group](https://aiven.io/docs/platform/howto/list-groups). ## Example Usage diff --git a/docs/resources/organizational_unit.md b/docs/resources/organizational_unit.md index 0c520ff1a..f4ae3cd9a 100644 --- a/docs/resources/organizational_unit.md +++ b/docs/resources/organizational_unit.md @@ -3,12 +3,12 @@ page_title: "aiven_organizational_unit Resource - terraform-provider-aiven" subcategory: "" description: |- - Creates and manages an organizational unit https://aiven.io/docs/platform/concepts/projects_accounts_access in an Aiven organization. + Creates and manages an organizational unit https://aiven.io/docs/platform/concepts/orgs-units-projects in an Aiven organization. --- # aiven_organizational_unit (Resource) -Creates and manages an [organizational unit](https://aiven.io/docs/platform/concepts/projects_accounts_access) in an Aiven organization. +Creates and manages an [organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) in an Aiven organization. ## Example Usage diff --git a/docs/resources/project.md b/docs/resources/project.md index 20604525f..052418a2e 100644 --- a/docs/resources/project.md +++ b/docs/resources/project.md @@ -3,12 +3,12 @@ page_title: "aiven_project Resource - terraform-provider-aiven" subcategory: "" description: |- - Creates and manages an Aiven project https://aiven.io/docs/platform/concepts/projects_accounts_access#projects. + Creates and manages an Aiven project https://aiven.io/docs/platform/concepts/orgs-units-projects#projects. --- # aiven_project (Resource) -Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/projects_accounts_access#projects). +Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/orgs-units-projects#projects). ## Example Usage @@ -33,7 +33,7 @@ resource "aiven_project" "example_project" { - `billing_group` (String) The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference. - `copy_from_project` (String) The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference. - `default_cloud` (String) Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services. -- `parent_id` (String) Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference. +- `parent_id` (String) Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference. - `tag` (Block Set) Tags are key-value pairs that allow you to categorize projects. (see [below for nested schema](#nestedblock--tag)) - `technical_emails` (Set of String) The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project. - `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts)) diff --git a/examples/organization/README.md b/examples/organization/README.md index 8d239c64c..fb4cfb221 100644 --- a/examples/organization/README.md +++ b/examples/organization/README.md @@ -1,6 +1,6 @@ # Aiven organizations, units, and projects example -The Aiven platform uses [organizations, organizational units, and projects](https://aiven.io/docs/platform/concepts/projects_accounts_access) to organize services. +The Aiven platform uses [organizations, organizational units, and projects](https://aiven.io/docs/platform/concepts/orgs-units-projects) to organize services. This example shows you how to use the Aiven Provider for Terraform to create an organization with two organizaitonal units, and add projects to those units. diff --git a/internal/plugin/service/organization/organization_group_project.go b/internal/plugin/service/organization/organization_group_project.go index d64fe2384..5bf56bca5 100644 --- a/internal/plugin/service/organization/organization_group_project.go +++ b/internal/plugin/service/organization/organization_group_project.go @@ -80,7 +80,7 @@ func (r *organizationGroupProjectResource) Schema( resp.Schema = util.GeneralizeSchema(ctx, schema.Schema{ Description: userconfig.Desc( "Adds and manages a " + - "[group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) of users as " + + "[group](https://aiven.io/docs/platform/howto/list-groups) of users as " + "[members of a project](https://aiven.io/docs/platform/reference/project-member-privileges).", ). Build(), diff --git a/internal/plugin/service/organization/organization_resource.go b/internal/plugin/service/organization/organization_resource.go index 01afad5fe..50603f865 100644 --- a/internal/plugin/service/organization/organization_resource.go +++ b/internal/plugin/service/organization/organization_resource.go @@ -73,7 +73,7 @@ func (r *organizationResource) TypeName() string { // Schema defines the schema for the organization resource. func (r *organizationResource) Schema(ctx context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) { resp.Schema = util.GeneralizeSchema(ctx, schema.Schema{ - Description: "Creates and manages an [organization](https://aiven.io/docs/platform/concepts/projects_accounts_access).", + Description: "Creates and manages an [organization](https://aiven.io/docs/platform/concepts/orgs-units-projects).", Attributes: map[string]schema.Attribute{ "id": schema.StringAttribute{ Description: "ID of the organization.", diff --git a/internal/plugin/service/organization/organization_user_group_member.go b/internal/plugin/service/organization/organization_user_group_member.go index 3d777d59d..fcf84b70d 100644 --- a/internal/plugin/service/organization/organization_user_group_member.go +++ b/internal/plugin/service/organization/organization_user_group_member.go @@ -79,7 +79,7 @@ func (r *organizationUserGroupMembersResource) Schema( resp.Schema = util.GeneralizeSchema(ctx, schema.Schema{ Description: userconfig.Desc( "Adds and manages users in a " + - "[user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups).", + "[user group](https://aiven.io/docs/platform/howto/list-groups).", ). Build(), Attributes: map[string]schema.Attribute{ diff --git a/internal/sdkprovider/service/organization/organization_user_group.go b/internal/sdkprovider/service/organization/organization_user_group.go index abbae921d..7cecc0179 100644 --- a/internal/sdkprovider/service/organization/organization_user_group.go +++ b/internal/sdkprovider/service/organization/organization_user_group.go @@ -48,7 +48,7 @@ var aivenOrganizationUserGroupSchema = map[string]*schema.Schema{ func ResourceOrganizationUserGroup() *schema.Resource { return &schema.Resource{ - Description: "Creates and manages a [user group](https://aiven.io/docs/platform/concepts/projects_accounts_access#groups) in an organization.", + Description: "Creates and manages a [user group](https://aiven.io/docs/platform/howto/list-groups) in an organization.", CreateContext: resourceOrganizationUserGroupCreate, ReadContext: resourceOrganizationUserGroupRead, UpdateContext: resourceOrganizationUserGroupUpdate, diff --git a/internal/sdkprovider/service/organization/organizational_unit.go b/internal/sdkprovider/service/organization/organizational_unit.go index 4b851c97a..025c857cc 100644 --- a/internal/sdkprovider/service/organization/organizational_unit.go +++ b/internal/sdkprovider/service/organization/organizational_unit.go @@ -40,7 +40,7 @@ var aivenOrganizationalUnitSchema = map[string]*schema.Schema{ func ResourceOrganizationalUnit() *schema.Resource { return &schema.Resource{ - Description: "Creates and manages an [organizational unit](https://aiven.io/docs/platform/concepts/projects_accounts_access) in an Aiven organization.", + Description: "Creates and manages an [organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) in an Aiven organization.", CreateContext: resourceOrganizationalUnitCreate, ReadContext: resourceOrganizationalUnitRead, UpdateContext: resourceOrganizationalUnitUpdate, diff --git a/internal/sdkprovider/service/project/project.go b/internal/sdkprovider/service/project/project.go index 0afddd659..d2372408c 100644 --- a/internal/sdkprovider/service/project/project.go +++ b/internal/sdkprovider/service/project/project.go @@ -41,7 +41,7 @@ var aivenProjectSchema = map[string]*schema.Schema{ Type: schema.TypeString, Optional: true, Description: userconfig.Desc( - "Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID.", + "Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID.", ).Referenced().Build(), DiffSuppressFunc: func(_, _, _ string, d *schema.ResourceData) bool { _, ok := d.GetOk("account_id") @@ -134,7 +134,7 @@ var aivenProjectSchema = map[string]*schema.Schema{ func ResourceProject() *schema.Resource { return &schema.Resource{ - Description: "Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/projects_accounts_access#projects).", + Description: "Creates and manages an [Aiven project](https://aiven.io/docs/platform/concepts/orgs-units-projects#projects).", CreateContext: resourceProjectCreate, ReadContext: resourceProjectRead, UpdateContext: resourceProjectUpdate,