Skip to content

Commit 4aaeef0

Browse files
committed
docs: landing_zone_identifier optional only for sr platform
1 parent e8b6792 commit 4aaeef0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/resources/tenant.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Read-Only:
6666

6767
Optional:
6868

69-
- `landing_zone_identifier` (String) Identifier of landing zone to assign to this tenant.
69+
- `landing_zone_identifier` (String) Identifier of landing zone to assign to this tenant. **Note:** This field is only optional for platform type SERVICEREGISTRY, otherwise it is required.
7070
- `local_id` (String) Tenant ID local to the platform (e.g. GCP project ID, Azure subscription ID). Setting the local ID means that a tenant with this ID should be imported into meshStack. Not setting a local ID means that a new tenant should be created. Field will be empty until a successful replication has run. **Note:** Importing is a high-privileged operation and setting this field is possible only when using API Keys with admin permissions for saving tenants.
7171
- `quotas` (Attributes List) Set of applied tenant quotas. By default the landing zone quotas are applied to new tenants. (see [below for nested schema](#nestedatt--spec--quotas))
7272

internal/provider/tenant_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (r *tenantResource) Schema(_ context.Context, _ resource.SchemaRequest, res
116116
Computed: true,
117117
},
118118
"landing_zone_identifier": schema.StringAttribute{
119-
MarkdownDescription: "Identifier of landing zone to assign to this tenant.",
119+
MarkdownDescription: "Identifier of landing zone to assign to this tenant. **Note:** This field is only optional for platform type SERVICEREGISTRY, otherwise it is required.",
120120
Optional: true,
121121
Computed: true,
122122
},

0 commit comments

Comments
 (0)