Skip to content

Commit 09e419f

Browse files
committed
docs: regenerate documentation with correct security_groups attribute
Run 'go generate ./...' to regenerate docs with security_groups (plural) instead of security_group (singular) in file_system_param schema
1 parent a2726c4 commit 09e419f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/data-sources/kafka_instance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Read-Only:
8686
Read-Only:
8787

8888
- `file_system_count` (Number) Number of file systems
89-
- `security_group` (String) Security group for file systems
89+
- `security_groups` (List of String) Security groups for file systems
9090
- `throughput_mibps_per_file_system` (Number) Throughput in MiBps per file system
9191

9292

docs/resources/kafka_instance.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ resource "automq_kafka_instance" "fswal_example" {
9494
file_system_param = {
9595
throughput_mibps_per_file_system = 1000
9696
file_system_count = 2
97-
security_group = "sg-example123" # Optional, auto-generated if not provided
97+
security_groups = ["sg-example123"] # Optional, auto-generated if not provided. If specified, must contain at least one security group.
9898
}
9999
}
100100
@@ -186,7 +186,7 @@ Required:
186186

187187
Optional:
188188

189-
- `security_group` (String) Security group for file systems. If not provided, will be auto-generated by the backend.
189+
- `security_groups` (List of String) Security groups for file systems. If not provided, will be auto-generated by the backend.
190190

191191

192192
<a id="nestedatt--compute_specs--kubernetes_node_groups"></a>

examples/resources/automq_kafka_instance/resource.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ resource "automq_kafka_instance" "fswal_example" {
7474
file_system_param = {
7575
throughput_mibps_per_file_system = 1000
7676
file_system_count = 2
77-
security_groups = ["sg-example123"] # Optional, auto-generated if not provided
77+
security_groups = ["sg-example123"] # Optional, auto-generated if not provided. If specified, must contain at least one security group.
7878
}
7979
}
8080

0 commit comments

Comments
 (0)