Skip to content

Commit

Permalink
remove UUID code; update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismarget-j committed Dec 18, 2024
1 parent b530f48 commit 670fa6b
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 32 deletions.
3 changes: 0 additions & 3 deletions apstra/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import (
"github.com/Juniper/terraform-provider-apstra/apstra/compatibility"
"github.com/Juniper/terraform-provider-apstra/apstra/constants"
"github.com/Juniper/terraform-provider-apstra/apstra/utils"
"github.com/google/uuid"
"github.com/hashicorp/terraform-plugin-framework-validators/int64validator"
"github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator"
"github.com/hashicorp/terraform-plugin-framework/datasource"
Expand Down Expand Up @@ -266,8 +265,6 @@ func (o providerConfig) handleMutexFlag(_ context.Context, diags *diag.Diagnosti
}

func (p *Provider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse) {
uuid.SetNodeID([]byte("apstra"))

terraformVersionWarnings(ctx, req.TerraformVersion, &resp.Diagnostics)

// Retrieve provider data from configuration
Expand Down
17 changes: 0 additions & 17 deletions apstra/utils/uuid.go

This file was deleted.

8 changes: 0 additions & 8 deletions docs/resources/datacenter_connectivity_template_interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ Required:

Read-Only:

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

Expand Down Expand Up @@ -230,7 +229,6 @@ Required:

Read-Only:

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

Expand Down Expand Up @@ -271,7 +269,6 @@ Required:

Read-Only:

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

Expand All @@ -287,7 +284,6 @@ Required:

Read-Only:

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

Expand All @@ -302,7 +298,6 @@ Required:

Read-Only:

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

Expand All @@ -317,7 +312,6 @@ Optional:

Read-Only:

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

Expand Down Expand Up @@ -385,7 +379,6 @@ Required:

Read-Only:

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

Expand All @@ -401,7 +394,6 @@ Required:

Read-Only:

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ Required:

Read-Only:

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

Expand Down
2 changes: 0 additions & 2 deletions docs/resources/datacenter_connectivity_template_svi.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ Required:

Read-Only:

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

Expand Down Expand Up @@ -182,7 +181,6 @@ Required:

Read-Only:

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

Expand Down
1 change: 0 additions & 1 deletion docs/resources/datacenter_connectivity_template_system.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ Required:

Read-Only:

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

Expand Down

0 comments on commit 670fa6b

Please sign in to comment.