Skip to content

Commit 5ce99b5

Browse files
committed
chore: update changelog
1 parent a656f71 commit 5ce99b5

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
FEATURES:
44
- Add metering config support to `meshstack_mesh_platform` resource and data source.
5+
- Add quotas to `meshstack_landingzone` resource and data source.
56

67
FIXES:
78
- Correctly model nullable platform config fields.

docs/data-sources/landingzone.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Read-Only:
5050
- `info_link` (String) Link to additional information about the landing zone.
5151
- `platform_properties` (Attributes) Platform-specific configuration options. (see [below for nested schema](#nestedatt--spec--platform_properties))
5252
- `platform_ref` (Attributes) Reference to the platform this landing zone belongs to. (see [below for nested schema](#nestedatt--spec--platform_ref))
53+
- `quotas` (Attributes List) Quota definitions for this landing zone. (see [below for nested schema](#nestedatt--spec--quotas))
5354

5455
<a id="nestedatt--spec--platform_properties"></a>
5556
### Nested Schema for `spec.platform_properties`
@@ -301,6 +302,15 @@ Read-Only:
301302
- `uuid` (String) UUID of the platform.
302303

303304

305+
<a id="nestedatt--spec--quotas"></a>
306+
### Nested Schema for `spec.quotas`
307+
308+
Read-Only:
309+
310+
- `key` (String) Quota key identifier.
311+
- `value` (Number) Quota value.
312+
313+
304314

305315
<a id="nestedatt--status"></a>
306316
### Nested Schema for `status`

docs/resources/landingzone.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Required:
5353
Optional:
5454

5555
- `info_link` (String) Link to additional information about the landing zone.
56+
- `quotas` (Attributes List) Quota definitions for this landing zone. (see [below for nested schema](#nestedatt--spec--quotas))
5657

5758
<a id="nestedatt--spec--platform_properties"></a>
5859
### Nested Schema for `spec.platform_properties`
@@ -304,6 +305,15 @@ Required:
304305
- `uuid` (String) UUID of the platform.
305306

306307

308+
<a id="nestedatt--spec--quotas"></a>
309+
### Nested Schema for `spec.quotas`
310+
311+
Required:
312+
313+
- `key` (String) Quota key identifier. Must match a quota key that has been defined on the plaform.
314+
- `value` (Number) Quota value.
315+
316+
307317

308318
<a id="nestedatt--status"></a>
309319
### Nested Schema for `status`

internal/provider/landingzone_data_source.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@ import (
77
"github.com/meshcloud/terraform-provider-meshstack/client"
88

99
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
10-
"github.com/hashicorp/terraform-plugin-framework/attr"
1110
"github.com/hashicorp/terraform-plugin-framework/datasource"
1211
"github.com/hashicorp/terraform-plugin-framework/datasource/schema"
1312
"github.com/hashicorp/terraform-plugin-framework/path"
14-
"github.com/hashicorp/terraform-plugin-framework/resource/schema/listdefault"
1513
"github.com/hashicorp/terraform-plugin-framework/schema/validator"
1614
"github.com/hashicorp/terraform-plugin-framework/types"
1715
)

internal/provider/landingzone_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (r *landingZoneResource) Schema(_ context.Context, _ resource.SchemaRequest
194194
NestedObject: schema.NestedAttributeObject{
195195
Attributes: map[string]schema.Attribute{
196196
"key": schema.StringAttribute{
197-
MarkdownDescription: "Quota key identifier.",
197+
MarkdownDescription: "Quota key identifier. Must match a quota key that has been defined on the plaform.",
198198
Required: true,
199199
},
200200
"value": schema.Int64Attribute{

0 commit comments

Comments
 (0)