Skip to content

Commit 670fa6b

Browse files
committed
remove UUID code; update docs
1 parent b530f48 commit 670fa6b

6 files changed

+0
-32
lines changed

apstra/provider.go

-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
"github.com/Juniper/terraform-provider-apstra/apstra/compatibility"
1717
"github.com/Juniper/terraform-provider-apstra/apstra/constants"
1818
"github.com/Juniper/terraform-provider-apstra/apstra/utils"
19-
"github.com/google/uuid"
2019
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
2120
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
2221
"github.com/hashicorp/terraform-plugin-framework/datasource"
@@ -266,8 +265,6 @@ func (o providerConfig) handleMutexFlag(_ context.Context, diags *diag.Diagnosti
266265
}
267266

268267
func (p *Provider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse) {
269-
uuid.SetNodeID([]byte("apstra"))
270-
271268
terraformVersionWarnings(ctx, req.TerraformVersion, &resp.Diagnostics)
272269

273270
// Retrieve provider data from configuration

apstra/utils/uuid.go

-17
This file was deleted.

docs/resources/datacenter_connectivity_template_interface.md

-8
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ Required:
190190

191191
Read-Only:
192192

193-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
194193
- `id` (String) Unique identifier for this CT Primitive element
195194
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
196195

@@ -230,7 +229,6 @@ Required:
230229

231230
Read-Only:
232231

233-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
234232
- `id` (String) Unique identifier for this CT Primitive element
235233
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
236234

@@ -271,7 +269,6 @@ Required:
271269

272270
Read-Only:
273271

274-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
275272
- `id` (String) Unique identifier for this CT Primitive element
276273
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
277274

@@ -287,7 +284,6 @@ Required:
287284

288285
Read-Only:
289286

290-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
291287
- `id` (String) Unique identifier for this CT Primitive element
292288
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
293289

@@ -302,7 +298,6 @@ Required:
302298

303299
Read-Only:
304300

305-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
306301
- `id` (String) Unique identifier for this CT Primitive element
307302
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
308303

@@ -317,7 +312,6 @@ Optional:
317312

318313
Read-Only:
319314

320-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
321315
- `id` (String) Unique identifier for this CT Primitive element
322316
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
323317

@@ -385,7 +379,6 @@ Required:
385379

386380
Read-Only:
387381

388-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
389382
- `id` (String) Unique identifier for this CT Primitive element
390383
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
391384

@@ -401,7 +394,6 @@ Required:
401394

402395
Read-Only:
403396

404-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
405397
- `id` (String) Unique identifier for this CT Primitive element
406398
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
407399

docs/resources/datacenter_connectivity_template_loopback.md

-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ Required:
136136

137137
Read-Only:
138138

139-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
140139
- `id` (String) Unique identifier for this CT Primitive element
141140
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
142141

docs/resources/datacenter_connectivity_template_svi.md

-2
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ Required:
141141

142142
Read-Only:
143143

144-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
145144
- `id` (String) Unique identifier for this CT Primitive element
146145
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
147146

@@ -182,7 +181,6 @@ Required:
182181

183182
Read-Only:
184183

185-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
186184
- `id` (String) Unique identifier for this CT Primitive element
187185
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
188186

docs/resources/datacenter_connectivity_template_system.md

-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ Required:
7878

7979
Read-Only:
8080

81-
- `batch_id` (String) Unique identifier for this CT Primitive Element's downstream collection
8281
- `id` (String) Unique identifier for this CT Primitive element
8382
- `pipeline_id` (String) Unique identifier for this CT Primitive Element's upstream pipeline
8483

0 commit comments

Comments
 (0)