Skip to content

Commit c47e6c8

Browse files
committed
fix: remove unnecessary required state
1 parent 0f61f84 commit c47e6c8

2 files changed

Lines changed: 15 additions & 12 deletions

File tree

docs/resources/cluster.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,16 @@ Required:
231231
- `node_security_group` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--node_security_group))
232232
- `permissions_boundary_policy` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--permissions_boundary_policy))
233233
- `redpanda_agent_security_group` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--redpanda_agent_security_group))
234-
- `redpanda_connect_node_group_instance_profile` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--redpanda_connect_node_group_instance_profile))
235234
- `redpanda_connect_security_group` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--redpanda_connect_security_group))
236235
- `redpanda_node_group_instance_profile` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--redpanda_node_group_instance_profile))
237236
- `redpanda_node_group_security_group` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--redpanda_node_group_security_group))
238237
- `utility_node_group_instance_profile` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--utility_node_group_instance_profile))
239238
- `utility_security_group` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--utility_security_group))
240239

240+
Optional:
241+
242+
- `redpanda_connect_node_group_instance_profile` (Attributes) (see [below for nested schema](#nestedatt--customer_managed_resources--aws--redpanda_connect_node_group_instance_profile))
243+
241244
<a id="nestedatt--customer_managed_resources--aws--agent_instance_profile"></a>
242245
### Nested Schema for `customer_managed_resources.aws.agent_instance_profile`
243246

@@ -310,18 +313,10 @@ Required:
310313
- `arn` (String) ARN for the redpanda agent security group
311314

312315

313-
<a id="nestedatt--customer_managed_resources--aws--redpanda_connect_node_group_instance_profile"></a>
314-
### Nested Schema for `customer_managed_resources.aws.redpanda_connect_node_group_instance_profile`
315-
316-
Required:
317-
318-
- `arn` (String) ARN for the Redpanda Connect node group instance profile
319-
320-
321316
<a id="nestedatt--customer_managed_resources--aws--redpanda_connect_security_group"></a>
322317
### Nested Schema for `customer_managed_resources.aws.redpanda_connect_security_group`
323318

324-
Required:
319+
Optional:
325320

326321
- `arn` (String) ARN for the Redpanda Connect security group
327322

@@ -358,6 +353,14 @@ Required:
358353
- `arn` (String) ARN for the utility security group
359354

360355

356+
<a id="nestedatt--customer_managed_resources--aws--redpanda_connect_node_group_instance_profile"></a>
357+
### Nested Schema for `customer_managed_resources.aws.redpanda_connect_node_group_instance_profile`
358+
359+
Required:
360+
361+
- `arn` (String) ARN for the Redpanda Connect node group instance profile
362+
363+
361364

362365
<a id="nestedatt--customer_managed_resources--gcp"></a>
363366
### Nested Schema for `customer_managed_resources.gcp`

redpanda/resources/cluster/schema_resource.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ func ResourceClusterSchema(ctx context.Context) schema.Schema {
10011001
},
10021002
},
10031003
"redpanda_connect_node_group_instance_profile": schema.SingleNestedAttribute{
1004-
Required: true,
1004+
Optional: true,
10051005
Attributes: map[string]schema.Attribute{
10061006
"arn": schema.StringAttribute{
10071007
Required: true,
@@ -1013,7 +1013,7 @@ func ResourceClusterSchema(ctx context.Context) schema.Schema {
10131013
Required: true,
10141014
Attributes: map[string]schema.Attribute{
10151015
"arn": schema.StringAttribute{
1016-
Required: true,
1016+
Optional: true,
10171017
Description: "ARN for the Redpanda Connect security group",
10181018
},
10191019
},

0 commit comments

Comments
 (0)