Skip to content

Commit 70af420

Browse files
committed
doc: invalid import syntax in docs
1 parent 31fb025 commit 70af420

12 files changed

+12
-12
lines changed

docs/resources/cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,6 @@ variable "replication_factor" {
16091609
## Import
16101610

16111611
```shell
1612-
terraform import resource.redpanda_cluster.example clusterId
1612+
terraform import redpanda_cluster.example clusterId
16131613
```
16141614

docs/resources/network.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,5 +136,5 @@ variable "cloud_provider" {
136136
## Import
137137

138138
```shell
139-
terraform import resource.redpanda_network.example networkId
139+
terraform import redpanda_network.example networkId
140140
```

docs/resources/resource_group.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,5 @@ variable "replication_factor" {
145145
## Import
146146

147147
```shell
148-
terraform import resource.redpanda_resource_group.example resourcegroupId
148+
terraform import redpanda_resource_group.example resourcegroupId
149149
```

docs/resources/serverless_cluster.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,6 @@ variable "region" {
9090
## Import
9191

9292
```shell
93-
terraform import resource.redpanda_serverless_cluster.example serverlessClusterId
93+
terraform import redpanda_serverless_cluster.example serverlessClusterId
9494
```
9595

docs/resources/topic.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ We are not currently able to support topic creation in self hosted clusters. Thi
157157
## Import
158158

159159
```shell
160-
terraform import resource.redpanda_topic.example topicName,clusterId
160+
terraform import redpanda_topic.example topicName,clusterId
161161
```
162162

163163
Where clusterId is the ID of the cluster in Redpanda Cloud

docs/resources/user.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ We are not currently able to support user creation in self hosted clusters. This
163163
## Import
164164

165165
```shell
166-
terraform import resource.redpanda_user.example userName,clusterId
166+
terraform import redpanda_user.example userName,clusterId
167167
```
168168

169169
Where clusterId is the ID of the cluster in Redpanda Cloud

templates/resources/cluster.md.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ We are not currently able to support GCP or Azure BYOVPC clusters.
7878
## Import
7979

8080
```shell
81-
terraform import resource.{{.Name}}.example clusterId
81+
terraform import {{.Name}}.example clusterId
8282
```
8383

templates/resources/network.md.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ Creates a network in the Redpanda Cloud.
2020
## Import
2121

2222
```shell
23-
terraform import resource.{{.Name}}.example networkId
23+
terraform import {{.Name}}.example networkId
2424
```

templates/resources/resource_group.md.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ Creates a Resource Group in the Redpanda Cloud.
2020
## Import
2121

2222
```shell
23-
terraform import resource.{{.Name}}.example resourcegroupId
23+
terraform import {{.Name}}.example resourcegroupId
2424
```

templates/resources/serverless_cluster.md.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ We are not currently able to support the provisioning of serverless clusters on
3030
## Import
3131

3232
```shell
33-
terraform import resource.{{.Name}}.example serverlessClusterId
33+
terraform import {{.Name}}.example serverlessClusterId
3434
```
3535

templates/resources/topic.md.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ We are not currently able to support topic creation in self hosted clusters. Thi
2424
## Import
2525

2626
```shell
27-
terraform import resource.{{.Name}}.example topicName,clusterId
27+
terraform import {{.Name}}.example topicName,clusterId
2828
```
2929

3030
Where clusterId is the ID of the cluster in Redpanda Cloud

templates/resources/user.md.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ We are not currently able to support user creation in self hosted clusters. This
3232
## Import
3333

3434
```shell
35-
terraform import resource.{{.Name}}.example userName,clusterId
35+
terraform import {{.Name}}.example userName,clusterId
3636
```
3737

3838
Where clusterId is the ID of the cluster in Redpanda Cloud

0 commit comments

Comments
 (0)