From f8ca719f5a09e6526a81ef404fa34fccc266be82 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Mon, 14 Aug 2023 17:19:27 +0100 Subject: [PATCH 01/31] provider skeleton --- provider/internal/device/ftd/operation.go | 43 ++++++ provider/internal/device/ftd/resource.go | 164 ++++++++++++++++++++++ 2 files changed, 207 insertions(+) create mode 100644 provider/internal/device/ftd/operation.go create mode 100644 provider/internal/device/ftd/resource.go diff --git a/provider/internal/device/ftd/operation.go b/provider/internal/device/ftd/operation.go new file mode 100644 index 00000000..6c130cf3 --- /dev/null +++ b/provider/internal/device/ftd/operation.go @@ -0,0 +1,43 @@ +package ftd + +import ( + "context" +) + +func Read(ctx context.Context, resource *Resource, stateData *ResourceModel) error { + // TODO: fill me + + // do read + + // map return struct to sdc model + + return nil +} + +func Create(ctx context.Context, resource *Resource, planData *ResourceModel) error { + // TODO: fill me + + // do create + + // map return struct to sdc model + + return nil +} + +func Update(ctx context.Context, resource *Resource, planData *ResourceModel, stateData *ResourceModel) error { + // TODO: fill me + + // do update + + // map return struct to sdc model + + return nil +} + +func Delete(ctx context.Context, resource *Resource, stateData *ResourceModel) error { + // TODO: fill me + + // do delete + + return nil +} diff --git a/provider/internal/device/ftd/resource.go b/provider/internal/device/ftd/resource.go new file mode 100644 index 00000000..be9a964e --- /dev/null +++ b/provider/internal/device/ftd/resource.go @@ -0,0 +1,164 @@ +package ftd + +import ( + "context" + "fmt" + + cdoClient "github.com/CiscoDevnet/terraform-provider-cdo/go-client" + "github.com/hashicorp/terraform-plugin-framework/path" + "github.com/hashicorp/terraform-plugin-framework/resource" + "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-log/tflog" +) + +var _ resource.Resource = &Resource{} +var _ resource.ResourceWithImportState = &Resource{} + +func NewResource() resource.Resource { + return &Resource{} +} + +type Resource struct { + client *cdoClient.Client +} + +type ResourceModel struct { + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + // TODO: fill me +} + +func (r *Resource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { + resp.TypeName = req.ProviderTypeName + "_ftd" +} + +func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { + resp.Schema = schema.Schema{ + MarkdownDescription: "Provides an Firepower Threat Defense device resource. This allows FTD to be onboarded, updated, and deleted on CDO.", + + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + MarkdownDescription: "Unique identifier of the device. This is a UUID and will be automatically generated when the device is created.", + Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + }, + "name": schema.StringAttribute{ + MarkdownDescription: "A human-readable name for the Secure Device Connector (SDC). This should be unique among SDCs", + Required: true, + }, + // TODO: fill me + }, + } +} + +func (r *Resource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse) { + if req.ProviderData == nil { + return + } + + client, ok := req.ProviderData.(*cdoClient.Client) + + if !ok { + resp.Diagnostics.AddError( + "Unexpected Resource Configure Type", + fmt.Sprintf("Expected *cdoClient.Client, got: %T. Please report this issue to the provider developers.", req.ProviderData), + ) + + return + } + + r.client = client +} + +func (r *Resource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) { + tflog.Trace(ctx, "read FTD resource") + + // 1. read terraform plan data into the model + var stateData ResourceModel + resp.Diagnostics.Append(req.State.Get(ctx, &stateData)...) + if resp.Diagnostics.HasError() { + return + } + + // 2. do read + if err := Read(ctx, r, &stateData); err != nil { + resp.Diagnostics.AddError("failed to read FTD resource", err.Error()) + return + } + + // 3. save data into terraform state + resp.Diagnostics.Append(resp.State.Set(ctx, &stateData)...) + tflog.Trace(ctx, "read FTD resource done") +} + +func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, res *resource.CreateResponse) { + tflog.Trace(ctx, "create FTD resource") + + // 1. read terraform plan data into model + var planData ResourceModel + res.Diagnostics.Append(req.Plan.Get(ctx, &planData)...) + if res.Diagnostics.HasError() { + return + } + + // 2. create resource & fill model data + if err := Create(ctx, r, &planData); err != nil { + res.Diagnostics.AddError("failed to create SDC resource", err.Error()) + return + } + + // 3. fill terraform state using model data + res.Diagnostics.Append(res.State.Set(ctx, &planData)...) + tflog.Trace(ctx, "create FTD resource done") +} + +func (r *Resource) Update(ctx context.Context, req resource.UpdateRequest, res *resource.UpdateResponse) { + tflog.Trace(ctx, "update FTD resource") + + // 1. read plan and state data from terraform + var planData ResourceModel + res.Diagnostics.Append(req.Plan.Get(ctx, &planData)...) + if res.Diagnostics.HasError() { + return + } + var stateData ResourceModel + res.Diagnostics.Append(req.State.Get(ctx, &stateData)...) + if res.Diagnostics.HasError() { + return + } + + // 2. update resource & state data + if err := Update(ctx, r, &planData, &stateData); err != nil { + res.Diagnostics.AddError("failed to update FTD resource", err.Error()) + return + } + + // 3. update terraform state with updated state data + res.Diagnostics.Append(res.State.Set(ctx, &stateData)...) + tflog.Trace(ctx, "update FTD resource done") +} + +func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, res *resource.DeleteResponse) { + tflog.Trace(ctx, "delete FTD resource") + + // 1. read state data from terraform state + var stateData ResourceModel + res.Diagnostics.Append(req.State.Get(ctx, &stateData)...) + if res.Diagnostics.HasError() { + return + } + + // 2. delete the resource + if err := Delete(ctx, r, &stateData); err != nil { + res.Diagnostics.AddError("failed to delete SDC resource", err.Error()) + } +} + +func (r *Resource) ImportState(ctx context.Context, req resource.ImportStateRequest, res *resource.ImportStateResponse) { + resource.ImportStatePassthroughID(ctx, path.Root("id"), req, res) +} From 52d7ddad66125560e1b34e3c06cb8ea992be84d3 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 22 Aug 2023 14:58:39 +0100 Subject: [PATCH 02/31] impl --- client/client.go | 4 +- client/device/asa/read.go | 4 +- client/device/asa/update.go | 2 +- client/device/cdfmc/read.go | 34 +++++++ client/device/genericssh/read.go | 2 +- client/device/ios/read.go | 4 +- client/device/read.go | 102 -------------------- client/device/readallbytype.go | 35 +++++++ client/device/readbynameandtype.go | 45 +++++++++ client/device/readbyuid.go | 52 ++++++++++ client/internal/cdo/constants.go | 5 + client/internal/url/url.go | 3 + provider/internal/device/asa/data_source.go | 2 +- provider/internal/device/ios/data_source.go | 2 +- 14 files changed, 184 insertions(+), 112 deletions(-) create mode 100644 client/device/cdfmc/read.go delete mode 100644 client/device/read.go create mode 100644 client/device/readallbytype.go create mode 100644 client/device/readbynameandtype.go create mode 100644 client/device/readbyuid.go create mode 100644 client/internal/cdo/constants.go diff --git a/client/client.go b/client/client.go index 8f31a03b..b4c68f77 100644 --- a/client/client.go +++ b/client/client.go @@ -53,8 +53,8 @@ func (c *Client) ReadAsa(ctx context.Context, inp asa.ReadInput) (*asa.ReadOutpu return asa.Read(ctx, c.client, inp) } -func (c *Client) ReadDeviceByName(ctx context.Context, inp device.ReadByNameAndDeviceTypeInput) (*device.ReadOutput, error) { - return device.ReadByNameAndDeviceType(ctx, c.client, inp) +func (c *Client) ReadDeviceByName(ctx context.Context, inp device.ReadByNameAndTypeInput) (*device.ReadOutput, error) { + return device.ReadByNameAndType(ctx, c.client, inp) } func (c *Client) CreateAsa(ctx context.Context, inp asa.CreateInput) (*asa.CreateOutput, *asa.CreateError) { diff --git a/client/device/asa/read.go b/client/device/asa/read.go index 9f53dc27..8e88601c 100644 --- a/client/device/asa/read.go +++ b/client/device/asa/read.go @@ -7,7 +7,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" ) -type ReadInput = device.ReadInput +type ReadInput = device.ReadByUidInput type ReadOutput struct { Uid string `json:"uid"` @@ -29,7 +29,7 @@ type ReadOutput struct { } func NewReadInput(uid string) *ReadInput { - return device.NewReadInput(uid) + return device.NewReadByUidInput(uid) } func NewReadRequest(ctx context.Context, client http.Client, readInp ReadInput) *http.Request { diff --git a/client/device/asa/update.go b/client/device/asa/update.go index 2f9269fa..5d0b7c8b 100644 --- a/client/device/asa/update.go +++ b/client/device/asa/update.go @@ -47,7 +47,7 @@ func Update(ctx context.Context, client http.Client, updateInp UpdateInput) (*Up return nil, err } - asaReadOutp, err := device.Read(ctx, client, *device.NewReadInput( + asaReadOutp, err := device.ReadByUid(ctx, client, *device.NewReadByUidInput( updateInp.Uid, )) if err != nil { diff --git a/client/device/cdfmc/read.go b/client/device/cdfmc/read.go new file mode 100644 index 00000000..25ed2989 --- /dev/null +++ b/client/device/cdfmc/read.go @@ -0,0 +1,34 @@ +package cdfmc + +import ( + "context" + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" + + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" +) + +type ReadInput struct { + Uid string `json:"uid"` +} + +type ReadOutput = device.ReadOutput + +func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { + + cdfmcDevices, err := device.ReadAllByType(ctx, client, device.NewReadAllByTypeInput("FMCE")) + if err != nil { + return nil, err + } + + if len(*cdfmcDevices) == 0 { + return nil, fmt.Errorf("firewall management center (FMC) not found") + } + + if len(*cdfmcDevices) > 1 { + return nil, fmt.Errorf("more than one firewall management center (FMC) found, please report this issue at: %s", cdo.TerraformProviderCDOIssuesUrl) + } + + return &(*cdfmcDevices)[0], nil +} diff --git a/client/device/genericssh/read.go b/client/device/genericssh/read.go index ae46ff40..d7773aa7 100644 --- a/client/device/genericssh/read.go +++ b/client/device/genericssh/read.go @@ -22,7 +22,7 @@ func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutp client.Logger.Println("reading generic ssh") - readOutp, err := device.Read(ctx, client, *device.NewReadInput(readInp.Uid)) + readOutp, err := device.ReadByUid(ctx, client, *device.NewReadByUidInput(readInp.Uid)) if err != nil { return nil, err } diff --git a/client/device/ios/read.go b/client/device/ios/read.go index 7d994c4e..3afe0cbf 100644 --- a/client/device/ios/read.go +++ b/client/device/ios/read.go @@ -7,7 +7,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" ) -type ReadInput = device.ReadInput +type ReadInput = device.ReadByUidInput type ReadOutput struct { Uid string `json:"uid"` Name string `json:"name"` @@ -24,7 +24,7 @@ type ReadOutput struct { } func NewReadInput(uid string) *ReadInput { - return device.NewReadInput(uid) + return device.NewReadByUidInput(uid) } func NewReadRequest(ctx context.Context, client http.Client, readInp ReadInput) *http.Request { diff --git a/client/device/read.go b/client/device/read.go deleted file mode 100644 index 4b8e34fe..00000000 --- a/client/device/read.go +++ /dev/null @@ -1,102 +0,0 @@ -package device - -import ( - "context" - "fmt" - - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" -) - -type ReadInput struct { - Uid string `json:"uid"` -} - -type ReadByNameInput struct { - Name string `json:"name"` -} - -type ReadByNameAndDeviceTypeInput struct { - Name string `json:"name"` - DeviceType string `json:"deviceType"` -} - -type ReadOutput struct { - Uid string `json:"uid"` - Name string `json:"name"` - CreatedDate int64 `json:"createdDate"` - LastUpdatedDate int64 `json:"lastUpdatedDate"` - DeviceType string `json:"deviceType"` - ConnectorUid string `json:"larUid"` - ConnectorType string `json:"larType"` - SocketAddress string `json:"ipv4"` - Port string `json:"port"` - Host string `json:"host"` - - IgnoreCertificate bool `json:"ignoreCertificate"` - ConnectivityState int `json:"connectivityState,omitempty"` - ConnectivityError string `json:"connectivityError,omitempty"` - State string `json:"state"` - Status string `json:"status"` -} - -func NewReadInput(uid string) *ReadInput { - return &ReadInput{ - Uid: uid, - } -} - -func NewReadRequest(ctx context.Context, client http.Client, readInp ReadInput) *http.Request { - - url := url.ReadDevice(client.BaseUrl(), readInp.Uid) - - req := client.NewGet(ctx, url) - - return req -} - -func NewReadByNameAndDeviceTypeRequest(ctx context.Context, client http.Client, readInp ReadByNameAndDeviceTypeInput) *http.Request { - - url := url.ReadDeviceByNameAndDeviceType(client.BaseUrl(), readInp.Name, readInp.DeviceType) - - req := client.NewGet(ctx, url) - - return req -} - -func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { - - client.Logger.Println("reading device") - - req := NewReadRequest(ctx, client, readInp) - - var outp ReadOutput - if err := req.Send(&outp); err != nil { - return nil, err - } - - return &outp, nil -} - -func ReadByNameAndDeviceType(ctx context.Context, client http.Client, readInp ReadByNameAndDeviceTypeInput) (*ReadOutput, error) { - - client.Logger.Println("reading Device by name and device type") - - req := NewReadByNameAndDeviceTypeRequest(ctx, client, readInp) - - var arrayOutp []ReadOutput - if err := req.Send(&arrayOutp); err != nil { - return nil, err - } - - if len(arrayOutp) == 0 { - return nil, fmt.Errorf("no Device by name %s and device type %s found", readInp.Name, readInp.DeviceType) - } - - if len(arrayOutp) > 1 { - return nil, fmt.Errorf("multiple devices found with the name: %s and device type: %s", readInp.Name, readInp.DeviceType) - } - - outp := arrayOutp[0] - return &outp, nil -} diff --git a/client/device/readallbytype.go b/client/device/readallbytype.go new file mode 100644 index 00000000..5e5372d1 --- /dev/null +++ b/client/device/readallbytype.go @@ -0,0 +1,35 @@ +package device + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" +) + +type ReadAllByTypeInput struct { + DeviceType string `json:"deviceType"` +} + +type ReadAllOutput = []ReadOutput + +func NewReadAllByTypeInput(deviceType string) ReadAllByTypeInput { + return ReadAllByTypeInput{ + DeviceType: deviceType, + } +} + +func ReadAllByType(ctx context.Context, client http.Client, readInp ReadAllByTypeInput) (*ReadAllOutput, error) { + + client.Logger.Println("reading all Devices by device type") + + readAllUrl := url.ReadAllDevicesByType(client.BaseUrl(), readInp.DeviceType) + + req := client.NewGet(ctx, readAllUrl) + + var outp []ReadOutput + if err := req.Send(&outp); err != nil { + return nil, err + } + + return &outp, nil +} diff --git a/client/device/readbynameandtype.go b/client/device/readbynameandtype.go new file mode 100644 index 00000000..bc564d52 --- /dev/null +++ b/client/device/readbynameandtype.go @@ -0,0 +1,45 @@ +package device + +import ( + "context" + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" +) + +type ReadByNameAndTypeInput struct { + Name string `json:"name"` + DeviceType string `json:"deviceType"` +} + +func NewReadByNameAndTypeInput(name, deviceType string) ReadByNameAndTypeInput { + return ReadByNameAndTypeInput{ + Name: name, + DeviceType: deviceType, + } +} + +func ReadByNameAndType(ctx context.Context, client http.Client, readInp ReadByNameAndTypeInput) (*ReadOutput, error) { + + client.Logger.Println("reading Device by name and device type") + + readUrl := url.ReadDeviceByNameAndDeviceType(client.BaseUrl(), readInp.Name, readInp.DeviceType) + + req := client.NewGet(ctx, readUrl) + + var arrayOutp []ReadOutput + if err := req.Send(&arrayOutp); err != nil { + return nil, err + } + + if len(arrayOutp) == 0 { + return nil, fmt.Errorf("no Device by name %s and device type %s found", readInp.Name, readInp.DeviceType) + } + + if len(arrayOutp) > 1 { + return nil, fmt.Errorf("multiple devices found with the name: %s and device type: %s", readInp.Name, readInp.DeviceType) + } + + outp := arrayOutp[0] + return &outp, nil +} diff --git a/client/device/readbyuid.go b/client/device/readbyuid.go new file mode 100644 index 00000000..4e1e3169 --- /dev/null +++ b/client/device/readbyuid.go @@ -0,0 +1,52 @@ +package device + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" +) + +type ReadByUidInput struct { + Uid string `json:"uid"` +} + +type ReadOutput struct { + Uid string `json:"uid"` + Name string `json:"name"` + CreatedDate int64 `json:"createdDate"` + LastUpdatedDate int64 `json:"lastUpdatedDate"` + DeviceType string `json:"deviceType"` + ConnectorUid string `json:"larUid"` + ConnectorType string `json:"larType"` + SocketAddress string `json:"ipv4"` + Port string `json:"port"` + Host string `json:"host"` + + IgnoreCertificate bool `json:"ignoreCertificate"` + ConnectivityState int `json:"connectivityState,omitempty"` + ConnectivityError string `json:"connectivityError,omitempty"` + State string `json:"state"` + Status string `json:"status"` +} + +func NewReadByUidInput(uid string) *ReadByUidInput { + return &ReadByUidInput{ + Uid: uid, + } +} + +func ReadByUid(ctx context.Context, client http.Client, readInp ReadByUidInput) (*ReadOutput, error) { + + client.Logger.Println("reading device") + + readUrl := url.ReadDevice(client.BaseUrl(), readInp.Uid) + + req := client.NewGet(ctx, readUrl) + + var outp ReadOutput + if err := req.Send(&outp); err != nil { + return nil, err + } + + return &outp, nil +} diff --git a/client/internal/cdo/constants.go b/client/internal/cdo/constants.go new file mode 100644 index 00000000..ab7a12c1 --- /dev/null +++ b/client/internal/cdo/constants.go @@ -0,0 +1,5 @@ +package cdo + +const ( + TerraformProviderCDOIssuesUrl = "https://github.com/CiscoDevNet/terraform-provider-cdo/issues" +) diff --git a/client/internal/url/url.go b/client/internal/url/url.go index 6c88cded..99d7ea5d 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -12,6 +12,9 @@ func ReadDevice(baseUrl string, uid string) string { func ReadDeviceByNameAndDeviceType(baseUrl string, deviceName string, deviceType string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices?q=name:%s+AND+deviceType:%s", baseUrl, deviceName, deviceType) } +func ReadAllDevicesByType(baseUrl string, deviceType string) string { + return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices?q=deviceType:%s", baseUrl, deviceType) +} func CreateDevice(baseUrl string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices", baseUrl) diff --git a/provider/internal/device/asa/data_source.go b/provider/internal/device/asa/data_source.go index 6b78fa24..11766a03 100644 --- a/provider/internal/device/asa/data_source.go +++ b/provider/internal/device/asa/data_source.go @@ -137,7 +137,7 @@ func (d *AsaDataSource) Read(ctx context.Context, req datasource.ReadRequest, re } // read asa - readInp := device.ReadByNameAndDeviceTypeInput{ + readInp := device.ReadByNameAndTypeInput{ Name: configData.Name.ValueString(), DeviceType: "ASA", } diff --git a/provider/internal/device/ios/data_source.go b/provider/internal/device/ios/data_source.go index 92e9df38..63852e2e 100644 --- a/provider/internal/device/ios/data_source.go +++ b/provider/internal/device/ios/data_source.go @@ -127,7 +127,7 @@ func (d *IosDataSource) Read(ctx context.Context, req datasource.ReadRequest, re } // read ios - readInp := device.ReadByNameAndDeviceTypeInput{ + readInp := device.ReadByNameAndTypeInput{ Name: configData.Name.ValueString(), DeviceType: "IOS", } From 2e007873ebff6f235a1785ab6c97ae66596ea1e0 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 22 Aug 2023 15:01:38 +0100 Subject: [PATCH 03/31] cleanup --- client/device/cdfmc/read.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/client/device/cdfmc/read.go b/client/device/cdfmc/read.go index 25ed2989..572d2930 100644 --- a/client/device/cdfmc/read.go +++ b/client/device/cdfmc/read.go @@ -10,13 +10,18 @@ import ( ) type ReadInput struct { - Uid string `json:"uid"` +} + +func NewReadInput() ReadInput { + return ReadInput{} } type ReadOutput = device.ReadOutput func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { + client.Logger.Println("reading cdFMC") + cdfmcDevices, err := device.ReadAllByType(ctx, client, device.NewReadAllByTypeInput("FMCE")) if err != nil { return nil, err From fad693c086112376350dab99167e257fbad03f7b Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 22 Aug 2023 15:06:42 +0100 Subject: [PATCH 04/31] fix unit test --- client/device/asa/read.go | 2 +- client/device/ios/read.go | 2 +- client/device/readbyuid.go | 12 +++++++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/client/device/asa/read.go b/client/device/asa/read.go index 8e88601c..6d0ae3ce 100644 --- a/client/device/asa/read.go +++ b/client/device/asa/read.go @@ -33,7 +33,7 @@ func NewReadInput(uid string) *ReadInput { } func NewReadRequest(ctx context.Context, client http.Client, readInp ReadInput) *http.Request { - return device.NewReadRequest(ctx, client, readInp) + return device.NewReadByUidRequest(ctx, client, readInp) } func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { diff --git a/client/device/ios/read.go b/client/device/ios/read.go index 3afe0cbf..7f4f4705 100644 --- a/client/device/ios/read.go +++ b/client/device/ios/read.go @@ -28,7 +28,7 @@ func NewReadInput(uid string) *ReadInput { } func NewReadRequest(ctx context.Context, client http.Client, readInp ReadInput) *http.Request { - return device.NewReadRequest(ctx, client, readInp) + return device.NewReadByUidRequest(ctx, client, readInp) } func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { diff --git a/client/device/readbyuid.go b/client/device/readbyuid.go index 4e1e3169..6a4c87d3 100644 --- a/client/device/readbyuid.go +++ b/client/device/readbyuid.go @@ -35,13 +35,19 @@ func NewReadByUidInput(uid string) *ReadByUidInput { } } +func NewReadByUidRequest(ctx context.Context, client http.Client, readInp ReadByUidInput) *http.Request { + readUrl := url.ReadDevice(client.BaseUrl(), readInp.Uid) + + req := client.NewGet(ctx, readUrl) + + return req +} + func ReadByUid(ctx context.Context, client http.Client, readInp ReadByUidInput) (*ReadOutput, error) { client.Logger.Println("reading device") - readUrl := url.ReadDevice(client.BaseUrl(), readInp.Uid) - - req := client.NewGet(ctx, readUrl) + req := NewReadByUidRequest(ctx, client, readInp) var outp ReadOutput if err := req.Send(&outp); err != nil { From f10f3307c10769b802c71835c551d6083db14a9c Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 22 Aug 2023 15:32:35 +0100 Subject: [PATCH 05/31] save --- client/device/ftd/create.go | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 client/device/ftd/create.go diff --git a/client/device/ftd/create.go b/client/device/ftd/create.go new file mode 100644 index 00000000..f886aa50 --- /dev/null +++ b/client/device/ftd/create.go @@ -0,0 +1,38 @@ +package ftd + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" +) + +type CreateInput struct { + Name string + ConnectorUid string + ConnectorType string + SocketAddress string +} + +type CreateOutput = device.CreateOutput + +func NewCreateInput(name, connectorUid, socketAddress string) CreateInput { + return CreateInput{ + Name: name, + ConnectorUid: connectorUid, + SocketAddress: socketAddress, + } +} + +func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { + + client.Logger.Println("creating generic ssh") + + deviceInput := device.NewCreateRequestInput(createInp.Name, "GENERIC_SSH", createInp.ConnectorUid, createInp.ConnectorType, createInp.SocketAddress, false, false) + outp, err := device.Create(ctx, client, *deviceInput) + if err != nil { + return nil, err + } + + return outp, nil +} From b15cba6caaa4a66217e94775176702af0b63680d Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 22 Aug 2023 16:02:03 +0100 Subject: [PATCH 06/31] read impl --- client/device/cdfmc/readsmartlicense.go | 25 ++++++++++++++++ client/internal/url/url.go | 4 +++ client/model/smartlicense/smartlicense.go | 36 +++++++++++++++++++++++ 3 files changed, 65 insertions(+) create mode 100644 client/device/cdfmc/readsmartlicense.go create mode 100644 client/model/smartlicense/smartlicense.go diff --git a/client/device/cdfmc/readsmartlicense.go b/client/device/cdfmc/readsmartlicense.go new file mode 100644 index 00000000..d1679e00 --- /dev/null +++ b/client/device/cdfmc/readsmartlicense.go @@ -0,0 +1,25 @@ +package cdfmc + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" +) + +type ReadInput struct{} + +type ReadOutput = smartlicense.SmartLicense + +func ReadSmartLicense(ctx context.Context, client http.Client, _inp ReadInput) (*ReadOutput, error) { + readUrl := url.ReadSmartLicense(client.BaseUrl()) + + req := client.NewGet(ctx, readUrl) + + var outp ReadOutput + if err := req.Send(&outp); err != nil { + return nil, err + } + + return &outp, nil +} diff --git a/client/internal/url/url.go b/client/internal/url/url.go index 6c88cded..dbee9d2e 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -64,3 +64,7 @@ func DeleteConnector(baseUrl string, connectorUid string) string { func UserToken(baseUrl string) string { return fmt.Sprintf("%s/anubis/rest/v1/oauth/token", baseUrl) } + +func ReadSmartLicense(baseUrl string) string { + return fmt.Sprintf("%s/fmc/api/fmc_platform/v1/license/smartlicenses", baseUrl) +} diff --git a/client/model/smartlicense/smartlicense.go b/client/model/smartlicense/smartlicense.go new file mode 100644 index 00000000..f358c288 --- /dev/null +++ b/client/model/smartlicense/smartlicense.go @@ -0,0 +1,36 @@ +package smartlicense + +type SmartLicense struct { + Items Items `json:"items"` + Links Links `json:"links"` + Paging Paging `json:"paging"` +} + +type Items struct { + Items []Item `json:"items"` +} + +type Item struct { + Metadata Metadata `json:"metadata"` + RegStatus string `json:"regStatus"` + Type string `json:"type"` +} + +type Metadata struct { + AuthStatus string `json:"authStatus"` + EvalExpiresInDays int `json:"evalExpiresInDays"` + EvalUsed bool `json:"evalUsed"` + ExportControl bool `json:"exportControl"` + VirtualAccount string `json:"virtualAccount"` +} + +type Paging struct { + Count int `json:"count"` + Offset int `json:"offset"` + Limit int `json:"limit"` + Pages int `json:"pages"` +} + +type Links struct { + Self string `json:"self"` +} From eb3d54c34a099f042014d4345e7a756c9ec1255f Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Wed, 23 Aug 2023 10:33:59 +0100 Subject: [PATCH 07/31] add test --- client/device/cdfmc/fixture_test.go | 17 ++++ client/device/cdfmc/readsmartlicense.go | 14 ++- client/device/cdfmc/readsmartlicense_test.go | 98 ++++++++++++++++++++ client/model/smartlicense/smartlicense.go | 58 ++++++++++++ 4 files changed, 182 insertions(+), 5 deletions(-) create mode 100644 client/device/cdfmc/fixture_test.go create mode 100644 client/device/cdfmc/readsmartlicense_test.go diff --git a/client/device/cdfmc/fixture_test.go b/client/device/cdfmc/fixture_test.go new file mode 100644 index 00000000..c053ef75 --- /dev/null +++ b/client/device/cdfmc/fixture_test.go @@ -0,0 +1,17 @@ +package cdfmc_test + +const ( + smartLicenseEvalExpiresInDays = 123456 + smartLicenseEvalUsed = false + smartLicenseExportControl = false + smartLicenseVirtualAccount = "unit-test-virtual-account" + smartLicenseAuthStatus = "unit-test-auth-status" + smartLicenseRegStatus = "unit-test-reg-status" + smartLicenseType = "unit-test-type" + smartLicenseSelfLink = "unit-test-self-link" + smartLicenseCount = 123456 + smartLicenseOffset = 123456 + smartLicenseLimit = 123456 + smartLicensePages = 123456 + baseUrl = "http://unit-test-cdo.cisco.com" +) diff --git a/client/device/cdfmc/readsmartlicense.go b/client/device/cdfmc/readsmartlicense.go index d1679e00..29b3722b 100644 --- a/client/device/cdfmc/readsmartlicense.go +++ b/client/device/cdfmc/readsmartlicense.go @@ -7,16 +7,20 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" ) -type ReadInput struct{} +type ReadSmartLicenseInput struct{} -type ReadOutput = smartlicense.SmartLicense +func NewReadSmartLicenseInput() ReadSmartLicenseInput { + return ReadSmartLicenseInput{} +} + +type ReadSmartLicenseOutput = smartlicense.SmartLicense -func ReadSmartLicense(ctx context.Context, client http.Client, _inp ReadInput) (*ReadOutput, error) { +func ReadSmartLicense(ctx context.Context, client http.Client, _inp ReadSmartLicenseInput) (*ReadSmartLicenseOutput, error) { readUrl := url.ReadSmartLicense(client.BaseUrl()) - + req := client.NewGet(ctx, readUrl) - var outp ReadOutput + var outp ReadSmartLicenseOutput if err := req.Send(&outp); err != nil { return nil, err } diff --git a/client/device/cdfmc/readsmartlicense_test.go b/client/device/cdfmc/readsmartlicense_test.go new file mode 100644 index 00000000..0dc8bb03 --- /dev/null +++ b/client/device/cdfmc/readsmartlicense_test.go @@ -0,0 +1,98 @@ +package cdfmc_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" + "github.com/jarcoal/httpmock" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" +) + +func TestSmartLicenseRead(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + validSmartLicenseMetadata := smartlicense.NewMetadata( + smartLicenseAuthStatus, + smartLicenseEvalExpiresInDays, + smartLicenseEvalUsed, + smartLicenseExportControl, + smartLicenseVirtualAccount, + ) + validSmartLicenseItems := smartlicense.NewItems( + smartlicense.NewItem( + validSmartLicenseMetadata, + smartLicenseRegStatus, + smartLicenseType, + ), + ) + validSmartLicenseLinks := smartlicense.NewLinks(smartLicenseSelfLink) + validSmartLicensePaging := smartlicense.NewPaging( + smartLicenseCount, + smartLicenseOffset, + smartLicenseLimit, + smartLicensePages, + ) + validSmartLicense := smartlicense.NewSmartLicense( + validSmartLicenseItems, + validSmartLicenseLinks, + validSmartLicensePaging, + ) + + testCases := []struct { + testName string + setupFunc func() + assertFunc func(output *cdfmc.ReadSmartLicenseOutput, err error, t *testing.T) + }{ + { + testName: "successfully read Smart License", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadSmartLicense(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validSmartLicense), + ) + }, + assertFunc: func(output *cdfmc.ReadSmartLicenseOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validSmartLicense, *output) + }, + }, + { + testName: "return error when read Smart License error", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.CreateDevice(baseUrl), + httpmock.NewStringResponder(http.StatusInternalServerError, "internal server error"), + ) + }, + assertFunc: func(output *cdfmc.ReadSmartLicenseOutput, err error, t *testing.T) { + assert.Nil(t, output) + assert.NotNil(t, err) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := cdfmc.ReadSmartLicense( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + cdfmc.NewReadSmartLicenseInput(), + ) + + testCase.assertFunc(output, err, t) + }) + } +} diff --git a/client/model/smartlicense/smartlicense.go b/client/model/smartlicense/smartlicense.go index f358c288..40829d36 100644 --- a/client/model/smartlicense/smartlicense.go +++ b/client/model/smartlicense/smartlicense.go @@ -6,16 +6,38 @@ type SmartLicense struct { Paging Paging `json:"paging"` } +func NewSmartLicense(items Items, links Links, paging Paging) SmartLicense { + return SmartLicense{ + Items: items, + Links: links, + Paging: paging, + } +} + type Items struct { Items []Item `json:"items"` } +func NewItems(items ...Item) Items { + return Items{ + Items: items, + } +} + type Item struct { Metadata Metadata `json:"metadata"` RegStatus string `json:"regStatus"` Type string `json:"type"` } +func NewItem(metadata Metadata, regStatus string, type_ string) Item { + return Item{ + Metadata: metadata, + RegStatus: regStatus, + Type: type_, + } +} + type Metadata struct { AuthStatus string `json:"authStatus"` EvalExpiresInDays int `json:"evalExpiresInDays"` @@ -24,6 +46,22 @@ type Metadata struct { VirtualAccount string `json:"virtualAccount"` } +func NewMetadata( + authStatus string, + evalExpiresInDays int, + evalUsed bool, + exportControl bool, + virtualAccount string, +) Metadata { + return Metadata{ + AuthStatus: authStatus, + EvalExpiresInDays: evalExpiresInDays, + EvalUsed: evalUsed, + ExportControl: exportControl, + VirtualAccount: virtualAccount, + } +} + type Paging struct { Count int `json:"count"` Offset int `json:"offset"` @@ -31,6 +69,26 @@ type Paging struct { Pages int `json:"pages"` } +func NewPaging( + count int, + offset int, + limit int, + pages int, +) Paging { + return Paging{ + Count: count, + Offset: offset, + Limit: limit, + Pages: pages, + } +} + type Links struct { Self string `json:"self"` } + +func NewLinks(self string) Links { + return Links{ + Self: self, + } +} From 9695b6b6ba59ee6d97ade0041f33771d09e91099 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Wed, 23 Aug 2023 12:07:51 +0100 Subject: [PATCH 08/31] add tests --- client/device/cdfmc/read.go | 3 +- client/device/fixture_test.go | 11 +++ ...ynameandtype.go => read_by_nameandtype.go} | 0 .../device/{readbyuid.go => read_by_uid.go} | 21 +++-- .../{readallbytype.go => readall_by_type.go} | 9 +- client/device/readall_by_type_test.go | 93 +++++++++++++++++++ client/device/readoutputbuilder.go | 8 +- client/internal/url/url.go | 3 +- client/model/devicetype/devicetype.go | 9 ++ 9 files changed, 140 insertions(+), 17 deletions(-) create mode 100644 client/device/fixture_test.go rename client/device/{readbynameandtype.go => read_by_nameandtype.go} (100%) rename client/device/{readbyuid.go => read_by_uid.go} (66%) rename client/device/{readallbytype.go => readall_by_type.go} (68%) create mode 100644 client/device/readall_by_type_test.go create mode 100644 client/model/devicetype/devicetype.go diff --git a/client/device/cdfmc/read.go b/client/device/cdfmc/read.go index 572d2930..19470b12 100644 --- a/client/device/cdfmc/read.go +++ b/client/device/cdfmc/read.go @@ -5,6 +5,7 @@ import ( "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" ) @@ -22,7 +23,7 @@ func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutp client.Logger.Println("reading cdFMC") - cdfmcDevices, err := device.ReadAllByType(ctx, client, device.NewReadAllByTypeInput("FMCE")) + cdfmcDevices, err := device.ReadAllByType(ctx, client, device.NewReadAllByTypeInput(devicetype.Cdfmc)) if err != nil { return nil, err } diff --git a/client/device/fixture_test.go b/client/device/fixture_test.go new file mode 100644 index 00000000..e7afb342 --- /dev/null +++ b/client/device/fixture_test.go @@ -0,0 +1,11 @@ +package device_test + +const ( + deviceUid1 = "unit-test-device-uid-1" + deviceName1 = "unit-test-device-name-1" + + deviceUid2 = "unit-test-device-uid-2" + deviceName2 = "unit-test-device-name-2" + + baseUrl = "https://unit-test.cdo.cisco.com" +) diff --git a/client/device/readbynameandtype.go b/client/device/read_by_nameandtype.go similarity index 100% rename from client/device/readbynameandtype.go rename to client/device/read_by_nameandtype.go diff --git a/client/device/readbyuid.go b/client/device/read_by_uid.go similarity index 66% rename from client/device/readbyuid.go rename to client/device/read_by_uid.go index 6a4c87d3..f0801f5d 100644 --- a/client/device/readbyuid.go +++ b/client/device/read_by_uid.go @@ -4,6 +4,7 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" ) type ReadByUidInput struct { @@ -11,16 +12,16 @@ type ReadByUidInput struct { } type ReadOutput struct { - Uid string `json:"uid"` - Name string `json:"name"` - CreatedDate int64 `json:"createdDate"` - LastUpdatedDate int64 `json:"lastUpdatedDate"` - DeviceType string `json:"deviceType"` - ConnectorUid string `json:"larUid"` - ConnectorType string `json:"larType"` - SocketAddress string `json:"ipv4"` - Port string `json:"port"` - Host string `json:"host"` + Uid string `json:"uid"` + Name string `json:"name"` + CreatedDate int64 `json:"createdDate"` + LastUpdatedDate int64 `json:"lastUpdatedDate"` + DeviceType devicetype.Type `json:"deviceType"` + ConnectorUid string `json:"larUid"` + ConnectorType string `json:"larType"` + SocketAddress string `json:"ipv4"` + Port string `json:"port"` + Host string `json:"host"` IgnoreCertificate bool `json:"ignoreCertificate"` ConnectivityState int `json:"connectivityState,omitempty"` diff --git a/client/device/readallbytype.go b/client/device/readall_by_type.go similarity index 68% rename from client/device/readallbytype.go rename to client/device/readall_by_type.go index 5e5372d1..81dd439c 100644 --- a/client/device/readallbytype.go +++ b/client/device/readall_by_type.go @@ -4,21 +4,22 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" ) type ReadAllByTypeInput struct { - DeviceType string `json:"deviceType"` + DeviceType devicetype.Type `json:"deviceType"` } -type ReadAllOutput = []ReadOutput +type ReadAllByTypeOutput = []ReadOutput -func NewReadAllByTypeInput(deviceType string) ReadAllByTypeInput { +func NewReadAllByTypeInput(deviceType devicetype.Type) ReadAllByTypeInput { return ReadAllByTypeInput{ DeviceType: deviceType, } } -func ReadAllByType(ctx context.Context, client http.Client, readInp ReadAllByTypeInput) (*ReadAllOutput, error) { +func ReadAllByType(ctx context.Context, client http.Client, readInp ReadAllByTypeInput) (*ReadAllByTypeOutput, error) { client.Logger.Println("reading all Devices by device type") diff --git a/client/device/readall_by_type_test.go b/client/device/readall_by_type_test.go new file mode 100644 index 00000000..f27f7569 --- /dev/null +++ b/client/device/readall_by_type_test.go @@ -0,0 +1,93 @@ +package device_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" + "github.com/jarcoal/httpmock" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" +) + +func TestDeviceReadAllByType(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + validDevice1 := device. + NewReadOutputBuilder(). + AsCdfmc(). + WithUid(deviceUid1). + WithName(deviceName1). + Build() + + validDevice2 := device. + NewReadOutputBuilder(). + AsCdfmc(). + WithUid(deviceUid2). + WithName(deviceName2). + Build() + + validReadAllOutput := device.ReadAllByTypeOutput{ + validDevice1, + validDevice2, + } + + testCases := []struct { + testName string + targetType devicetype.Type + setupFunc func() + assertFunc func(output *device.ReadAllByTypeOutput, err error, t *testing.T) + }{ + { + testName: "successfully read devices by type", + targetType: devicetype.Cdfmc, + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAllDevicesByType(baseUrl, devicetype.Cdfmc), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadAllOutput), + ) + }, + assertFunc: func(output *device.ReadAllByTypeOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validReadAllOutput, *output) + }, + }, + { + testName: "return error when read devices by type error", + targetType: devicetype.Cdfmc, + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.CreateDevice(baseUrl), + httpmock.NewStringResponder(http.StatusInternalServerError, "internal server error"), + ) + }, + assertFunc: func(output *device.ReadAllByTypeOutput, err error, t *testing.T) { + assert.Nil(t, output) + assert.NotNil(t, err) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := device.ReadAllByType( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + device.NewReadAllByTypeInput(testCase.targetType), + ) + + testCase.assertFunc(output, err, t) + }) + } +} diff --git a/client/device/readoutputbuilder.go b/client/device/readoutputbuilder.go index 0b02ce4c..0192afc5 100644 --- a/client/device/readoutputbuilder.go +++ b/client/device/readoutputbuilder.go @@ -2,6 +2,7 @@ package device import ( "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" "time" ) @@ -23,7 +24,7 @@ func (builder *readOutputBuilder) Build() ReadOutput { } func (builder *readOutputBuilder) AsAsa() *readOutputBuilder { - builder.readOutput.DeviceType = "ASA" + builder.readOutput.DeviceType = devicetype.Asa return builder } @@ -32,6 +33,11 @@ func (builder *readOutputBuilder) AsIos() *readOutputBuilder { return builder } +func (builder *readOutputBuilder) AsCdfmc() *readOutputBuilder { + builder.readOutput.DeviceType = "FMCE" + return builder +} + func (builder *readOutputBuilder) WithUid(uid string) *readOutputBuilder { builder.readOutput.Uid = uid diff --git a/client/internal/url/url.go b/client/internal/url/url.go index 99d7ea5d..166e248c 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -3,6 +3,7 @@ package url import ( "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" ) func ReadDevice(baseUrl string, uid string) string { @@ -12,7 +13,7 @@ func ReadDevice(baseUrl string, uid string) string { func ReadDeviceByNameAndDeviceType(baseUrl string, deviceName string, deviceType string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices?q=name:%s+AND+deviceType:%s", baseUrl, deviceName, deviceType) } -func ReadAllDevicesByType(baseUrl string, deviceType string) string { +func ReadAllDevicesByType(baseUrl string, deviceType devicetype.Type) string { return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices?q=deviceType:%s", baseUrl, deviceType) } diff --git a/client/model/devicetype/devicetype.go b/client/model/devicetype/devicetype.go new file mode 100644 index 00000000..07da2787 --- /dev/null +++ b/client/model/devicetype/devicetype.go @@ -0,0 +1,9 @@ +package devicetype + +type Type string + +const ( + Asa Type = "ASA" + Ios Type = "IOS" + Cdfmc Type = "FMCE" +) From fe26c05b1b8f00ba3b3c56641369369ab3ff3d1d Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Wed, 23 Aug 2023 12:17:58 +0100 Subject: [PATCH 09/31] fix test --- client/device/asa/create.go | 17 +++++++++-------- client/device/asa/read.go | 21 +++++++++++---------- client/device/ios/create.go | 17 +++++++++-------- client/device/ios/read.go | 21 +++++++++++---------- 4 files changed, 40 insertions(+), 36 deletions(-) diff --git a/client/device/asa/create.go b/client/device/asa/create.go index 03b54022..4944a8ea 100644 --- a/client/device/asa/create.go +++ b/client/device/asa/create.go @@ -9,6 +9,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" "strings" ) @@ -25,14 +26,14 @@ type CreateInput struct { } type CreateOutput struct { - Uid string `json:"uid"` - Name string `json:"Name"` - DeviceType string `json:"deviceType"` - Host string `json:"host"` - Port string `json:"port"` - SocketAddress string `json:"ipv4"` - ConnectorType string `json:"larType"` - ConnectorUid string `json:"larUid"` + Uid string `json:"uid"` + Name string `json:"Name"` + DeviceType devicetype.Type `json:"deviceType"` + Host string `json:"host"` + Port string `json:"port"` + SocketAddress string `json:"ipv4"` + ConnectorType string `json:"larType"` + ConnectorUid string `json:"larUid"` } type CreateError struct { diff --git a/client/device/asa/read.go b/client/device/asa/read.go index 6d0ae3ce..633f8ffb 100644 --- a/client/device/asa/read.go +++ b/client/device/asa/read.go @@ -2,6 +2,7 @@ package asa import ( "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" @@ -10,16 +11,16 @@ import ( type ReadInput = device.ReadByUidInput type ReadOutput struct { - Uid string `json:"uid"` - Name string `json:"name"` - CreatedDate int64 `json:"createdDate"` - LastUpdatedDate int64 `json:"lastUpdatedDate"` - DeviceType string `json:"deviceType"` - ConnectorUid string `json:"larUid"` - ConnectorType string `json:"larType"` - SocketAddress string `json:"ipv4"` - Port string `json:"port"` - Host string `json:"host"` + Uid string `json:"uid"` + Name string `json:"name"` + CreatedDate int64 `json:"createdDate"` + LastUpdatedDate int64 `json:"lastUpdatedDate"` + DeviceType devicetype.Type `json:"deviceType"` + ConnectorUid string `json:"larUid"` + ConnectorType string `json:"larType"` + SocketAddress string `json:"ipv4"` + Port string `json:"port"` + Host string `json:"host"` IgnoreCertificate bool `json:"ignoreCertificate"` ConnectivityState int `json:"connectivityState,omitempty"` diff --git a/client/device/ios/create.go b/client/device/ios/create.go index 8f914622..87e8bf10 100644 --- a/client/device/ios/create.go +++ b/client/device/ios/create.go @@ -5,6 +5,7 @@ import ( "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/connector" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/statemachine/state" "strings" @@ -27,14 +28,14 @@ type CreateInput struct { } type CreateOutput struct { - Uid string `json:"uid"` - Name string `json:"Name"` - DeviceType string `json:"deviceType"` - Host string `json:"host"` - Port string `json:"port"` - SocketAddress string `json:"ipv4"` - ConnectorType string `json:"larType"` - ConnectorUid string `json:"larUid"` + Uid string `json:"uid"` + Name string `json:"Name"` + DeviceType devicetype.Type `json:"deviceType"` + Host string `json:"host"` + Port string `json:"port"` + SocketAddress string `json:"ipv4"` + ConnectorType string `json:"larType"` + ConnectorUid string `json:"larUid"` } type CreateError struct { diff --git a/client/device/ios/read.go b/client/device/ios/read.go index 7f4f4705..78d33c89 100644 --- a/client/device/ios/read.go +++ b/client/device/ios/read.go @@ -2,6 +2,7 @@ package ios import ( "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" @@ -9,16 +10,16 @@ import ( type ReadInput = device.ReadByUidInput type ReadOutput struct { - Uid string `json:"uid"` - Name string `json:"name"` - CreatedDate int64 `json:"createdDate"` - LastUpdatedDate int64 `json:"lastUpdatedDate"` - DeviceType string `json:"deviceType"` - ConnectorUid string `json:"larUid"` - ConnectorType string `json:"larType"` - SocketAddress string `json:"ipv4"` - Port string `json:"port"` - Host string `json:"host"` + Uid string `json:"uid"` + Name string `json:"name"` + CreatedDate int64 `json:"createdDate"` + LastUpdatedDate int64 `json:"lastUpdatedDate"` + DeviceType devicetype.Type `json:"deviceType"` + ConnectorUid string `json:"larUid"` + ConnectorType string `json:"larType"` + SocketAddress string `json:"ipv4"` + Port string `json:"port"` + Host string `json:"host"` IgnoreCertificate bool `json:"ignoreCertificate"` } From a5dd6689a5a445c4512aecbc9eec7101463c0f88 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Wed, 23 Aug 2023 12:34:20 +0100 Subject: [PATCH 10/31] rename filenames --- ...readspecificoutputbuilder.go => readspecific_outputbuilder.go} | 0 client/device/{readoutputbuilder.go => read_outputbuilder.go} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename client/device/asa/{readspecificoutputbuilder.go => readspecific_outputbuilder.go} (100%) rename client/device/{readoutputbuilder.go => read_outputbuilder.go} (100%) diff --git a/client/device/asa/readspecificoutputbuilder.go b/client/device/asa/readspecific_outputbuilder.go similarity index 100% rename from client/device/asa/readspecificoutputbuilder.go rename to client/device/asa/readspecific_outputbuilder.go diff --git a/client/device/readoutputbuilder.go b/client/device/read_outputbuilder.go similarity index 100% rename from client/device/readoutputbuilder.go rename to client/device/read_outputbuilder.go From d79492c5e8e1a06f00463224e053d701d5088dc7 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Thu, 24 Aug 2023 17:25:14 +0100 Subject: [PATCH 11/31] progress++ --- client/client.go | 21 +++ client/device/cdfmc/readaccesspolicies.go | 2 +- .../device/cdfmc/readaccesspolicies_test.go | 11 +- client/device/cdfmc/readsmartlicense.go | 2 +- client/device/cdfmc/readsmartlicense_test.go | 2 +- client/device/cdfmc/readspecific.go | 36 ++++ client/device/ftd/create.go | 38 ----- client/device/ftdc/create.go | 154 ++++++++++++++++++ client/device/ftdc/delete.go | 32 ++++ client/device/ftdc/read_by_name.go | 37 +++++ client/device/ftdc/read_by_uid.go | 48 ++++++ client/device/ftdc/update.go | 41 +++++ client/device/ftdc/updatespecificftd.go | 43 +++++ client/device/read_by_nameandtype.go | 9 +- client/internal/sliceutil/map.go | 25 +++ client/internal/url/url.go | 6 +- .../accesspolicies/accesspolicies.go | 18 +- .../{ => cdfmc}/smartlicense/smartlicense.go | 0 client/model/devicetype/devicetype.go | 1 + client/model/ftd/license/license.go | 31 ++++ client/model/ftd/tier/tier.go | 35 ++++ provider/internal/device/ftd/operation.go | 53 +++++- provider/internal/device/ftd/resource.go | 61 ++++++- provider/internal/util/sliceutil/slice.go | 10 ++ provider/internal/util/togo.go | 11 ++ provider/internal/util/totf.go | 16 ++ 26 files changed, 676 insertions(+), 67 deletions(-) create mode 100644 client/device/cdfmc/readspecific.go delete mode 100644 client/device/ftd/create.go create mode 100644 client/device/ftdc/create.go create mode 100644 client/device/ftdc/delete.go create mode 100644 client/device/ftdc/read_by_name.go create mode 100644 client/device/ftdc/read_by_uid.go create mode 100644 client/device/ftdc/update.go create mode 100644 client/device/ftdc/updatespecificftd.go create mode 100644 client/internal/sliceutil/map.go rename client/model/{ => cdfmc}/accesspolicies/accesspolicies.go (68%) rename client/model/{ => cdfmc}/smartlicense/smartlicense.go (100%) create mode 100644 client/model/ftd/license/license.go create mode 100644 client/model/ftd/tier/tier.go create mode 100644 provider/internal/util/sliceutil/slice.go create mode 100644 provider/internal/util/togo.go create mode 100644 provider/internal/util/totf.go diff --git a/client/client.go b/client/client.go index b4c68f77..4460901e 100644 --- a/client/client.go +++ b/client/client.go @@ -6,6 +6,7 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/connector" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/asa/asaconfig" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/ftdc" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/genericssh" "net/http" @@ -120,3 +121,23 @@ func (c *Client) UpdateGenericSSH(ctx context.Context, inp genericssh.UpdateInpu func (c *Client) DeleteGenericSSH(ctx context.Context, inp genericssh.DeleteInput) (*genericssh.DeleteOutput, error) { return genericssh.Delete(ctx, c.client, inp) } + +func (c *Client) ReadFtdcByUid(ctx context.Context, inp ftdc.ReadByUidInput) (*ftdc.ReadByUidOutput, error) { + return ftdc.ReadByUid(ctx, c.client, inp) +} + +func (c *Client) ReadFtdcByName(ctx context.Context, inp ftdc.ReadByNameInput) (*ftdc.ReadByNameOutput, error) { + return ftdc.ReadByName(ctx, c.client, inp) +} + +func (c *Client) CreateFtdc(ctx context.Context, inp ftdc.CreateInput) (*ftdc.CreateOutput, error) { + return ftdc.Create(ctx, c.client, inp) +} + +func (c *Client) UpdateFtdc(ctx context.Context, inp ftdc.UpdateInput) (*ftdc.UpdateOutput, error) { + return ftdc.Update(ctx, c.client, inp) +} + +func (c *Client) DeleteFtdc(ctx context.Context, inp ftdc.DeleteInput) (*ftdc.DeleteOutput, error) { + return ftdc.Delete(ctx, c.client, inp) +} diff --git a/client/device/cdfmc/readaccesspolicies.go b/client/device/cdfmc/readaccesspolicies.go index 109d2a20..497f8a25 100644 --- a/client/device/cdfmc/readaccesspolicies.go +++ b/client/device/cdfmc/readaccesspolicies.go @@ -4,7 +4,7 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/accesspolicies" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/accesspolicies" ) type ReadAccessPoliciesInput struct { diff --git a/client/device/cdfmc/readaccesspolicies_test.go b/client/device/cdfmc/readaccesspolicies_test.go index 0ef8ee9d..83e88697 100644 --- a/client/device/cdfmc/readaccesspolicies_test.go +++ b/client/device/cdfmc/readaccesspolicies_test.go @@ -6,6 +6,7 @@ import ( internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/accesspolicies" + accesspolicies2 "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/accesspolicies" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -18,22 +19,22 @@ func TestAccessPoliciesRead(t *testing.T) { defer httpmock.DeactivateAndReset() validAccessPolicesItems := accesspolicies.NewItems( - accesspolicies.NewItem( + accesspolicies2.NewItem( accessPolicyId, accessPolicyName, accessPolicyType, - accesspolicies.NewLinks(accessPolicySelfLink), + accesspolicies2.NewLinks(accessPolicySelfLink), ), ) - validAccessPoliciesPaging := accesspolicies.NewPaging( + validAccessPoliciesPaging := accesspolicies2.NewPaging( accessPolicyCount, accessPolicyOffset, accessPolicyLimit, accessPolicyPages, ) - validAccessPoliciesLink := accesspolicies.NewLinks(accessPolicySelfLink) + validAccessPoliciesLink := accesspolicies2.NewLinks(accessPolicySelfLink) - validAccessPolicies := accesspolicies.New( + validAccessPolicies := accesspolicies2.New( validAccessPolicesItems, validAccessPoliciesLink, validAccessPoliciesPaging, diff --git a/client/device/cdfmc/readsmartlicense.go b/client/device/cdfmc/readsmartlicense.go index 29b3722b..a34bc2c6 100644 --- a/client/device/cdfmc/readsmartlicense.go +++ b/client/device/cdfmc/readsmartlicense.go @@ -4,7 +4,7 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/smartlicense" ) type ReadSmartLicenseInput struct{} diff --git a/client/device/cdfmc/readsmartlicense_test.go b/client/device/cdfmc/readsmartlicense_test.go index 0dc8bb03..64c742ed 100644 --- a/client/device/cdfmc/readsmartlicense_test.go +++ b/client/device/cdfmc/readsmartlicense_test.go @@ -5,7 +5,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/smartlicense" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" diff --git a/client/device/cdfmc/readspecific.go b/client/device/cdfmc/readspecific.go new file mode 100644 index 00000000..d463086d --- /dev/null +++ b/client/device/cdfmc/readspecific.go @@ -0,0 +1,36 @@ +package cdfmc + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" +) + +type ReadSpecificInput struct { + FmcId string +} + +type ReadSpecificOutput struct { + Uid string `json:"uid"` + DomainUid string `json:"domainUid"` + State string `json:"state"` + Status string `json:"status"` +} + +func NewReadSpecificInput(fmcId string) ReadSpecificInput { + return ReadSpecificInput{ + FmcId: fmcId, + } +} + +func ReadSpecific(ctx context.Context, client http.Client, inp ReadSpecificInput) (*ReadSpecificOutput, error) { + + req := device.NewReadSpecificRequest(ctx, client, *device.NewReadSpecificInput(inp.FmcId)) + + var readSpecificOutp ReadSpecificOutput + if err := req.Send(&readSpecificOutp); err != nil { + return nil, err + } + + return &readSpecificOutp, nil +} diff --git a/client/device/ftd/create.go b/client/device/ftd/create.go deleted file mode 100644 index f886aa50..00000000 --- a/client/device/ftd/create.go +++ /dev/null @@ -1,38 +0,0 @@ -package ftd - -import ( - "context" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" - - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" -) - -type CreateInput struct { - Name string - ConnectorUid string - ConnectorType string - SocketAddress string -} - -type CreateOutput = device.CreateOutput - -func NewCreateInput(name, connectorUid, socketAddress string) CreateInput { - return CreateInput{ - Name: name, - ConnectorUid: connectorUid, - SocketAddress: socketAddress, - } -} - -func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { - - client.Logger.Println("creating generic ssh") - - deviceInput := device.NewCreateRequestInput(createInp.Name, "GENERIC_SSH", createInp.ConnectorUid, createInp.ConnectorType, createInp.SocketAddress, false, false) - outp, err := device.Create(ctx, client, *deviceInput) - if err != nil { - return nil, err - } - - return outp, nil -} diff --git a/client/device/ftdc/create.go b/client/device/ftdc/create.go new file mode 100644 index 00000000..f202d96b --- /dev/null +++ b/client/device/ftdc/create.go @@ -0,0 +1,154 @@ +package ftdc + +import ( + "context" + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/sliceutil" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" + "strings" +) + +type CreateInput struct { + Name string + AccessPolicyName string + PerformanceTier *tier.Type // ignored if it is physical device + Virtual bool + Licenses []license.Type +} + +type CreateOutput struct { + Uid string + Name string + Metadata Metadata +} + +func NewCreateInput( + name string, + accessPolicyName string, + performanceTier *tier.Type, + virtual bool, + licenses []license.Type, +) CreateInput { + return CreateInput{ + Name: name, + AccessPolicyName: accessPolicyName, + PerformanceTier: performanceTier, + Virtual: virtual, + Licenses: licenses, + } +} + +type createRequestBody struct { + FmcId string `json:"associatedDeviceUid"` + DeviceType devicetype.Type `json:"deviceType"` + Metadata metadata `json:"metadata"` + Name string `json:"name"` + State string `json:"state"` // TODO: use queueTriggerState? + Type string `json:"type"` +} + +type metadata struct { + AccessPolicyName string `json:"accessPolicyName"` + AccessPolicyId string `json:"accessPolicyUuid"` + LicenseCaps string `json:"license_caps"` + PerformanceTier *tier.Type `json:"performanceTier"` +} + +func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { + + client.Logger.Println("creating ftdc") + + // 1. find cdFMC + fmcRes, err := cdfmc.Read(ctx, client, cdfmc.NewReadInput()) + if err != nil { + return nil, err + } + // 2. get cdFMC domain id by looking up FMC's specific device + fmcSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(fmcRes.Uid)) + if err != nil { + return nil, err + } + + // 3. read access policies using cdFMC domain id + accessPoliciesRes, err := cdfmc.ReadAccessPolicies( + ctx, + client, + cdfmc.NewReadAccessPoliciesInput(fmcSpecificRes.DomainUid, 1000), // 1000 is what CDO UI uses + ) + if err != nil { + return nil, err + } + selectedPolicy, ok := accessPoliciesRes.Find(createInp.AccessPolicyName) + if !ok { + return nil, fmt.Errorf( + `access policy: "%s" not found, available policies: %s. In rare cases where you have more than 1000 access policies, please raise an issue at: %s`, + createInp.AccessPolicyName, + accessPoliciesRes.Items, + cdo.TerraformProviderCDOIssuesUrl, + ) + } + + // handle selected license caps + licenseCaps := sliceutil.Map(createInp.Licenses, func(l license.Type) string { return string(l) }) + + // handle performance tier + var performanceTier *tier.Type = nil // physical is nil + if createInp.Virtual { + performanceTier = createInp.PerformanceTier + } + + // 4. create the ftdc device + createUrl := url.CreateDevice(client.BaseUrl()) + createBody := createRequestBody{ + Name: createInp.Name, + FmcId: fmcRes.Uid, + DeviceType: devicetype.Ftdc, + Metadata: metadata{ + AccessPolicyName: selectedPolicy.Name, + AccessPolicyId: selectedPolicy.Id, + LicenseCaps: strings.Join(licenseCaps, ","), + PerformanceTier: performanceTier, + }, + State: "NEW", + Type: "devices", + } + createReq := client.NewPost(ctx, createUrl, createBody) + var createOup CreateOutput + if err := createReq.Send(&createOup); err != nil { + return nil, err + } + + // 5. read created ftdc's specific device's uid + readSpecRes, err := device.ReadSpecific(ctx, client, *device.NewReadSpecificInput(createOup.Uid)) + if err != nil { + return nil, err + } + + // 6. initiate ftdc onboarding by triggering a weird endpoint using created ftdc's specific uid + _, err = UpdateSpecificFtd(ctx, client, + NewUpdateSpecificFtdInput( + readSpecRes.SpecificUid, + "INITIATE_FTDC_ONBOARDING", + ), + ) + + // 7. get generate command + readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(createOup.Uid)) + if err != nil { + return nil, err + } + + // done! + return &CreateOutput{ + Uid: createOup.Uid, + Name: createOup.Name, + Metadata: readOutp.Metadata, + }, nil +} diff --git a/client/device/ftdc/delete.go b/client/device/ftdc/delete.go new file mode 100644 index 00000000..686e1f85 --- /dev/null +++ b/client/device/ftdc/delete.go @@ -0,0 +1,32 @@ +package ftdc + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" +) + +type DeleteInput struct { + Uid string +} + +func NewDeleteInput(uid string) DeleteInput { + return DeleteInput{ + Uid: uid, + } +} + +type DeleteOutput = ReadByUidOutput + +func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*DeleteOutput, error) { + + deleteUrl := url.DeleteDevice(client.BaseUrl(), deleteInp.Uid) + req := client.NewDelete(ctx, deleteUrl) + var deleteOutp DeleteOutput + if err := req.Send(&deleteOutp); err != nil { + return nil, err + } + + return &deleteOutp, nil + +} diff --git a/client/device/ftdc/read_by_name.go b/client/device/ftdc/read_by_name.go new file mode 100644 index 00000000..b80731ca --- /dev/null +++ b/client/device/ftdc/read_by_name.go @@ -0,0 +1,37 @@ +package ftdc + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" +) + +type ReadByNameInput struct { + Name string +} + +func NewReadByNameInput(name string) ReadByNameInput { + return ReadByNameInput{ + Name: name, + } +} + +type ReadByNameOutput struct { + Uid string `json:"uid"` + Name string `json:"name"` + Metadata Metadata `json:"metadata,omitempty"` +} + +func ReadByName(ctx context.Context, client http.Client, readInp ReadByNameInput) (*ReadByNameOutput, error) { + + readUrl := url.ReadDeviceByNameAndType(client.BaseUrl(), readInp.Name, devicetype.Ftdc) + req := client.NewGet(ctx, readUrl) + + var readOutp ReadByNameOutput + if err := req.Send(&readOutp); err != nil { + return nil, err + } + + return &readOutp, nil +} diff --git a/client/device/ftdc/read_by_uid.go b/client/device/ftdc/read_by_uid.go new file mode 100644 index 00000000..599f03df --- /dev/null +++ b/client/device/ftdc/read_by_uid.go @@ -0,0 +1,48 @@ +package ftdc + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" +) + +type ReadByUidInput struct { + Uid string `json:"uid"` +} + +func NewReadByUidInput(uid string) ReadByUidInput { + return ReadByUidInput{ + Uid: uid, + } +} + +type ReadByUidOutput struct { + Uid string `json:"uid"` + Metadata Metadata `json:"metadata,omitempty"` +} + +type Metadata struct { + AccessPolicyName string `json:"accessPolicyName,omitempty"` + AccessPolicyUuid string `json:"accessPolicyUuid,omitempty"` + CloudManagerDomain string `json:"cloudManagerDomain,omitempty"` + GeneratedCommand string `json:"generatedCommand,omitempty"` + LicenseCaps []license.Type `json:"license_caps,omitempty"` + NatID string `json:"natID,omitempty"` + PerformanceTier *tier.Type `json:"performanceTier,omitempty"` + RegKey string `json:"regKey,omitempty"` +} + +func ReadByUid(ctx context.Context, client http.Client, readInp ReadByUidInput) (*ReadByUidOutput, error) { + + readUrl := url.ReadDevice(client.BaseUrl(), readInp.Uid) + req := client.NewGet(ctx, readUrl) + + var readOutp ReadByUidOutput + if err := req.Send(&readOutp); err != nil { + return nil, err + } + + return &readOutp, nil +} diff --git a/client/device/ftdc/update.go b/client/device/ftdc/update.go new file mode 100644 index 00000000..0dfdf3a2 --- /dev/null +++ b/client/device/ftdc/update.go @@ -0,0 +1,41 @@ +package ftdc + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" +) + +type UpdateInput struct { + Uid string + Name string +} + +func NewUpdateInput(uid, name string) UpdateInput { + return UpdateInput{ + Uid: uid, + Name: name, + } +} + +type updateRequestBody struct { + Name string `json:"name"` +} + +type UpdateOutput = ReadByUidOutput + +func Update(ctx context.Context, client http.Client, updateInp UpdateInput) (*UpdateOutput, error) { + + updateUrl := url.UpdateDevice(client.BaseUrl(), updateInp.Uid) + updateBody := updateRequestBody{ + Name: updateInp.Name, + } + req := client.NewPut(ctx, updateUrl, updateBody) + var updateOutp UpdateOutput + if err := req.Send(&updateOutp); err != nil { + return nil, err + } + + return &updateOutp, nil + +} diff --git a/client/device/ftdc/updatespecificftd.go b/client/device/ftdc/updatespecificftd.go new file mode 100644 index 00000000..240e3840 --- /dev/null +++ b/client/device/ftdc/updatespecificftd.go @@ -0,0 +1,43 @@ +package ftdc + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" +) + +type UpdateSpecificFtdInput struct { + SpecificUid string + QueueTriggerState string +} + +func NewUpdateSpecificFtdInput(specificUid string, queueTriggerState string) UpdateSpecificFtdInput { + return UpdateSpecificFtdInput{ + SpecificUid: specificUid, + QueueTriggerState: queueTriggerState, + } +} + +type UpdateSpecificFtdOutput struct { + SpecificUid string `json:"uid"` +} + +type updateSpecificRequestBody struct { + QueueTriggerState string `json:"queueTriggerState"` +} + +func UpdateSpecificFtd(ctx context.Context, client http.Client, updateInp UpdateSpecificFtdInput) (*UpdateSpecificFtdOutput, error) { + + updateUrl := url.UpdateSpecificFtdc(client.BaseUrl(), updateInp.SpecificUid) + + updateBody := updateSpecificRequestBody{ + QueueTriggerState: updateInp.QueueTriggerState, + } + req := client.NewPut(ctx, updateUrl, updateBody) + var updateOutp UpdateSpecificFtdOutput + if err := req.Send(&updateOutp); err != nil { + return nil, err + } + + return &updateOutp, nil +} diff --git a/client/device/read_by_nameandtype.go b/client/device/read_by_nameandtype.go index bc564d52..aa33118c 100644 --- a/client/device/read_by_nameandtype.go +++ b/client/device/read_by_nameandtype.go @@ -5,14 +5,15 @@ import ( "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" ) type ReadByNameAndTypeInput struct { - Name string `json:"name"` - DeviceType string `json:"deviceType"` + Name string `json:"name"` + DeviceType devicetype.Type `json:"deviceType"` } -func NewReadByNameAndTypeInput(name, deviceType string) ReadByNameAndTypeInput { +func NewReadByNameAndTypeInput(name string, deviceType devicetype.Type) ReadByNameAndTypeInput { return ReadByNameAndTypeInput{ Name: name, DeviceType: deviceType, @@ -23,7 +24,7 @@ func ReadByNameAndType(ctx context.Context, client http.Client, readInp ReadByNa client.Logger.Println("reading Device by name and device type") - readUrl := url.ReadDeviceByNameAndDeviceType(client.BaseUrl(), readInp.Name, readInp.DeviceType) + readUrl := url.ReadDeviceByNameAndType(client.BaseUrl(), readInp.Name, readInp.DeviceType) req := client.NewGet(ctx, readUrl) diff --git a/client/internal/sliceutil/map.go b/client/internal/sliceutil/map.go new file mode 100644 index 00000000..9ae9c6d7 --- /dev/null +++ b/client/internal/sliceutil/map.go @@ -0,0 +1,25 @@ +package sliceutil + +// MapWithError takes a slice and a function, apply the function to each element in the slice, and return the result. +// It takes a function that can return error, when it returns error, no subsequent element is mapped +// and the slice mapped so far is returned together with the error. +func MapWithError[T any, V any](sliceT []T, mapFunc func(T) (V, error)) ([]V, error) { + sliceV := make([]V, len(sliceT)) + for i, item := range sliceT { + mapped, err := mapFunc(item) + if err != nil { + return sliceV, err + } + sliceV[i] = mapped + } + return sliceV, nil +} + +// Map takes a slice and a function, apply the function to each element in the slice, and return the mapped slice. +func Map[T any, V any](sliceT []T, mapFunc func(T) V) []V { + sliceV := make([]V, len(sliceT)) + for i, item := range sliceT { + sliceV[i] = mapFunc(item) + } + return sliceV +} diff --git a/client/internal/url/url.go b/client/internal/url/url.go index 16b97638..58038c3a 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -10,7 +10,7 @@ func ReadDevice(baseUrl string, uid string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices/%s", baseUrl, uid) } -func ReadDeviceByNameAndDeviceType(baseUrl string, deviceName string, deviceType string) string { +func ReadDeviceByNameAndType(baseUrl string, deviceName string, deviceType devicetype.Type) string { return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices?q=name:%s+AND+deviceType:%s", baseUrl, deviceName, deviceType) } func ReadAllDevicesByType(baseUrl string, deviceType devicetype.Type) string { @@ -76,3 +76,7 @@ func ReadAccessPolicies(baseUrl string, domainUid string, limit int) string { func ReadSmartLicense(baseUrl string) string { return fmt.Sprintf("%s/fmc/api/fmc_platform/v1/license/smartlicenses", baseUrl) } + +func UpdateSpecificFtdc(baseUrl string, ftdSpecificUid string) string { + return fmt.Sprintf("%s/aegis/rest/v1/services/firepower/ftds/%s", baseUrl, ftdSpecificUid) +} diff --git a/client/model/accesspolicies/accesspolicies.go b/client/model/cdfmc/accesspolicies/accesspolicies.go similarity index 68% rename from client/model/accesspolicies/accesspolicies.go rename to client/model/cdfmc/accesspolicies/accesspolicies.go index 4f03e0eb..48c02ebd 100644 --- a/client/model/accesspolicies/accesspolicies.go +++ b/client/model/cdfmc/accesspolicies/accesspolicies.go @@ -1,12 +1,12 @@ package accesspolicies type AccessPolicies struct { - Items Items `json:"items"` + Items []Item `json:"items"` Links Links `json:"links"` Paging Paging `json:"paging"` } -func New(items Items, links Links, paging Paging) AccessPolicies { +func New(items []Item, links Links, paging Paging) AccessPolicies { return AccessPolicies{ Items: items, Links: links, @@ -14,14 +14,14 @@ func New(items Items, links Links, paging Paging) AccessPolicies { } } -type Items struct { - Items []Item `json:"items"` -} - -func NewItems(items ...Item) Items { - return Items{ - Items: items, +// Find return the access policy item with the given name, second return value ok indicate whether the item is found. +func (policies *AccessPolicies) Find(name string) (item Item, ok bool) { + for _, policy := range policies.Items { + if policy.Name == name { + return policy, true + } } + return Item{}, false } type Item struct { diff --git a/client/model/smartlicense/smartlicense.go b/client/model/cdfmc/smartlicense/smartlicense.go similarity index 100% rename from client/model/smartlicense/smartlicense.go rename to client/model/cdfmc/smartlicense/smartlicense.go diff --git a/client/model/devicetype/devicetype.go b/client/model/devicetype/devicetype.go index 07da2787..e249c5f7 100644 --- a/client/model/devicetype/devicetype.go +++ b/client/model/devicetype/devicetype.go @@ -6,4 +6,5 @@ const ( Asa Type = "ASA" Ios Type = "IOS" Cdfmc Type = "FMCE" + Ftdc Type = "FTDC" ) diff --git a/client/model/ftd/license/license.go b/client/model/ftd/license/license.go new file mode 100644 index 00000000..1bfdb3d8 --- /dev/null +++ b/client/model/ftd/license/license.go @@ -0,0 +1,31 @@ +package license + +import "fmt" + +type Type string + +// https://www.cisco.com/c/en/us/td/docs/security/firepower/70/fdm/fptd-fdm-config-guide-700/fptd-fdm-license.html +const ( + Base Type = "BASE" + Carrier Type = "CARRIER" + Threat Type = "THREAT" + Malware Type = "MALWARE" + URLFilter Type = "URLFilter" +) + +var AllLicenses = []Type{ + Base, + Carrier, + Threat, + Malware, + URLFilter, +} + +func MustParse(name string) Type { + for _, l := range AllLicenses { + if string(l) == name { + return l + } + } + panic(fmt.Errorf("FTD License of name: \"%s\" not found", name)) +} diff --git a/client/model/ftd/tier/tier.go b/client/model/ftd/tier/tier.go new file mode 100644 index 00000000..7afa6132 --- /dev/null +++ b/client/model/ftd/tier/tier.go @@ -0,0 +1,35 @@ +package tier + +import "fmt" + +type Type string + +// https://www.cisco.com/c/en/us/td/docs/security/firepower/70/fdm/fptd-fdm-config-guide-700/fptd-fdm-license.html +const ( + FTDv5 Type = "FTDv5" + FTDv10 Type = "FTDv10" + FTDv20 Type = "FTDv20" + FTDv30 Type = "FTDv30" + FTDv50 Type = "FTDv50" + FTDv100 Type = "FTDv100" + FTDv Type = "FTDv" +) + +var AllTiers = []Type{ + FTDv5, + FTDv10, + FTDv20, + FTDv30, + FTDv50, + FTDv100, + FTDv, +} + +func Parse(name string) (Type, error) { + for _, tier := range AllTiers { + if string(tier) == name { + return tier, nil + } + } + return "", fmt.Errorf("FTD Performance Tier of name: \"%s\" not found", name) +} diff --git a/provider/internal/device/ftd/operation.go b/provider/internal/device/ftd/operation.go index 6c130cf3..916f98db 100644 --- a/provider/internal/device/ftd/operation.go +++ b/provider/internal/device/ftd/operation.go @@ -2,24 +2,73 @@ package ftd import ( "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/ftdc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" + "github.com/CiscoDevnet/terraform-provider-cdo/internal/util" + "github.com/CiscoDevnet/terraform-provider-cdo/internal/util/sliceutil" + "github.com/hashicorp/terraform-plugin-framework/types" ) func Read(ctx context.Context, resource *Resource, stateData *ResourceModel) error { - // TODO: fill me // do read + inp := ftdc.NewReadByNameInput(stateData.Name.ValueString()) + res, err := resource.client.ReadFtdcByName(ctx, inp) + if err != nil { + return err + } // map return struct to sdc model + stateData.ID = types.StringValue(res.Uid) + stateData.Name = types.StringValue(res.Name) + stateData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) + stateData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) + stateData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) + stateData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) + if res.Metadata.PerformanceTier != nil { // nil means physical ftd + stateData.PerformanceTier = types.StringValue(string(*res.Metadata.PerformanceTier)) + } + stateData.GeneratedCommand = types.StringValue(res.Metadata.GeneratedCommand) return nil } func Create(ctx context.Context, resource *Resource, planData *ResourceModel) error { - // TODO: fill me // do create + var performanceTier *tier.Type = nil + if planData.PerformanceTier.ValueString() != "" { + t, err := tier.Parse(planData.PerformanceTier.ValueString()) + performanceTier = &t + if err != nil { + return err + } + } + + createInp := ftdc.NewCreateInput( + planData.Name.ValueString(), + planData.AccessPolicyName.ValueString(), + performanceTier, + planData.Virtual.ValueBool(), + sliceutil.Map(util.TFStringListToGoStringList(planData.Licenses), func(s string) license.Type { return license.MustParse(s) }), + ) + res, err := resource.client.CreateFtdc(ctx, createInp) + if err != nil { + return err + } // map return struct to sdc model + planData.ID = types.StringValue(res.Uid) + planData.Name = types.StringValue(res.Name) + planData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) + planData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) + planData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) + planData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) + if res.Metadata.PerformanceTier != nil { // nil means physical ftd + planData.PerformanceTier = types.StringValue(string(*res.Metadata.PerformanceTier)) + } + planData.GeneratedCommand = types.StringValue(res.Metadata.GeneratedCommand) return nil } diff --git a/provider/internal/device/ftd/resource.go b/provider/internal/device/ftd/resource.go index be9a964e..0d9ae767 100644 --- a/provider/internal/device/ftd/resource.go +++ b/provider/internal/device/ftd/resource.go @@ -3,11 +3,13 @@ package ftd import ( "context" "fmt" - cdoClient "github.com/CiscoDevnet/terraform-provider-cdo/go-client" "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier" + "github.com/hashicorp/terraform-plugin-framework/resource/schema/listplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/stringplanmodifier" "github.com/hashicorp/terraform-plugin-framework/types" @@ -26,9 +28,15 @@ type Resource struct { } type ResourceModel struct { - ID types.String `tfsdk:"id"` - Name types.String `tfsdk:"name"` - // TODO: fill me + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + AccessPolicyName types.String `tfsdk:"access_policy_name"` + PerformanceTier types.String `tfsdk:"performance_tier"` + Virtual types.Bool `tfsdk:"virtual"` + Licenses types.List `tfsdk:"licenses"` + + AccessPolicyUid types.String `tfsdk:"access_policy_id"` + GeneratedCommand types.String `tfsdk:"generated_command"` } func (r *Resource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { @@ -51,7 +59,50 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp MarkdownDescription: "A human-readable name for the Secure Device Connector (SDC). This should be unique among SDCs", Required: true, }, - // TODO: fill me + "access_policy_name": schema.StringAttribute{ + MarkdownDescription: "The name of the cdFMC access policy that will be used by the FTD", + Required: true, + // TODO: make this optional, and use default access policy when not given + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), // TODO: can we change access policy after it is created? + }, + }, + "performance_tier": schema.StringAttribute{ + MarkdownDescription: "The performance tier of the virtual FTD, if virtual is set to false, this field is ignored.", + Required: false, + // TODO: validator for performance tier, check valid performance tier is given + // TODO: ignore changes in this field when virtual is false + PlanModifiers: []planmodifier.String{ + stringplanmodifier.RequiresReplace(), // TODO: can we change performance tier after it is created? + }, + }, + "virtual": schema.BoolAttribute{ + MarkdownDescription: "Whether this FTD is virtual. If false, performance_tier is ignored", + Required: false, + Default: booldefault.StaticBool(false), + PlanModifiers: []planmodifier.Bool{ + boolplanmodifier.RequiresReplace(), + }, + }, + "licenses": schema.ListAttribute{ + ElementType: types.StringType, + MarkdownDescription: "Comma separated list of licenses of this FTD, it must at least contains the \"BASE\" license.", + Required: true, + // TODO: make this not required, when not given, use BASE license + PlanModifiers: []planmodifier.List{ + listplanmodifier.RequiresReplace(), // TODO: can we modify license after FTD is created? + // TODO: always sort the licenses so that it is the same order, so that it does not change when order of licenses changes + }, + // TODO: validate the licenses are valid input. + }, + "generated_command": schema.StringAttribute{ + MarkdownDescription: "The command to run in the FTD to register itself with cdFMC.", + Computed: true, + }, + "access_policy_id": schema.StringAttribute{ + MarkdownDescription: "The id of the access policy used by this FTD.", + Computed: true, + }, }, } } diff --git a/provider/internal/util/sliceutil/slice.go b/provider/internal/util/sliceutil/slice.go new file mode 100644 index 00000000..473dec8a --- /dev/null +++ b/provider/internal/util/sliceutil/slice.go @@ -0,0 +1,10 @@ +package sliceutil + +// Map takes a slice and a function, apply the function to each element in the slice, and return the mapped slice. +func Map[T any, V any](sliceT []T, mapFunc func(T) V) []V { + sliceV := make([]V, len(sliceT)) + for i, item := range sliceT { + sliceV[i] = mapFunc(item) + } + return sliceV +} diff --git a/provider/internal/util/togo.go b/provider/internal/util/togo.go new file mode 100644 index 00000000..2267fa56 --- /dev/null +++ b/provider/internal/util/togo.go @@ -0,0 +1,11 @@ +package util + +import "github.com/hashicorp/terraform-plugin-framework/types" + +func TFStringListToGoStringList(l types.List) []string { + res := make([]string, len(l.Elements())) + for i, v := range l.Elements() { + res[i] = v.String() + } + return res +} diff --git a/provider/internal/util/totf.go b/provider/internal/util/totf.go new file mode 100644 index 00000000..f72be039 --- /dev/null +++ b/provider/internal/util/totf.go @@ -0,0 +1,16 @@ +package util + +import ( + "github.com/hashicorp/terraform-plugin-framework/attr" + "github.com/hashicorp/terraform-plugin-framework/types" +) + +func GoStringSliceToTFStringList(stringSlice []string) types.List { + s := make([]attr.Value, len(stringSlice)) + for i, v := range stringSlice { + s[i] = types.StringValue(v) + } + + l, _ := types.ListValue(types.StringType, s) // drop diag as type is always correct + return l +} From 66204dd1689f4fe7a231d2db5cd4a5c32d1a6814 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Thu, 24 Aug 2023 17:30:43 +0100 Subject: [PATCH 12/31] fix merge conflict --- client/device/cdfmc/fixture_test.go | 14 +------------- client/device/cdfmc/readaccesspolicies_test.go | 17 ++++++++--------- client/internal/url/url.go | 4 ---- 3 files changed, 9 insertions(+), 26 deletions(-) diff --git a/client/device/cdfmc/fixture_test.go b/client/device/cdfmc/fixture_test.go index 5b63b985..cbbe1f42 100644 --- a/client/device/cdfmc/fixture_test.go +++ b/client/device/cdfmc/fixture_test.go @@ -14,7 +14,7 @@ const ( smartLicenseLimit = 123456 smartLicensePages = 123456 - baseUrl = "https://unit-test.net" + baseUrl = "https://unit-test.net" domainUid = "unit-test-domain-uid" limit = 123456 @@ -26,16 +26,4 @@ const ( accessPolicyOffset = 123456 accessPolicyLimit = 123456 accessPolicyPages = 123456 - smartLicenseEvalExpiresInDays = 123456 - smartLicenseEvalUsed = false - smartLicenseExportControl = false - smartLicenseVirtualAccount = "unit-test-virtual-account" - smartLicenseAuthStatus = "unit-test-auth-status" - smartLicenseRegStatus = "unit-test-reg-status" - smartLicenseType = "unit-test-type" - smartLicenseSelfLink = "unit-test-self-link" - smartLicenseCount = 123456 - smartLicenseOffset = 123456 - smartLicenseLimit = 123456 - smartLicensePages = 123456 ) diff --git a/client/device/cdfmc/readaccesspolicies_test.go b/client/device/cdfmc/readaccesspolicies_test.go index 83e88697..85eea6cc 100644 --- a/client/device/cdfmc/readaccesspolicies_test.go +++ b/client/device/cdfmc/readaccesspolicies_test.go @@ -5,8 +5,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/accesspolicies" - accesspolicies2 "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/accesspolicies" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/accesspolicies" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -18,23 +17,23 @@ func TestAccessPoliciesRead(t *testing.T) { httpmock.Activate() defer httpmock.DeactivateAndReset() - validAccessPolicesItems := accesspolicies.NewItems( - accesspolicies2.NewItem( + validAccessPolicesItems := []accesspolicies.Item{ + accesspolicies.NewItem( accessPolicyId, accessPolicyName, accessPolicyType, - accesspolicies2.NewLinks(accessPolicySelfLink), + accesspolicies.NewLinks(accessPolicySelfLink), ), - ) - validAccessPoliciesPaging := accesspolicies2.NewPaging( + } + validAccessPoliciesPaging := accesspolicies.NewPaging( accessPolicyCount, accessPolicyOffset, accessPolicyLimit, accessPolicyPages, ) - validAccessPoliciesLink := accesspolicies2.NewLinks(accessPolicySelfLink) + validAccessPoliciesLink := accesspolicies.NewLinks(accessPolicySelfLink) - validAccessPolicies := accesspolicies2.New( + validAccessPolicies := accesspolicies.New( validAccessPolicesItems, validAccessPoliciesLink, validAccessPoliciesPaging, diff --git a/client/internal/url/url.go b/client/internal/url/url.go index ea34aec7..ef7338fa 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -77,10 +77,6 @@ func ReadAccessPolicies(baseUrl string, domainUid string, limit int) string { return fmt.Sprintf("%s/fmc/api/fmc_config/v1/domain/%s/policy/accesspolicies?limit=%d", baseUrl, domainUid, limit) } -func ReadSmartLicense(baseUrl string) string { - return fmt.Sprintf("%s/fmc/api/fmc_platform/v1/license/smartlicenses", baseUrl) -} - func UpdateSpecificFtdc(baseUrl string, ftdSpecificUid string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/firepower/ftds/%s", baseUrl, ftdSpecificUid) } From b214ba0dfb0d06d2aaa943e2bb13b4054817f2e3 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Thu, 24 Aug 2023 17:42:38 +0100 Subject: [PATCH 13/31] init impl done --- client/device/ftdc/delete.go | 3 ++- client/device/ftdc/read_by_uid.go | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client/device/ftdc/delete.go b/client/device/ftdc/delete.go index 686e1f85..76d36946 100644 --- a/client/device/ftdc/delete.go +++ b/client/device/ftdc/delete.go @@ -19,7 +19,8 @@ func NewDeleteInput(uid string) DeleteInput { type DeleteOutput = ReadByUidOutput func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*DeleteOutput, error) { - + + // TODO: is this all it takes to delete a ftdc? What about the underlying virtual ftd? deleteUrl := url.DeleteDevice(client.BaseUrl(), deleteInp.Uid) req := client.NewDelete(ctx, deleteUrl) var deleteOutp DeleteOutput diff --git a/client/device/ftdc/read_by_uid.go b/client/device/ftdc/read_by_uid.go index 599f03df..f20e90b1 100644 --- a/client/device/ftdc/read_by_uid.go +++ b/client/device/ftdc/read_by_uid.go @@ -20,6 +20,7 @@ func NewReadByUidInput(uid string) ReadByUidInput { type ReadByUidOutput struct { Uid string `json:"uid"` + Name string `json:"name"` Metadata Metadata `json:"metadata,omitempty"` } From ecaab96e79b951c0ec9c82870ee2beffa92ca3fe Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Fri, 25 Aug 2023 15:57:57 +0100 Subject: [PATCH 14/31] finally create working --- client/device/cdfmc/read.go | 16 +- client/device/cdfmc/readaccesspolicies.go | 13 +- client/device/ftdc/create.go | 31 +- client/device/ftdc/read_by_uid.go | 35 + client/device/ftdc/retry.go | 27 + client/device/readall_by_type.go | 12 +- client/internal/http/request.go | 33 +- client/internal/retry/do.go | 14 +- client/model/ftd/license/license.go | 79 +- .../examples/resources/ftd/ftd_example.tf | 20 + provider/examples/resources/ftd/temp.txt | 1199 +++++++++++++++++ provider/internal/device/ftd/operation.go | 35 +- provider/internal/device/ftd/resource.go | 28 +- provider/internal/device/ftd/resource_test.go | 69 + provider/internal/provider/provider.go | 2 + provider/internal/util/sliceutil/slice.go | 15 + provider/internal/util/togo.go | 8 +- provider/internal/util/totf.go | 8 +- 18 files changed, 1576 insertions(+), 68 deletions(-) create mode 100644 client/device/ftdc/retry.go create mode 100644 provider/examples/resources/ftd/ftd_example.tf create mode 100644 provider/examples/resources/ftd/temp.txt create mode 100644 provider/internal/device/ftd/resource_test.go diff --git a/client/device/cdfmc/read.go b/client/device/cdfmc/read.go index 19470b12..0ada7596 100644 --- a/client/device/cdfmc/read.go +++ b/client/device/cdfmc/read.go @@ -17,24 +17,28 @@ func NewReadInput() ReadInput { return ReadInput{} } -type ReadOutput = device.ReadOutput +type ReadOutput struct { + device.ReadOutput + Host string `json:"host"` +} func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { client.Logger.Println("reading cdFMC") - cdfmcDevices, err := device.ReadAllByType(ctx, client, device.NewReadAllByTypeInput(devicetype.Cdfmc)) - if err != nil { + req := device.ReadAllByTypeRequest(ctx, client, device.NewReadAllByTypeInput(devicetype.Cdfmc)) + var cdfmcDevices []ReadOutput + if err := req.Send(&cdfmcDevices); err != nil { return nil, err } - if len(*cdfmcDevices) == 0 { + if len(cdfmcDevices) == 0 { return nil, fmt.Errorf("firewall management center (FMC) not found") } - if len(*cdfmcDevices) > 1 { + if len(cdfmcDevices) > 1 { return nil, fmt.Errorf("more than one firewall management center (FMC) found, please report this issue at: %s", cdo.TerraformProviderCDOIssuesUrl) } - return &(*cdfmcDevices)[0], nil + return &cdfmcDevices[0], nil } diff --git a/client/device/cdfmc/readaccesspolicies.go b/client/device/cdfmc/readaccesspolicies.go index 497f8a25..a665a385 100644 --- a/client/device/cdfmc/readaccesspolicies.go +++ b/client/device/cdfmc/readaccesspolicies.go @@ -8,14 +8,16 @@ import ( ) type ReadAccessPoliciesInput struct { - DomainUid string - Limit int + FmcHostname string + DomainUid string + Limit int } -func NewReadAccessPoliciesInput(domainUid string, limit int) ReadAccessPoliciesInput { +func NewReadAccessPoliciesInput(fmcHostname, domainUid string, limit int) ReadAccessPoliciesInput { return ReadAccessPoliciesInput{ - DomainUid: domainUid, - Limit: limit, + FmcHostname: fmcHostname, + DomainUid: domainUid, + Limit: limit, } } @@ -26,6 +28,7 @@ func ReadAccessPolicies(ctx context.Context, client http.Client, inp ReadAccessP readUrl := url.ReadAccessPolicies(client.BaseUrl(), inp.DomainUid, inp.Limit) req := client.NewGet(ctx, readUrl) + req.Header.Add("Fmc-Hostname", inp.FmcHostname) // required, otherwise 500 internal server error var outp ReadAccessPoliciesOutput if err := req.Send(&outp); err != nil { diff --git a/client/device/ftdc/create.go b/client/device/ftdc/create.go index f202d96b..52a082e4 100644 --- a/client/device/ftdc/create.go +++ b/client/device/ftdc/create.go @@ -7,6 +7,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/sliceutil" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" @@ -24,9 +25,9 @@ type CreateInput struct { } type CreateOutput struct { - Uid string - Name string - Metadata Metadata + Uid string `json:"uid"` + Name string `json:"name"` + Metadata Metadata `json:"metadata"` } func NewCreateInput( @@ -52,6 +53,7 @@ type createRequestBody struct { Name string `json:"name"` State string `json:"state"` // TODO: use queueTriggerState? Type string `json:"type"` + Model bool `json:"model"` } type metadata struct { @@ -61,6 +63,13 @@ type metadata struct { PerformanceTier *tier.Type `json:"performanceTier"` } +// TODO: use this to fetch +// +// curl --request GET \ +// --url https:///api/fmc_platform/v1/info/domain \ +// --header 'Authorization: Bearer ' +const FmcDomainUid = "e276abec-e0f2-11e3-8169-6d9ed49b625f" + func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { client.Logger.Println("creating ftdc") @@ -71,16 +80,16 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return nil, err } // 2. get cdFMC domain id by looking up FMC's specific device - fmcSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(fmcRes.Uid)) - if err != nil { - return nil, err - } + //fmcSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(fmcRes.Uid)) + //if err != nil { + // return nil, err + //} // 3. read access policies using cdFMC domain id accessPoliciesRes, err := cdfmc.ReadAccessPolicies( ctx, client, - cdfmc.NewReadAccessPoliciesInput(fmcSpecificRes.DomainUid, 1000), // 1000 is what CDO UI uses + cdfmc.NewReadAccessPoliciesInput(fmcRes.Host, FmcDomainUid, 1000), // 1000 is what CDO UI uses ) if err != nil { return nil, err @@ -118,6 +127,7 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr }, State: "NEW", Type: "devices", + Model: false, } createReq := client.NewPost(ctx, createUrl, createBody) var createOup CreateOutput @@ -140,6 +150,11 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr ) // 7. get generate command + err = retry.Do(UntilGeneratedCommandAvailable(ctx, client, createOup.Uid), *retry.NewOptionsWithLoggerAndRetries(client.Logger, 3)) + //readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(createOup.Uid)) + if err != nil { + return nil, err + } readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(createOup.Uid)) if err != nil { return nil, err diff --git a/client/device/ftdc/read_by_uid.go b/client/device/ftdc/read_by_uid.go index f20e90b1..d4264441 100644 --- a/client/device/ftdc/read_by_uid.go +++ b/client/device/ftdc/read_by_uid.go @@ -2,6 +2,7 @@ package ftdc import ( "context" + "encoding/json" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" @@ -35,6 +36,40 @@ type Metadata struct { RegKey string `json:"regKey,omitempty"` } +func (metadata *Metadata) UnmarshalJSON(data []byte) error { + var t struct { + AccessPolicyName string `json:"accessPolicyName,omitempty"` + AccessPolicyUuid string `json:"accessPolicyUuid,omitempty"` + CloudManagerDomain string `json:"cloudManagerDomain,omitempty"` + GeneratedCommand string `json:"generatedCommand,omitempty"` + LicenseCaps string `json:"license_caps,omitempty"` + NatID string `json:"natID,omitempty"` + PerformanceTier *tier.Type `json:"performanceTier,omitempty"` + RegKey string `json:"regKey,omitempty"` + } + err := json.Unmarshal(data, &t) + if err != nil { + return err + } + + licenseCaps, err := license.ParseAll(t.LicenseCaps) + if err != nil { + return err + } + + (*metadata).AccessPolicyName = t.AccessPolicyName + (*metadata).AccessPolicyUuid = t.AccessPolicyUuid + (*metadata).CloudManagerDomain = t.CloudManagerDomain + (*metadata).GeneratedCommand = t.GeneratedCommand + (*metadata).NatID = t.NatID + (*metadata).PerformanceTier = t.PerformanceTier + (*metadata).RegKey = t.RegKey + + (*metadata).LicenseCaps = licenseCaps + + return nil +} + func ReadByUid(ctx context.Context, client http.Client, readInp ReadByUidInput) (*ReadByUidOutput, error) { readUrl := url.ReadDevice(client.BaseUrl(), readInp.Uid) diff --git a/client/device/ftdc/retry.go b/client/device/ftdc/retry.go new file mode 100644 index 00000000..50661d19 --- /dev/null +++ b/client/device/ftdc/retry.go @@ -0,0 +1,27 @@ +package ftdc + +import ( + "context" + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" +) + +func UntilGeneratedCommandAvailable(ctx context.Context, client http.Client, uid string) retry.Func { + + return func() (bool, error) { + readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(uid)) + if err != nil { + return false, err + } + + client.Logger.Printf("device metadata=%s\n", readOutp.Metadata) + + if readOutp.Metadata.GeneratedCommand != "" { + return true, nil + + } else { + return false, fmt.Errorf("generated command not found in metadata: %+v", readOutp.Metadata) + } + } +} diff --git a/client/device/readall_by_type.go b/client/device/readall_by_type.go index 81dd439c..0937f511 100644 --- a/client/device/readall_by_type.go +++ b/client/device/readall_by_type.go @@ -19,13 +19,19 @@ func NewReadAllByTypeInput(deviceType devicetype.Type) ReadAllByTypeInput { } } +func ReadAllByTypeRequest(ctx context.Context, client http.Client, readInp ReadAllByTypeInput) *http.Request { + readAllUrl := url.ReadAllDevicesByType(client.BaseUrl(), readInp.DeviceType) + + req := client.NewGet(ctx, readAllUrl) + + return req +} + func ReadAllByType(ctx context.Context, client http.Client, readInp ReadAllByTypeInput) (*ReadAllByTypeOutput, error) { client.Logger.Println("reading all Devices by device type") - readAllUrl := url.ReadAllDevicesByType(client.BaseUrl(), readInp.DeviceType) - - req := client.NewGet(ctx, readAllUrl) + req := ReadAllByTypeRequest(ctx, client, readInp) var outp []ReadOutput if err := req.Send(&outp); err != nil { diff --git a/client/internal/http/request.go b/client/internal/http/request.go index db9f1397..87e699fb 100644 --- a/client/internal/http/request.go +++ b/client/internal/http/request.go @@ -29,12 +29,11 @@ type Request struct { url string body any + Header http.Header Response *Response Error error } -const () - func NewRequest(config cdo.Config, httpClient *http.Client, logger *log.Logger, ctx context.Context, method string, url string, body any) *Request { return &Request{ config: config, @@ -46,6 +45,7 @@ func NewRequest(config cdo.Config, httpClient *http.Client, logger *log.Logger, method: method, url: url, body: body, + Header: make(http.Header), } } @@ -95,13 +95,14 @@ func (r *Request) send(output any) error { // check status if res.StatusCode >= 400 { body, err := io.ReadAll(res.Body) - err = fmt.Errorf("failed: code=%d, status=%s, body=%s, readBodyErr=%s, url=%s, method=%s", res.StatusCode, res.Status, string(body), err, r.url, r.method) + err = fmt.Errorf("failed: url=%s, code=%d, status=%s, body=%s, readBodyErr=%s, method=%s, header=%s", r.url, res.StatusCode, res.Status, string(body), err, r.method, r.Header) r.Error = err return err } // request is all good, now parse body resBody, err := io.ReadAll(res.Body) + fmt.Printf("\n\nsuccess: url=%s, code=%d, status=%s, body=%s, readBodyErr=%s, method=%s, header=%s\n", r.url, res.StatusCode, res.Status, string(resBody), err, r.method, r.Header) if err != nil { r.Error = err return err @@ -131,6 +132,20 @@ func (r *Request) build() (*http.Request, error) { return nil, err } + if r.method != "GET" && r.method != "DELETE" { + bodyReader2, err := toReader(r.body) + if err != nil { + return nil, err + } + bs, err := io.ReadAll(bodyReader2) + if err != nil { + return nil, err + } + fmt.Println("request_check") + fmt.Printf("Request: %+v\n", r) + fmt.Printf("Request: %s, %s, %s\n", r.url, r.method, string(bs)) + } + req, err := http.NewRequest(r.method, r.url, bodyReader) if err != nil { return nil, err @@ -138,7 +153,8 @@ func (r *Request) build() (*http.Request, error) { if r.ctx != nil { req = req.WithContext(r.ctx) } - r.addAuthHeader(req) + + r.addHeaders(req) return req, nil } @@ -147,6 +163,15 @@ func (r *Request) addAuthHeader(req *http.Request) { req.Header.Add("Content-Type", "application/json") } +func (r *Request) addHeaders(req *http.Request) { + r.addAuthHeader(req) + for k, vs := range r.Header { + for _, v := range vs { + req.Header.Add(k, v) + } + } +} + // toReader try to convert anything to io.Reader. // Can return nil, which means empty, i.e. empty request body func toReader(v any) (io.Reader, error) { diff --git a/client/internal/retry/do.go b/client/internal/retry/do.go index 33b80f46..6e446845 100644 --- a/client/internal/retry/do.go +++ b/client/internal/retry/do.go @@ -27,8 +27,8 @@ type Options struct { } // Func is the retryable function for retrying. -// ok: whether to to stop -// err: if not nil, stop retrying +// ok: whether ok to stop +// err: if not nil, stop retrying and return that error type Func func() (ok bool, err error) const ( @@ -60,6 +60,16 @@ func NewOptionsWithLogger(logger *log.Logger) *Options { ) } +func NewOptionsWithLoggerAndRetries(logger *log.Logger, retries int) *Options { + return NewOptions( + logger, + DefaultTimeout, + DefaultDelay, + retries, + DefaultEarlyExitOnError, + ) +} + func NewOptions(logger *log.Logger, timeout time.Duration, delay time.Duration, retries int, earlyExitOnError bool) *Options { return &Options{ Timeout: timeout, diff --git a/client/model/ftd/license/license.go b/client/model/ftd/license/license.go index 1bfdb3d8..cb1943a5 100644 --- a/client/model/ftd/license/license.go +++ b/client/model/ftd/license/license.go @@ -1,9 +1,46 @@ package license -import "fmt" +import ( + "fmt" + "strings" +) type Type string +//type TypeSlice []Type + +//func (t *Type) UnmarshalJSON(data []byte) error { +// if len(data) == 0 || string(data) == "null" { +// return nil +// } +// dataStr := string(data) +// for _, l := range licenseMap { +// if string(l) == dataStr { +// *t = l +// } +// } +// return fmt.Errorf("cannot unmarshal json: \"%s\" to type license.Type, it should be one of %s", string(data), licenseMap) +//} +// +//func (ts *TypeSlice) UnmarshalJSON(data []byte) error { +// if len(data) == 0 || string(data) == "null" { +// return nil +// } +// dataStr := string(data) +// licenseStrs := strings.Split(dataStr, ",") +// licenseSlice := make([]Type, len(licenseStrs)) +// for i, licenseStr := range licenseStrs { +// license, ok := licenseMap[licenseStr] +// if !ok { +// return fmt.Errorf("cannot unmarshal json, license: \"%s\" is not a valid license, valid licenses: %+v", license, licenseMap) +// } +// licenseSlice[i] = license +// } +// +// *ts = licenseSlice +// return nil +//} + // https://www.cisco.com/c/en/us/td/docs/security/firepower/70/fdm/fptd-fdm-config-guide-700/fptd-fdm-license.html const ( Base Type = "BASE" @@ -13,19 +50,39 @@ const ( URLFilter Type = "URLFilter" ) -var AllLicenses = []Type{ - Base, - Carrier, - Threat, - Malware, - URLFilter, +var licenseMap = map[string]Type{ + "BASE": Base, + "CARRIER": Carrier, + "THREAT": Threat, + "MALWARE": Malware, + "URLFilter": URLFilter, } func MustParse(name string) Type { - for _, l := range AllLicenses { - if string(l) == name { - return l + l, ok := licenseMap[name] + if !ok { + panic(fmt.Errorf("FTD License of name: \"%s\" not found", name)) + } + return l +} + +func Parse(name string) (Type, error) { + l, ok := licenseMap[name] + if !ok { + return "", fmt.Errorf("FTD License of name: \"%s\" not found, should be one of: %+v", name, licenseMap) + } + return l, nil +} + +func ParseAll(names string) ([]Type, error) { + licenseStrs := strings.Split(names, ",") + licenses := make([]Type, len(licenseStrs)) + for i, name := range licenseStrs { + t, err := Parse(name) + if err != nil { + return nil, err } + licenses[i] = t } - panic(fmt.Errorf("FTD License of name: \"%s\" not found", name)) + return licenses, nil } diff --git a/provider/examples/resources/ftd/ftd_example.tf b/provider/examples/resources/ftd/ftd_example.tf new file mode 100644 index 00000000..44f7d74a --- /dev/null +++ b/provider/examples/resources/ftd/ftd_example.tf @@ -0,0 +1,20 @@ +terraform { + required_providers { + cdo = { + source = "hashicorp.com/CiscoDevnet/cdo" + } + } +} + +provider "cdo" { + base_url = "https://ci.dev.lockhart.io" + api_token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ" +} + +resource "cdo_ftd_device" "test" { + name = "test-weilue-ftd-9" + access_policy_name = "Default Access Control Policy" + performance_tier = "FTDv5" + virtual = true + licenses = ["BASE"] +} \ No newline at end of file diff --git a/provider/examples/resources/ftd/temp.txt b/provider/examples/resources/ftd/temp.txt new file mode 100644 index 00000000..e525500a --- /dev/null +++ b/provider/examples/resources/ftd/temp.txt @@ -0,0 +1,1199 @@ +2023-08-25T15:17:04.982+0100 [INFO] Terraform version: 1.3.9 +2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.9.0 +2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.0 +2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2 +2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 +2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/zclconf/go-cty v1.12.1 +2023-08-25T15:17:04.983+0100 [INFO] Go runtime version: go1.19.6 +2023-08-25T15:17:04.983+0100 [INFO] CLI args: []string{"/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.3.9/terraform", "apply"} +2023-08-25T15:17:04.983+0100 [TRACE] Stdout is a terminal of width 214 +2023-08-25T15:17:04.983+0100 [TRACE] Stderr is not a terminal +2023-08-25T15:17:04.983+0100 [TRACE] Stdin is a terminal +2023-08-25T15:17:04.983+0100 [DEBUG] Attempting to open CLI config file: /Users/weilluo/.terraformrc +2023-08-25T15:17:04.983+0100 [INFO] Loading CLI configuration from /Users/weilluo/.terraformrc +2023-08-25T15:17:04.985+0100 [DEBUG] checking for credentials in "/Users/weilluo/.terraform.d/plugins" +2023-08-25T15:17:04.985+0100 [DEBUG] Explicit provider installation configuration is set +2023-08-25T15:17:04.986+0100 [TRACE] Selected provider installation method cliconfig.ProviderInstallationDirect with includes [] and excludes [] +2023-08-25T15:17:04.986+0100 [INFO] CLI command args: []string{"apply"} +2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config +2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory +2023-08-25T15:17:04.992+0100 [DEBUG] New state was assigned lineage "5d26ad51-8e17-5630-fb94-4806902de056" +2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) +2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: instantiated backend of type +2023-08-25T15:17:04.992+0100 [DEBUG] Provider hashicorp.com/ciscodevnet/cdo is overridden by dev_overrides +2023-08-25T15:17:04.992+0100 [DEBUG] Provider hashicorp.com/ciscodevnet/cdo is overridden to load from /Users/weilluo/go/bin +2023-08-25T15:17:04.992+0100 [DEBUG] checking for provisioner in "." +2023-08-25T15:17:04.992+0100 [DEBUG] checking for provisioner in "/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.3.9" +2023-08-25T15:17:04.992+0100 [DEBUG] checking for provisioner in "/Users/weilluo/.terraform.d/plugins" +2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: backend does not support operations, so wrapping it in a local backend +2023-08-25T15:17:04.993+0100 [DEBUG] Provider hashicorp.com/ciscodevnet/cdo is overridden by dev_overrides +2023-08-25T15:17:04.994+0100 [INFO] backend/local: starting Apply operation +2023-08-25T15:17:04.994+0100 [TRACE] backend/local: requesting state manager for workspace "default" +2023-08-25T15:17:04.995+0100 [TRACE] backend/local: state manager for workspace "default" will: + - read initial snapshot from terraform.tfstate + - write new snapshots to terraform.tfstate + - create any backup at terraform.tfstate.backup +2023-08-25T15:17:04.995+0100 [TRACE] backend/local: requesting state lock for workspace "default" +2023-08-25T15:17:04.997+0100 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate +2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: existing snapshot has lineage "e2407d5b-6192-668f-e892-f031dfd22ac0" serial 1 +2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock +2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info +2023-08-25T15:17:04.998+0100 [TRACE] backend/local: reading remote state for workspace "default" +2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate +2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: read snapshot with lineage "e2407d5b-6192-668f-e892-f031dfd22ac0" serial 1 +2023-08-25T15:17:04.998+0100 [TRACE] backend/local: populating backend.LocalRun for current working directory +2023-08-25T15:17:04.999+0100 [DEBUG] Config.VerifyDependencySelections: skipping hashicorp.com/ciscodevnet/cdo because it's overridden by a special configuration setting +2023-08-25T15:17:04.999+0100 [TRACE] terraform.NewContext: starting +2023-08-25T15:17:04.999+0100 [TRACE] terraform.NewContext: complete +2023-08-25T15:17:04.999+0100 [TRACE] backend/local: requesting interactive input, if necessary +2023-08-25T15:17:04.999+0100 [TRACE] LoadSchemas: retrieving schema for provider type "hashicorp.com/ciscodevnet/cdo" +2023-08-25T15:17:04.999+0100 [TRACE] terraform.contextPlugins: Initializing provider "hashicorp.com/ciscodevnet/cdo" to read its schema +2023-08-25T15:17:05.000+0100 [DEBUG] created provider logger: level=trace +2023-08-25T15:17:05.000+0100 [INFO] provider: configuring client automatic mTLS +2023-08-25T15:17:05.012+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] +2023-08-25T15:17:05.014+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73225 +2023-08-25T15:17:05.014+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo +2023-08-25T15:17:05.051+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:05.050+0100 +2023-08-25T15:17:05.060+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: network=unix address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2504350651 timestamp=2023-08-25T15:17:05.060+0100 +2023-08-25T15:17:05.060+0100 [DEBUG] provider: using plugin: version=6 +2023-08-25T15:17:05.070+0100 [TRACE] GRPCProvider.v6: GetProviderSchema +2023-08-25T15:17:05.070+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:05.072+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 tf_proto_version=6.3 timestamp=2023-08-25T15:17:05.072+0100 +2023-08-25T15:17:05.072+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto tf_proto_version=6.3 tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.072+0100 +2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 @module=sdk.framework timestamp=2023-08-25T15:17:05.072+0100 +2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework timestamp=2023-08-25T15:17:05.073+0100 +2023-08-25T15:17:05.073+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.073+0100 +2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework timestamp=2023-08-25T15:17:05.073+0100 +2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 timestamp=2023-08-25T15:17:05.073+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_asa_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_resource_type=cdo_ios_device timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @module=sdk.framework tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_resource_type=cdo_sdc @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_sdc timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @module=sdk.framework timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 @module=sdk.framework timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_sdc tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @module=sdk.framework tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_data_source_type=cdo_asa_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 +2023-08-25T15:17:05.075+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_proto_version=6.3 tf_req_duration_ms=2 tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 timestamp=2023-08-25T15:17:05.075+0100 +2023-08-25T15:17:05.075+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 @module=sdk.proto tf_proto_version=6.3 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.075+0100 +2023-08-25T15:17:05.077+0100 [DEBUG] No provider meta schema returned +2023-08-25T15:17:05.077+0100 [TRACE] GRPCProvider.v6: Close +2023-08-25T15:17:05.077+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" +2023-08-25T15:17:05.078+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73225 +2023-08-25T15:17:05.083+0100 [DEBUG] provider: plugin exited +2023-08-25T15:17:05.083+0100 [TRACE] Context.Input: Prompting for provider arguments +2023-08-25T15:17:05.083+0100 [TRACE] Context.Input: Provider provider.cdo declared at ftd_example.tf:9,1-15 +2023-08-25T15:17:05.083+0100 [TRACE] Context.Input: Input for provider.cdo: map[string]cty.Value{} +2023-08-25T15:17:05.083+0100 [TRACE] backend/local: running validation operation +2023-08-25T15:17:05.083+0100 [DEBUG] Building and walking validate graph +2023-08-25T15:17:05.084+0100 [TRACE] building graph for walkValidate +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer +2023-08-25T15:17:05.084+0100 [TRACE] ConfigTransformer: Starting for path: +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeValidatableResource + ------ +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.LocalTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.OutputTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.StateTransformer +2023-08-25T15:17:05.084+0100 [TRACE] StateTransformer: pointless no-op call, creating no nodes at all +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.StateTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer +2023-08-25T15:17:05.084+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test" (*terraform.NodeValidatableResource) config from ftd_example.tf:14,1-33 +2023-08-25T15:17:05.084+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer +2023-08-25T15:17:05.084+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer +2023-08-25T15:17:05.084+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test +2023-08-25T15:17:05.084+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test" (*terraform.NodeValidatableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer +2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer +2023-08-25T15:17:05.084+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test +2023-08-25T15:17:05.084+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer +2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) +2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer +2023-08-25T15:17:05.085+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] +2023-08-25T15:17:05.085+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.attachDataResourceDependsOnTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.attachDataResourceDependsOnTransformer (no changes) +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer +2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeValidatableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeValidatableResource + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:05.085+0100 [DEBUG] Starting graph walk: walkValidate +2023-08-25T15:17:05.086+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": starting visit (*terraform.NodeApplyableProvider) +2023-08-25T15:17:05.086+0100 [DEBUG] created provider logger: level=trace +2023-08-25T15:17:05.086+0100 [INFO] provider: configuring client automatic mTLS +2023-08-25T15:17:05.090+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] +2023-08-25T15:17:05.092+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73226 +2023-08-25T15:17:05.092+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo +2023-08-25T15:17:05.097+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:05.097+0100 +2023-08-25T15:17:05.103+0100 [DEBUG] provider: using plugin: version=6 +2023-08-25T15:17:05.103+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3792214684 network=unix timestamp=2023-08-25T15:17:05.103+0100 +2023-08-25T15:17:05.109+0100 [TRACE] BuiltinEvalContext: Initialized "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider for provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.109+0100 [TRACE] NodeApplyableProvider: validating configuration for provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.109+0100 [TRACE] buildProviderConfig for provider["hashicorp.com/ciscodevnet/cdo"]: using explicit config only +2023-08-25T15:17:05.109+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:05.109+0100 [TRACE] GRPCProvider.v6: GetProviderSchema +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 tf_proto_version=6.3 tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_asa_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ios_device @module=sdk.framework tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_sdc @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_rpc=GetProviderSchema tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_asa_device timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_data_source_type=cdo_sdc @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @module=sdk.framework tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @module=sdk.framework tf_data_source_type=cdo_ios_device tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_proto_version=6.3 tf_req_duration_ms=0 tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 +2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_proto_version=6.3 tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @module=sdk.proto @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.110+0100 +2023-08-25T15:17:05.110+0100 [DEBUG] No provider meta schema returned +2023-08-25T15:17:05.111+0100 [TRACE] GRPCProvider.v6: ValidateProviderConfig +2023-08-25T15:17:05.111+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_proto_version=6.3 tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:548 @module=sdk.proto timestamp=2023-08-25T15:17:05.111+0100 +2023-08-25T15:17:05.112+0100 [TRACE] provider.terraform-provider-cdo: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: tf_proto_version=6.3 tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/internal/logging/protocol_data.go:41 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.111+0100 +2023-08-25T15:17:05.112+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto timestamp=2023-08-25T15:17:05.112+0100 +2023-08-25T15:17:05.112+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e timestamp=2023-08-25T15:17:05.112+0100 +2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 timestamp=2023-08-25T15:17:05.113+0100 +2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 @module=sdk.framework description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.113+0100 +2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=base_url tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.113+0100 +2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateProviderConfig tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e @module=sdk.framework description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_attribute_path=base_url timestamp=2023-08-25T15:17:05.113+0100 +2023-08-25T15:17:05.113+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_error_count=0 tf_req_duration_ms=1 tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @module=sdk.proto diagnostic_warning_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 timestamp=2023-08-25T15:17:05.113+0100 +2023-08-25T15:17:05.113+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:568 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e timestamp=2023-08-25T15:17:05.113+0100 +2023-08-25T15:17:05.113+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": visit complete +2023-08-25T15:17:05.113+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodeValidatableResource) +2023-08-25T15:17:05.115+0100 [TRACE] GRPCProvider.v6: ValidateResourceConfig +2023-08-25T15:17:05.115+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:680 @module=sdk.proto timestamp=2023-08-25T15:17:05.115+0100 +2023-08-25T15:17:05.115+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto tf_proto_version=6.3 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.115+0100 +2023-08-25T15:17:05.115+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.115+0100 +2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.115+0100 +2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:428 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.115+0100 +2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:430 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:35 @module=sdk.framework timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:42 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:44 @module=sdk.framework timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @module=sdk.framework tf_attribute_path=licenses tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @module=sdk.framework tf_attribute_path=licenses tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:700 @module=sdk.proto tf_proto_version=6.3 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 +2023-08-25T15:17:05.116+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete +2023-08-25T15:17:05.116+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": starting visit (*terraform.graphNodeCloseProvider) +2023-08-25T15:17:05.116+0100 [TRACE] GRPCProvider.v6: Close +2023-08-25T15:17:05.117+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" +2023-08-25T15:17:05.117+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73226 +2023-08-25T15:17:05.121+0100 [DEBUG] provider: plugin exited +2023-08-25T15:17:05.121+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": visit complete +2023-08-25T15:17:05.121+0100 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule) +2023-08-25T15:17:05.121+0100 [TRACE] vertex "root": visit complete +2023-08-25T15:17:05.121+0100 [TRACE] LoadSchemas: retrieving schema for provider type "hashicorp.com/ciscodevnet/cdo" +2023-08-25T15:17:05.121+0100 [INFO] backend/local: apply calling Plan +2023-08-25T15:17:05.121+0100 [DEBUG] Building and walking plan graph for NormalMode +2023-08-25T15:17:05.121+0100 [TRACE] building graph for walkPlan +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer +2023-08-25T15:17:05.122+0100 [TRACE] ConfigTransformer: Starting for path: +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + ------ +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.LocalTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.OutputTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.StateTransformer +2023-08-25T15:17:05.122+0100 [TRACE] StateTransformer: creating nodes for deposed instance objects only +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.StateTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer +2023-08-25T15:17:05.122+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test (expand)" (*terraform.nodeExpandPlannableResource) config from ftd_example.tf:14,1-33 +2023-08-25T15:17:05.122+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test (expand) +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer +2023-08-25T15:17:05.122+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer +2023-08-25T15:17:05.122+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test (expand) +2023-08-25T15:17:05.122+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandPlannableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer +2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer +2023-08-25T15:17:05.122+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test (expand) +2023-08-25T15:17:05.122+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer +2023-08-25T15:17:05.122+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test (expand)" references: [] +2023-08-25T15:17:05.122+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer +2023-08-25T15:17:05.122+0100 [TRACE] AttachDependenciesTransformer: cdo_ftd_device.test depends on [] +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.attachDataResourceDependsOnTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.attachDataResourceDependsOnTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer +2023-08-25T15:17:05.122+0100 [TRACE] ForcedCBDTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandPlannableResource) has no CBD descendent, so skipping +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer +2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer +2023-08-25T15:17:05.123+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:05.123+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer +2023-08-25T15:17:05.123+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:05.123+0100 [DEBUG] Starting graph walk: walkPlan +2023-08-25T15:17:05.123+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": starting visit (*terraform.NodeApplyableProvider) +2023-08-25T15:17:05.123+0100 [DEBUG] created provider logger: level=trace +2023-08-25T15:17:05.123+0100 [INFO] provider: configuring client automatic mTLS +2023-08-25T15:17:05.126+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] +2023-08-25T15:17:05.128+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73227 +2023-08-25T15:17:05.128+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo +2023-08-25T15:17:05.134+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:05.134+0100 +2023-08-25T15:17:05.141+0100 [DEBUG] provider: using plugin: version=6 +2023-08-25T15:17:05.141+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2015097430 network=unix timestamp=2023-08-25T15:17:05.141+0100 +2023-08-25T15:17:05.146+0100 [TRACE] BuiltinEvalContext: Initialized "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider for provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.146+0100 [TRACE] NodeApplyableProvider: configuring provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.146+0100 [TRACE] buildProviderConfig for provider["hashicorp.com/ciscodevnet/cdo"]: using explicit config only +2023-08-25T15:17:05.146+0100 [TRACE] GRPCProvider.v6: GetProviderSchema +2023-08-25T15:17:05.146+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:05.146+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @module=sdk.proto tf_proto_version=6.3 tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.146+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_proto_version=6.3 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.146+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.146+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_sdc timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_resource_type=cdo_ios_device timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_resource_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @module=sdk.framework tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.framework tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 @module=sdk.framework timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_ios_device @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_data_source_type=cdo_sdc tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_asa_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_warning_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @module=sdk.proto @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 tf_req_duration_ms=0 tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_rpc=GetProviderSchema @module=sdk.proto tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.147+0100 [DEBUG] No provider meta schema returned +2023-08-25T15:17:05.147+0100 [TRACE] GRPCProvider.v6: ValidateProviderConfig +2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @module=sdk.proto tf_proto_version=6.3 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:548 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/internal/logging/protocol_data.go:41 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @module=sdk.proto tf_proto_version=6.3 timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 +2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 @module=sdk.framework description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:05.148+0100 +2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @module=sdk.framework description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_attribute_path=api_token timestamp=2023-08-25T15:17:05.148+0100 +2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=base_url description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 timestamp=2023-08-25T15:17:05.148+0100 +2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_attribute_path=base_url tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:05.148+0100 +2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 tf_proto_version=6.3 tf_req_duration_ms=0 tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:05.148+0100 +2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:568 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.148+0100 +2023-08-25T15:17:05.149+0100 [TRACE] GRPCProvider.v6: ConfigureProvider +2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_proto_version=6.3 tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:521 timestamp=2023-08-25T15:17:05.150+0100 +2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 timestamp=2023-08-25T15:17:05.150+0100 +2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 timestamp=2023-08-25T15:17:05.150+0100 +2023-08-25T15:17:05.150+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:15 @module=sdk.framework timestamp=2023-08-25T15:17:05.150+0100 +2023-08-25T15:17:05.150+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:23 @module=sdk.framework timestamp=2023-08-25T15:17:05.150+0100 +2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=0 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 tf_rpc=ConfigureProvider @module=sdk.proto diagnostic_warning_count=0 tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 timestamp=2023-08-25T15:17:05.150+0100 +2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_proto_version=6.3 tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:541 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ConfigureProvider timestamp=2023-08-25T15:17:05.150+0100 +2023-08-25T15:17:05.150+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": visit complete +2023-08-25T15:17:05.150+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": starting visit (*terraform.nodeExpandPlannableResource) +2023-08-25T15:17:05.150+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": expanding dynamic subgraph +2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.ResourceCountTransformer +2023-08-25T15:17:05.151+0100 [TRACE] ResourceCountTransformer: adding cdo_ftd_device.test as *terraform.NodePlannableResourceInstance +2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.ResourceCountTransformer with new graph: + cdo_ftd_device.test - *terraform.NodePlannableResourceInstance + ------ +2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceCountTransformer +2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceCountTransformer (no changes) +2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer +2023-08-25T15:17:05.151+0100 [DEBUG] Resource instance state not found for node "cdo_ftd_device.test", instance cdo_ftd_device.test +2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) +2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer +2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) +2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer +2023-08-25T15:17:05.151+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] +2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) +2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.RootTransformer +2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.RootTransformer (no changes) +2023-08-25T15:17:05.151+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": entering dynamic subgraph +2023-08-25T15:17:05.151+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodePlannableResourceInstance) +2023-08-25T15:17:05.151+0100 [TRACE] readResourceInstanceState: reading state for cdo_ftd_device.test +2023-08-25T15:17:05.151+0100 [TRACE] readResourceInstanceState: no state present for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to prevRunState for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to refreshState for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResourceInstance.refresh for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [DEBUG] refresh: cdo_ftd_device.test: no state, so not refreshing +2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to refreshState for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test +2023-08-25T15:17:05.152+0100 [TRACE] Re-validating config for "cdo_ftd_device.test" +2023-08-25T15:17:05.152+0100 [TRACE] GRPCProvider.v6: ValidateResourceConfig +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:680 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 @module=sdk.proto tf_proto_version=6.3 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:428 tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @module=sdk.framework timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:430 tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:35 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:42 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:44 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_rpc=ValidateResourceConfig @module=sdk.proto tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:700 timestamp=2023-08-25T15:17:05.152+0100 +2023-08-25T15:17:05.153+0100 [TRACE] GRPCProvider.v6: PlanResourceChange +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:771 @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: @module=sdk.proto tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:53 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:60 timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:62 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:195 timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_attribute_path=AttributeName("access_policy_name") @module=sdk.framework timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("generated_command") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("id") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_attribute_path=AttributeName("licenses").ElementKeyInt(0) tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @module=sdk.framework tf_attribute_path=AttributeName("licenses") @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_attribute_path=AttributeName("name") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @module=sdk.framework tf_attribute_path=AttributeName("performance_tier") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @module=sdk.framework tf_attribute_path=AttributeName("virtual") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("access_policy_id") timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: At least one Computed null Config value was changed to unknown: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:209 @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.List: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1168 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.List: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1178 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:73 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_attribute_path=licenses timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:74 timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_attribute_path=licenses tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:76 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 @module=sdk.framework description="Once set, the value of this attribute in state will not change." tf_attribute_path=id tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: tf_attribute_path=id tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=access_policy_name tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework tf_attribute_path=access_policy_name timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: @module=sdk.framework tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.Bool: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=virtual tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:688 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.Bool: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:698 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=virtual tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 tf_req_duration_ms=1 tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:797 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.154+0100 +2023-08-25T15:17:05.155+0100 [TRACE] writeChange: recorded Create change for cdo_ftd_device.test +2023-08-25T15:17:05.155+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for cdo_ftd_device.test +2023-08-25T15:17:05.155+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object for cdo_ftd_device.test +2023-08-25T15:17:05.155+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete +2023-08-25T15:17:05.155+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": dynamic subgraph completed successfully +2023-08-25T15:17:05.155+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": visit complete +2023-08-25T15:17:05.155+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": starting visit (*terraform.graphNodeCloseProvider) +2023-08-25T15:17:05.155+0100 [TRACE] GRPCProvider.v6: Close +2023-08-25T15:17:05.155+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" +2023-08-25T15:17:05.159+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73227 +2023-08-25T15:17:05.164+0100 [DEBUG] provider: plugin exited +2023-08-25T15:17:05.164+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": visit complete +2023-08-25T15:17:05.164+0100 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule) +2023-08-25T15:17:05.164+0100 [TRACE] vertex "root": visit complete +2023-08-25T15:17:05.164+0100 [TRACE] LoadSchemas: retrieving schema for provider type "hashicorp.com/ciscodevnet/cdo" +2023-08-25T15:17:05.164+0100 [DEBUG] building apply graph to check for errors +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer +2023-08-25T15:17:05.164+0100 [TRACE] ConfigTransformer: Starting for path: +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + ------ +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.LocalTransformer +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.OutputTransformer +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.DiffTransformer +2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer starting +2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer: found Create change for cdo_ftd_device.test +2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer: cdo_ftd_device.test will be represented by cdo_ftd_device.test +2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer complete +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + ------ +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer +2023-08-25T15:17:05.164+0100 [DEBUG] Resource state not found for node "cdo_ftd_device.test", instance cdo_ftd_device.test +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer +2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) config from ftd_example.tf:14,1-33 +2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test (expand) +2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) config from ftd_example.tf:14,1-33 +2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer +2023-08-25T15:17:05.164+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer +2023-08-25T15:17:05.164+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test (expand) +2023-08-25T15:17:05.164+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.164+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test +2023-08-25T15:17:05.164+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) needs provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer +2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer +2023-08-25T15:17:05.164+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test (expand) +2023-08-25T15:17:05.164+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test +2023-08-25T15:17:05.164+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer +2023-08-25T15:17:05.164+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test (expand)" references: [] +2023-08-25T15:17:05.164+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] +2023-08-25T15:17:05.164+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] +2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) +2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer +2023-08-25T15:17:05.164+0100 [TRACE] AttachDependenciesTransformer: cdo_ftd_device.test depends on [] +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer +2023-08-25T15:17:05.165+0100 [TRACE] ForcedCBDTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes) +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer +2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:05.165+0100 [DEBUG] command: asking for input: "\nDo you want to perform these actions?" +2023-08-25T15:17:20.441+0100 [INFO] backend/local: apply calling Apply +2023-08-25T15:17:20.441+0100 [DEBUG] Building and walking apply graph for NormalMode plan +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer +2023-08-25T15:17:20.441+0100 [TRACE] ConfigTransformer: Starting for path: +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + ------ +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.LocalTransformer +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.OutputTransformer +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.DiffTransformer +2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer starting +2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer: found Create change for cdo_ftd_device.test +2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer: cdo_ftd_device.test will be represented by cdo_ftd_device.test +2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer complete +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + ------ +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer +2023-08-25T15:17:20.441+0100 [DEBUG] Resource state not found for node "cdo_ftd_device.test", instance cdo_ftd_device.test +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer +2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) config from ftd_example.tf:14,1-33 +2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test (expand) +2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) config from ftd_example.tf:14,1-33 +2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test +2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) +2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti +2023-08-25T15:17:20.441+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer +2023-08-25T15:17:20.441+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 +2023-08-25T15:17:20.441+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:20.441+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer +2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer +2023-08-25T15:17:20.442+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test (expand) +2023-08-25T15:17:20.442+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:20.442+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test +2023-08-25T15:17:20.442+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) needs provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer +2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer +2023-08-25T15:17:20.442+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test (expand) +2023-08-25T15:17:20.442+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test +2023-08-25T15:17:20.442+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer +2023-08-25T15:17:20.442+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test (expand)" references: [] +2023-08-25T15:17:20.442+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] +2023-08-25T15:17:20.442+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer +2023-08-25T15:17:20.442+0100 [TRACE] AttachDependenciesTransformer: cdo_ftd_device.test depends on [] +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer +2023-08-25T15:17:20.442+0100 [TRACE] ForcedCBDTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + ------ +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer +2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance + root - *terraform.nodeCloseModule + provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider + ------ +2023-08-25T15:17:20.442+0100 [DEBUG] Starting graph walk: walkApply +2023-08-25T15:17:20.442+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": starting visit (*terraform.NodeApplyableProvider) +2023-08-25T15:17:20.443+0100 [DEBUG] created provider logger: level=trace +2023-08-25T15:17:20.443+0100 [INFO] provider: configuring client automatic mTLS +2023-08-25T15:17:20.446+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] +2023-08-25T15:17:20.449+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73256 +2023-08-25T15:17:20.449+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo +2023-08-25T15:17:20.492+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:20.492+0100 +2023-08-25T15:17:20.500+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1059555528 network=unix timestamp=2023-08-25T15:17:20.500+0100 +2023-08-25T15:17:20.500+0100 [DEBUG] provider: using plugin: version=6 +2023-08-25T15:17:20.511+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:20.511+0100 [TRACE] BuiltinEvalContext: Initialized "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider for provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:20.511+0100 [TRACE] NodeApplyableProvider: configuring provider["hashicorp.com/ciscodevnet/cdo"] +2023-08-25T15:17:20.511+0100 [TRACE] buildProviderConfig for provider["hashicorp.com/ciscodevnet/cdo"]: using explicit config only +2023-08-25T15:17:20.511+0100 [TRACE] GRPCProvider.v6: GetProviderSchema +2023-08-25T15:17:20.513+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 @module=sdk.proto tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_proto_version=6.3 timestamp=2023-08-25T15:17:20.513+0100 +2023-08-25T15:17:20.513+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.513+0100 +2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 @module=sdk.framework timestamp=2023-08-25T15:17:20.513+0100 +2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.514+0100 +2023-08-25T15:17:20.514+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.514+0100 +2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.514+0100 +2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.514+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_asa_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_asa_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_sdc @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 tf_data_source_type=cdo_asa_device tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @module=sdk.framework tf_data_source_type=cdo_sdc tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_data_source_type=cdo_sdc timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_rpc=GetProviderSchema @module=sdk.proto diagnostic_error_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_warning_count=0 tf_req_duration_ms=2 timestamp=2023-08-25T15:17:20.515+0100 +2023-08-25T15:17:20.516+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_proto_version=6.3 tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.516+0100 +2023-08-25T15:17:20.516+0100 [DEBUG] No provider meta schema returned +2023-08-25T15:17:20.516+0100 [TRACE] GRPCProvider.v6: ValidateProviderConfig +2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:548 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.517+0100 +2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: tf_rpc=ValidateProviderConfig tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/internal/logging/protocol_data.go:41 @module=sdk.proto timestamp=2023-08-25T15:17:20.517+0100 +2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_proto_version=6.3 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.517+0100 +2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 timestamp=2023-08-25T15:17:20.517+0100 +2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_attribute_path=api_token @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 @module=sdk.framework timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: @module=sdk.framework tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 tf_attribute_path=base_url tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 @module=sdk.framework tf_attribute_path=base_url tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_error_count=0 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_duration_ms=1 tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 @module=sdk.proto diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:568 @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.518+0100 [TRACE] GRPCProvider.v6: ConfigureProvider +2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_proto_version=6.3 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:521 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_rpc=ConfigureProvider @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.519+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.519+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Configure: tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:15 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.518+0100 +2023-08-25T15:17:20.519+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Configure: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:23 timestamp=2023-08-25T15:17:20.519+0100 +2023-08-25T15:17:20.519+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 tf_req_duration_ms=0 tf_rpc=ConfigureProvider timestamp=2023-08-25T15:17:20.519+0100 +2023-08-25T15:17:20.519+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_proto_version=6.3 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:541 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.519+0100 +2023-08-25T15:17:20.519+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": visit complete +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": starting visit (*terraform.nodeExpandApplyableResource) +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": expanding dynamic subgraph +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": entering dynamic subgraph +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodeApplyableResource) +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": dynamic subgraph completed successfully +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": visit complete +2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodeApplyableResourceInstance) +2023-08-25T15:17:20.519+0100 [TRACE] readDiff: Read Create change from plan for cdo_ftd_device.test +2023-08-25T15:17:20.519+0100 [TRACE] readResourceInstanceState: reading state for cdo_ftd_device.test +2023-08-25T15:17:20.519+0100 [TRACE] readResourceInstanceState: no state present for cdo_ftd_device.test +2023-08-25T15:17:20.519+0100 [TRACE] readDiff: Read Create change from plan for cdo_ftd_device.test +2023-08-25T15:17:20.519+0100 [TRACE] Re-validating config for "cdo_ftd_device.test" +2023-08-25T15:17:20.519+0100 [TRACE] GRPCProvider.v6: ValidateResourceConfig +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:680 @module=sdk.proto tf_proto_version=6.3 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.519+0100 +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:428 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:430 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:35 @module=sdk.framework tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:42 @module=sdk.framework tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:44 @module=sdk.framework tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_rpc=ValidateResourceConfig diagnostic_warning_count=0 tf_proto_version=6.3 timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @module=sdk.proto tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:700 timestamp=2023-08-25T15:17:20.520+0100 +2023-08-25T15:17:20.520+0100 [TRACE] GRPCProvider.v6: PlanResourceChange +2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_proto_version=6.3 tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:771 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @module=sdk.proto tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:53 tf_rpc=PlanResourceChange @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:60 timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @module=sdk.framework tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:62 timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:195 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("id") tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_attribute_path=AttributeName("licenses").ElementKeyInt(0) tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=AttributeName("licenses") timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @module=sdk.framework tf_attribute_path=AttributeName("name") tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_attribute_path=AttributeName("performance_tier") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange tf_attribute_path=AttributeName("virtual") timestamp=2023-08-25T15:17:20.521+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=AttributeName("access_policy_id") @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange tf_attribute_path=AttributeName("access_policy_name") tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: tf_attribute_path=AttributeName("generated_command") tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 @module=sdk.framework timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: At least one Computed null Config value was changed to unknown: tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:209 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @module=sdk.framework tf_attribute_path=id tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: description="Once set, the value of this attribute in state will not change." tf_attribute_path=id tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=access_policy_name tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @module=sdk.framework tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: tf_attribute_path=access_policy_name tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=performance_tier tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.Bool: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:688 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=virtual tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.Bool: @module=sdk.framework tf_attribute_path=virtual tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:698 timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.List: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1168 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.List: @module=sdk.framework description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1178 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:73 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:74 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:76 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_error_count=0 tf_proto_version=6.3 tf_req_duration_ms=1 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange diagnostic_warning_count=0 timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:797 tf_proto_version=6.3 tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] checkPlannedChange: Verifying that actual change (action Create) matches planned change (action Create) +2023-08-25T15:17:20.522+0100 [INFO] Starting apply for cdo_ftd_device.test +2023-08-25T15:17:20.522+0100 [DEBUG] cdo_ftd_device.test: applying the planned Create change +2023-08-25T15:17:20.522+0100 [TRACE] GRPCProvider.v6: ApplyResourceChange +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:806 timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_resource_type=cdo_ftd_device tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: ApplyResourceChange received no PriorState, running CreateResource: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_applyresourcechange.go:45 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.523+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:47 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:54 @module=sdk.framework timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:56 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.522+0100 +2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Create: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:100 tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.523+0100 +2023-08-25T15:17:20.523+0100 [TRACE] provider.terraform-provider-cdo: create FTD resource: @caller=/Users/weilluo/workspace/cdo/terraform-provider-cdo/provider/internal/device/ftd/resource.go:151 @module=cisco_cdo_provider tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.523+0100 +2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:20 creating ftdc +2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:20 reading cdFMC +2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:21.341+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=deviceType:FMCE, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","name":"FMC","namespace":"targets","type":"devices","version":1,"createdDate":1692631774903,"lastUpdatedDate":1692972941153,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":null,"sseEnabled":true,"deviceRole":"ANYCONNECT_VPN_HEAD_END","sseDeviceRegistrationToken":{"status":"Registered","token":"58be3ec59e1d1254340d3a6688dddd9f","expiry":1700407799},"sseDeviceSerialNumberRegistration":null,"sseDeviceData":{"sseDeviceId":"eec8079f-bf13-4d84-8f62-d17f52672c81","sseProtocolVersion":"ONE"},"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":"terraform-provider-cdo.app.staging.cdo.cisco.com:443","int" +2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:21.341+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="erfaces":null,"deviceActivity":{"activityType":null,"activityResult":"FAILURE","additionalInfo":{"errorMsg":["Invalid session."]}},"serial":null,"chassisSerial":null,"softwareVersion":"7.3.1-build 6035","connectivityState":1,"connectivityError":null,"ignoreCertificate":true,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":true,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FMCE","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{"ON_DEMAND":null,"SCHEDULED":null},"logs":null,"notes":null,"metadata":null,"customData":null,"configurationReference":null,"oobCheckInterval":"OOB_10_MINUTES","larUid":null,"larType":"CDG","lastDeployTimestamp":0,"port":" +2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=218 +2023-08-25T15:17:21.341+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=""443","host":"terraform-provider-cdo.app.staging.cdo.cisco.com","loggingEnabled":false,"liveAsaDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[]" +2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:22.120+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=833 +2023-08-25T15:17:22.120+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/fmc/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?limit=1000, code=200, status=200 OK, body={"links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?offset=0&limit=1000"},"items":[{"type":"AccessPolicy","links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies/06AE8B8C-5F91-0ed3-0000-004294967346"},"name":"Default Access Control Policy","id":"06AE8B8C-5F91-0ed3-0000-004294967346"}],"paging":{"offset":0,"limit":1000,"count":1,"pages":1}}, readBodyErr=%!s(), method=GET, header=map[Fmc-Hostname:[terraform-provider-cdo.app.staging.cdo.cisco.com]]" +2023-08-25T15:17:22.120+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:22.121+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="request_check +Request: &{config:{BaseUrl:https://ci.dev.lockhart.io ApiToken:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ Host:ci.dev.lockhart.io Retries:3 Delay:3000000000 Timeout:180000000000} httpClient:0x10154f3e0 logger:0x1400019e2d0 ctx:0x1" +2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=796 +2023-08-25T15:17:22.121+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="400043eb10 method:POST url:https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices body:{FmcId:ac12b246-ed93-4a09-bc8a-5c4708854a2f DeviceType:FTDC Metadata:{AccessPolicyName:Default Access Control Policy AccessPolicyId:06AE8B8C-5F91-0ed3-0000-004294967346 LicenseCaps:BASE PerformanceTier:0x1400059c900} Name:test-weilue-ftd-9 State:NEW Type:devices} Header:map[] Response: Error:} +Request: https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices, POST, {"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","deviceType":"FTDC","metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"name":"test-weilue-ftd-9","state":"NEW","type":"devices"}" +2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:23.979+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973042780,"actionContext":{"modifiedFieldsAndNewValues":{},"deletedObject":null,"preUpdateObject":null,"businessFlow":"BF_FTDC","transactionStatusUid":null,"actionOrigin":"REST_API","saveRealOperation":"CREATE","modifiedFields":[]},"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"in" +2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:23.979+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="terfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":-5,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"" +2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=174 +2023-08-25T15:17:23.979+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=POST, header=map[]" +2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:23.979+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:23 reading specific device +2023-08-25T15:17:24.610+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/device/dc48d0a5-9735-4ca9-a181-7abb3828dac0/specific-device, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"3bbf54c1-974b-43c4-9953-937940e531b7","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1692973043921,"lastUpdatedDate":1692973043921,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":true,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"mgmtaccessdataobject":{},"ikev1Proposal":{},"ipsUpdateSchedule":{},"url_feed":{},"ravpngrouppol" +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=icy":{},"mgmtaccesshttpobject":{},"datadnssettings":{},"mgmtdnssettings":{},"filepolicy":{},"specialuser":{},"application":{},"samlserver":{},"physical_interface":{},"radiusidentitysourcegroup":{},"urlrepuation":{},"securitygrouptag":{},"urlobject":{},"dnsobject":{},"successnetworksettings":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"manualnatrulecontainer":{},"intrusionpolicy":{},"externalcacertificate":{},"identityservicesengine":{},"ikev2Policy":{},"anyconnectprofiles":{},"activedirectoryrealms":{},"internalcacertificate":{},"applicationcategory":{},"geolocation":{},"continent":{},"country":{},"devicesettings_managementaccess":{},"network_feed":{},"applicationtag":{},"ntpobject":{},"cloudconfig":{},"dhcpobject":{},"staticrouteentry":{},"urlcategory":{},"embeddedappfilter":{},"servicetcpobject":{},"networkobjectgroup":{},"serviceobjectgroup":{},"realmsequence":{},"intrusion_policy":{},"internalcertificate":{},"securityzone":{},"serviceprotocolobject":{},"syslogserver":{},"mgmtaccesssshobject":{},"de +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=vlogobject":{},"mgmtaccesshttpsdataport":{},"specialrealms":{},"devicesettings_cloudconfig":{},"ravpn":{},"applicationfilter":{},"serviceudpobject":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"ikev1Policy":{},"dnsgroupobject":{},"ravpnconnectionprofile":{},"sgtgroup":{},"hostnameobject":{},"serviceicmpv6object":{},"ikev2Proposal":{},"webanalyticssettings":{},"cloudservicesinfo":{},"dummyTypeWithUnsupportedVersion":{},"cloudeventssettings":{},"duoldapidentitysource":{},"radiusidentitysource":{},"networkobject":{},"serviceicmpv4object":{},"objectnatrulecontainer":{},"ipspolicy":{},"localidentitysources":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":nu +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=317 +2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="ll,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[]" +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="request_check +Request: &{config:{BaseUrl:https://ci.dev.lockhart.io ApiToken:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ Host:ci.dev.lockhart.io Retries:3 Delay:3000000000 Timeout:180000000000} httpClient:0x10154f3e0 logger:0x1400019e2d0 ctx:0x1" +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=385 +2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="400043eb10 method:PUT url:https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/3bbf54c1-974b-43c4-9953-937940e531b7 body:{QueueTriggerState:INITIATE_FTDC_ONBOARDING} Header:map[] Response: Error:} +Request: https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/3bbf54c1-974b-43c4-9953-937940e531b7, PUT, {"queueTriggerState":"INITIATE_FTDC_ONBOARDING"}" +2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:25.443+0100 [TRACE] dag/walk: vertex "root" is waiting for "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" +2023-08-25T15:17:25.443+0100 [TRACE] dag/walk: vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" is waiting for "cdo_ftd_device.test" +2023-08-25T15:17:27.678+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/3bbf54c1-974b-43c4-9953-937940e531b7, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"3bbf54c1-974b-43c4-9953-937940e531b7","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1692973043921,"lastUpdatedDate":1692973045720,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":true,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"mgmtaccessdataobject":{},"ikev1Proposal":{},"ipsUpdateSchedule":{},"url_feed":{},"ravpngrouppo" +2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=licy":{},"mgmtaccesshttpobject":{},"datadnssettings":{},"mgmtdnssettings":{},"filepolicy":{},"specialuser":{},"application":{},"samlserver":{},"physical_interface":{},"radiusidentitysourcegroup":{},"urlrepuation":{},"securitygrouptag":{},"urlobject":{},"dnsobject":{},"successnetworksettings":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"manualnatrulecontainer":{},"intrusionpolicy":{},"externalcacertificate":{},"identityservicesengine":{},"ikev2Policy":{},"anyconnectprofiles":{},"activedirectoryrealms":{},"internalcacertificate":{},"applicationcategory":{},"geolocation":{},"continent":{},"country":{},"devicesettings_managementaccess":{},"network_feed":{},"applicationtag":{},"ntpobject":{},"cloudconfig":{},"dhcpobject":{},"staticrouteentry":{},"urlcategory":{},"embeddedappfilter":{},"servicetcpobject":{},"networkobjectgroup":{},"serviceobjectgroup":{},"realmsequence":{},"intrusion_policy":{},"internalcertificate":{},"securityzone":{},"serviceprotocolobject":{},"syslogserver":{},"mgmtaccesssshobject":{},"d +2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=evlogobject":{},"mgmtaccesshttpsdataport":{},"specialrealms":{},"devicesettings_cloudconfig":{},"ravpn":{},"applicationfilter":{},"serviceudpobject":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"ikev1Policy":{},"dnsgroupobject":{},"ravpnconnectionprofile":{},"sgtgroup":{},"hostnameobject":{},"serviceicmpv6object":{},"ikev2Proposal":{},"webanalyticssettings":{},"cloudservicesinfo":{},"dummyTypeWithUnsupportedVersion":{},"cloudeventssettings":{},"duoldapidentitysource":{},"radiusidentitysource":{},"networkobject":{},"serviceicmpv4object":{},"objectnatrulecontainer":{},"ipspolicy":{},"localidentitysources":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":n +2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=318 +2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="ull,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=PUT, header=map[]" +2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:28.078+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:28 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000033b60) } +2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:28.078+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" +2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:28.078+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" +2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=5 +2023-08-25T15:17:28.078+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=map[] +2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:30.444+0100 [TRACE] dag/walk: vertex "root" is waiting for "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" +2023-08-25T15:17:30.444+0100 [TRACE] dag/walk: vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" is waiting for "cdo_ftd_device.test" +2023-08-25T15:17:31.078+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:31 [RETRY] attempt=1/3 +2023-08-25T15:17:31.576+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:31 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000033c90) } +2023-08-25T15:17:31.577+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:31 [RETRY] failed +2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:31.577+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" +2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:31.577+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" +2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=5 +2023-08-25T15:17:31.577+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=map[] +2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:34.577+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:34 [RETRY] attempt=2/3 +2023-08-25T15:17:35.114+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:35 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000118d70) } +2023-08-25T15:17:35.114+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:35 [RETRY] failed +2023-08-25T15:17:35.114+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:35.114+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" +2023-08-25T15:17:35.114+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:35.115+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" +2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=5 +2023-08-25T15:17:35.115+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=map[] +2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:35.445+0100 [TRACE] dag/walk: vertex "root" is waiting for "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" +2023-08-25T15:17:35.445+0100 [TRACE] dag/walk: vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" is waiting for "cdo_ftd_device.test" +2023-08-25T15:17:38.115+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:38 [RETRY] attempt=3/3 +2023-08-25T15:17:38.344+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:38 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000118e90) } +2023-08-25T15:17:38.344+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:38 [RETRY] failed +2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:38.344+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" +2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:38.344+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Create: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:102 timestamp=2023-08-25T15:17:38.342+0100 +2023-08-25T15:17:38.344+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 @module=sdk.proto diagnostic_error_count=1 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=17819 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:38.342+0100 +2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 +2023-08-25T15:17:38.344+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" +2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=29 +2023-08-25T15:17:38.344+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="map[] +create FTDc res: " +2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: waiting for stdio data +2023-08-25T15:17:38.344+0100 [ERROR] provider.terraform-provider-cdo: Response contains error diagnostic: @module=sdk.proto diagnostic_severity=ERROR tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/diag/diagnostics.go:58 diagnostic_detail="max retry reached, retries=3, time taken=10.662216958s, accumulated errors=%!w()" diagnostic_summary="failed to create FTD resource" tf_proto_version=6.3 tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:38.342+0100 +2023-08-25T15:17:38.344+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:832 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange @module=sdk.proto tf_proto_version=6.3 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:38.342+0100 +2023-08-25T15:17:38.344+0100 [TRACE] maybeTainted: cdo_ftd_device.test encountered an error during creation, so it is now marked as tainted +2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for cdo_ftd_device.test +2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test +2023-08-25T15:17:38.344+0100 [TRACE] evalApplyProvisioners: cdo_ftd_device.test is tainted, so skipping provisioning +2023-08-25T15:17:38.344+0100 [TRACE] maybeTainted: cdo_ftd_device.test was already tainted, so nothing to do +2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for cdo_ftd_device.test +2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test +2023-08-25T15:17:38.345+0100 [TRACE] statemgr.Filesystem: not making a backup, because the new snapshot is identical to the old +2023-08-25T15:17:38.346+0100 [TRACE] statemgr.Filesystem: no state changes since last snapshot +2023-08-25T15:17:38.346+0100 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate +2023-08-25T15:17:38.352+0100 [ERROR] vertex "cdo_ftd_device.test" error: failed to create FTD resource +2023-08-25T15:17:38.352+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete, with errors +2023-08-25T15:17:38.353+0100 [TRACE] dag/walk: upstream of "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" errored, so skipping +2023-08-25T15:17:38.353+0100 [TRACE] dag/walk: upstream of "root" errored, so skipping +2023-08-25T15:17:38.353+0100 [TRACE] statemgr.Filesystem: not making a backup, because the new snapshot is identical to the old +2023-08-25T15:17:38.353+0100 [TRACE] statemgr.Filesystem: no state changes since last snapshot +2023-08-25T15:17:38.353+0100 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate +╷ +│ Error: failed to create FTD resource +│  +│  with cdo_ftd_device.test, +│  on ftd_example.tf line 14, in resource "cdo_ftd_device" "test": +│  14: resource "cdo_ftd_device" "test" { +│  +│ max retry reached, retries=3, time taken=10.662216958s, accumulated +│ errors=%!w() +╵ +2023-08-25T15:17:38.359+0100 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info +2023-08-25T15:17:38.359+0100 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock +2023-08-25T15:17:38.360+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" +2023-08-25T15:17:38.362+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73256 +2023-08-25T15:17:38.367+0100 [DEBUG] provider: plugin exited + + +{ + "associatedDeviceUid": "ac12b246-ed93-4a09-bc8a-5c4708854a2f", + "deviceType": "FTDC", + "metadata": { + "accessPolicyName": "Default Access Control Policy", + "accessPolicyUuid": "06AE8B8C-5F91-0ed3-0000-004294967346", + "license_caps": "BASE", + "performanceTier": null + }, + "name": "ci-test-ftd-8", + "state": "NEW", + "type": "devices" +} +{ + "type": "devices", + "deviceType": "FTDC", + "name": "testest", + "associatedDeviceUid": "ac12b246-ed93-4a09-bc8a-5c4708854a2f", + "metadata": { + "accessPolicyUuid": "06AE8B8C-5F91-0ed3-0000-004294967346", + "accessPolicyName": "Default Access Control Policy", + "performanceTier": null, + "license_caps": "BASE" + }, + "model": false, + "state": "NEW" +} \ No newline at end of file diff --git a/provider/internal/device/ftd/operation.go b/provider/internal/device/ftd/operation.go index 916f98db..81447aa2 100644 --- a/provider/internal/device/ftd/operation.go +++ b/provider/internal/device/ftd/operation.go @@ -2,6 +2,7 @@ package ftd import ( "context" + "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/ftdc" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" @@ -19,7 +20,7 @@ func Read(ctx context.Context, resource *Resource, stateData *ResourceModel) err return err } - // map return struct to sdc model + // map return struct to model stateData.ID = types.StringValue(res.Uid) stateData.Name = types.StringValue(res.Name) stateData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) @@ -46,19 +47,25 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er } } + licensesGoList := util.TFStringListToGoStringList(planData.Licenses) + licenses, err := sliceutil.MapWithError(licensesGoList, func(s string) (license.Type, error) { return license.Parse(s) }) + if err != nil { + return err + } createInp := ftdc.NewCreateInput( planData.Name.ValueString(), planData.AccessPolicyName.ValueString(), performanceTier, planData.Virtual.ValueBool(), - sliceutil.Map(util.TFStringListToGoStringList(planData.Licenses), func(s string) license.Type { return license.MustParse(s) }), + licenses, ) res, err := resource.client.CreateFtdc(ctx, createInp) + fmt.Printf("\ncreate FTDc res: %+v\n", res) if err != nil { return err } - // map return struct to sdc model + // map return struct to model planData.ID = types.StringValue(res.Uid) planData.Name = types.StringValue(res.Name) planData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) @@ -74,11 +81,25 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er } func Update(ctx context.Context, resource *Resource, planData *ResourceModel, stateData *ResourceModel) error { - // TODO: fill me // do update + inp := ftdc.NewUpdateInput(stateData.ID.ValueString(), stateData.Name.ValueString()) + res, err := resource.client.UpdateFtdc(ctx, inp) + if err != nil { + return err + } - // map return struct to sdc model + // map return struct to model + planData.ID = types.StringValue(res.Uid) + planData.Name = types.StringValue(res.Name) + planData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) + planData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) + planData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) + planData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) + if res.Metadata.PerformanceTier != nil { // nil means physical ftd + planData.PerformanceTier = types.StringValue(string(*res.Metadata.PerformanceTier)) + } + planData.GeneratedCommand = types.StringValue(res.Metadata.GeneratedCommand) return nil } @@ -87,6 +108,8 @@ func Delete(ctx context.Context, resource *Resource, stateData *ResourceModel) e // TODO: fill me // do delete + inp := ftdc.NewDeleteInput(stateData.ID.ValueString()) + _, err := resource.client.DeleteFtdc(ctx, inp) - return nil + return err } diff --git a/provider/internal/device/ftd/resource.go b/provider/internal/device/ftd/resource.go index 0d9ae767..745cde93 100644 --- a/provider/internal/device/ftd/resource.go +++ b/provider/internal/device/ftd/resource.go @@ -7,7 +7,6 @@ import ( "github.com/hashicorp/terraform-plugin-framework/path" "github.com/hashicorp/terraform-plugin-framework/resource" "github.com/hashicorp/terraform-plugin-framework/resource/schema" - "github.com/hashicorp/terraform-plugin-framework/resource/schema/booldefault" "github.com/hashicorp/terraform-plugin-framework/resource/schema/boolplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/listplanmodifier" "github.com/hashicorp/terraform-plugin-framework/resource/schema/planmodifier" @@ -28,19 +27,19 @@ type Resource struct { } type ResourceModel struct { - ID types.String `tfsdk:"id"` - Name types.String `tfsdk:"name"` - AccessPolicyName types.String `tfsdk:"access_policy_name"` - PerformanceTier types.String `tfsdk:"performance_tier"` - Virtual types.Bool `tfsdk:"virtual"` - Licenses types.List `tfsdk:"licenses"` + ID types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + AccessPolicyName types.String `tfsdk:"access_policy_name"` + PerformanceTier types.String `tfsdk:"performance_tier"` + Virtual types.Bool `tfsdk:"virtual"` + Licenses []types.String `tfsdk:"licenses"` AccessPolicyUid types.String `tfsdk:"access_policy_id"` GeneratedCommand types.String `tfsdk:"generated_command"` } func (r *Resource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { - resp.TypeName = req.ProviderTypeName + "_ftd" + resp.TypeName = req.ProviderTypeName + "_ftd_device" } func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { @@ -56,7 +55,7 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp }, }, "name": schema.StringAttribute{ - MarkdownDescription: "A human-readable name for the Secure Device Connector (SDC). This should be unique among SDCs", + MarkdownDescription: "A human-readable name for the Firewall Threat Defense (FTD). This should be unique among FTDs", Required: true, }, "access_policy_name": schema.StringAttribute{ @@ -69,7 +68,7 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp }, "performance_tier": schema.StringAttribute{ MarkdownDescription: "The performance tier of the virtual FTD, if virtual is set to false, this field is ignored.", - Required: false, + Optional: true, // TODO: validator for performance tier, check valid performance tier is given // TODO: ignore changes in this field when virtual is false PlanModifiers: []planmodifier.String{ @@ -78,8 +77,9 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp }, "virtual": schema.BoolAttribute{ MarkdownDescription: "Whether this FTD is virtual. If false, performance_tier is ignored", - Required: false, - Default: booldefault.StaticBool(false), + Required: true, + // TODO: can we change this after created? + // TODO: default value false PlanModifiers: []planmodifier.Bool{ boolplanmodifier.RequiresReplace(), }, @@ -159,7 +159,7 @@ func (r *Resource) Create(ctx context.Context, req resource.CreateRequest, res * // 2. create resource & fill model data if err := Create(ctx, r, &planData); err != nil { - res.Diagnostics.AddError("failed to create SDC resource", err.Error()) + res.Diagnostics.AddError("failed to create FTD resource", err.Error()) return } @@ -206,7 +206,7 @@ func (r *Resource) Delete(ctx context.Context, req resource.DeleteRequest, res * // 2. delete the resource if err := Delete(ctx, r, &stateData); err != nil { - res.Diagnostics.AddError("failed to delete SDC resource", err.Error()) + res.Diagnostics.AddError("failed to delete FTD resource", err.Error()) } } diff --git a/provider/internal/device/ftd/resource_test.go b/provider/internal/device/ftd/resource_test.go new file mode 100644 index 00000000..9335ddec --- /dev/null +++ b/provider/internal/device/ftd/resource_test.go @@ -0,0 +1,69 @@ +package ftd_test + +import ( + "testing" + + "github.com/CiscoDevnet/terraform-provider-cdo/internal/acctest" + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +type ResourceType struct { + ID string + Name string + AccessPolicyName string + PerformanceTier string + Virtual string + Licenses string + AccessPolicyUid string + GeneratedCommand string +} + +const ResourceTemplate = ` +resource "cdo_ftd_device" "test" { + name = "{{.Name}}" + access_policy_name = "{{.AccessPolicyName}}" + performance_tier = "{{.PerformanceTier}}" + virtual = "{{.Virtual}}" + licenses = {{.Licenses}} +}` + +var testResource = ResourceType{ + Name: "ci-test-ftd-9", + AccessPolicyName: "Default Access Control Policy", + PerformanceTier: "FTDv5", + Virtual: "false", + Licenses: "[\"BASE\"]", + GeneratedCommand: "configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com LvWGkKjYNrqZlYbz2JGZqbD0ibDuxlSp h2zTtFTvwxgDIbI9pGshHNWrJGDT0jzC terraform-provider-cdo.app.staging.cdo.cisco.com", +} +var testResourceConfig = acctest.MustParseTemplate(ResourceTemplate, testResource) + +func TestAccFtdResource(t *testing.T) { + + resource.Test(t, resource.TestCase{ + PreCheck: acctest.PreCheckFunc(t), + ProtoV6ProviderFactories: acctest.ProtoV6ProviderFactories, + Steps: []resource.TestStep{ + // Create and Read testing + { + Config: acctest.ProviderConfig() + testResourceConfig, + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("cdo_ftd_device.test", "name", testResource.Name), + resource.TestCheckResourceAttr("cdo_ftd_device.test", "access_policy_name", testResource.AccessPolicyName), + resource.TestCheckResourceAttr("cdo_ftd_device.test", "performance_tier", testResource.PerformanceTier), + resource.TestCheckResourceAttr("cdo_ftd_device.test", "virtual", testResource.Virtual), + resource.TestCheckResourceAttrSet("cdo_ftd_device.test", "licenses.0"), + resource.TestCheckResourceAttr("cdo_ftd_device.test", "access_policy_name", testResource.AccessPolicyName), + resource.TestCheckResourceAttr("cdo_ftd_device.test", "generated_command", testResource.GeneratedCommand), + ), + }, + // Update and Read testing + //{ + // Config: acctest.ProviderConfig() + testResourceConfig, + // Check: resource.ComposeAggregateTestCheckFunc( + // resource.TestCheckResourceAttr("cdo_ios_device.test", "name", testResource.Name), + // ), + //}, + // Delete testing automatically occurs in TestCase + }, + }) +} diff --git a/provider/internal/provider/provider.go b/provider/internal/provider/provider.go index 7c0ce4ac..9e566e2e 100644 --- a/provider/internal/provider/provider.go +++ b/provider/internal/provider/provider.go @@ -7,6 +7,7 @@ import ( "context" "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/internal/connector" + "github.com/CiscoDevnet/terraform-provider-cdo/internal/device/ftd" "os" "github.com/CiscoDevnet/terraform-provider-cdo/internal/device/ios" @@ -147,6 +148,7 @@ func (p *CdoProvider) Resources(ctx context.Context) []func() resource.Resource connector.NewResource, asa.NewAsaDeviceResource, ios.NewIosDeviceResource, + ftd.NewResource, } } diff --git a/provider/internal/util/sliceutil/slice.go b/provider/internal/util/sliceutil/slice.go index 473dec8a..839ca484 100644 --- a/provider/internal/util/sliceutil/slice.go +++ b/provider/internal/util/sliceutil/slice.go @@ -8,3 +8,18 @@ func Map[T any, V any](sliceT []T, mapFunc func(T) V) []V { } return sliceV } + +// MapWithError takes a slice and a function, apply the function to each element in the slice, and return the mapped slice. +// It allows the mapping function to return error, when it happens, it will terminate and return early. +func MapWithError[T any, V any](sliceT []T, mapFunc func(T) (V, error)) ([]V, error) { + sliceV := make([]V, len(sliceT)) + for i, item := range sliceT { + v, err := mapFunc(item) + if err != nil { + return nil, err + } + sliceV[i] = v + + } + return sliceV, nil +} diff --git a/provider/internal/util/togo.go b/provider/internal/util/togo.go index 2267fa56..7f283afe 100644 --- a/provider/internal/util/togo.go +++ b/provider/internal/util/togo.go @@ -2,10 +2,10 @@ package util import "github.com/hashicorp/terraform-plugin-framework/types" -func TFStringListToGoStringList(l types.List) []string { - res := make([]string, len(l.Elements())) - for i, v := range l.Elements() { - res[i] = v.String() +func TFStringListToGoStringList(l []types.String) []string { + res := make([]string, len(l)) + for i, v := range l { + res[i] = v.ValueString() } return res } diff --git a/provider/internal/util/totf.go b/provider/internal/util/totf.go index f72be039..8bd0c9e0 100644 --- a/provider/internal/util/totf.go +++ b/provider/internal/util/totf.go @@ -1,16 +1,14 @@ package util import ( - "github.com/hashicorp/terraform-plugin-framework/attr" "github.com/hashicorp/terraform-plugin-framework/types" ) -func GoStringSliceToTFStringList(stringSlice []string) types.List { - s := make([]attr.Value, len(stringSlice)) +func GoStringSliceToTFStringList(stringSlice []string) []types.String { + l := make([]types.String, len(stringSlice)) for i, v := range stringSlice { - s[i] = types.StringValue(v) + l[i] = types.StringValue(v) } - l, _ := types.ListValue(types.StringType, s) // drop diag as type is always correct return l } From c5f499d2eab91f31add6ac526d3f0835aac9b0cf Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 00:17:48 +0100 Subject: [PATCH 15/31] finally fix acceptance tests --- client/device/cdfmc/fmcappliance/update.go | 47 + client/device/cdfmc/readspecific.go | 8 +- client/device/ftdc/create.go | 4 +- client/device/ftdc/delete.go | 47 +- client/device/ftdc/read_by_name.go | 14 +- client/internal/http/request.go | 63 +- client/internal/retry/do.go | 2 +- client/internal/statemachine/error.go | 11 + .../statemachine/readinstance_by_deviceuid.go | 45 + client/internal/statemachine/retry.go | 30 + client/internal/url/url.go | 9 + client/model/statemachine/action.go | 17 + client/model/statemachine/details.go | 13 + client/model/statemachine/hook.go | 12 + client/model/statemachine/instance.go | 20 + client/model/statemachine/objectreference.go | 7 + provider/internal/device/ftd/operation.go | 3 +- provider/internal/device/ftd/resource_test.go | 11 +- provider/temp.txt | 1786 +++++++++++++++++ 19 files changed, 2109 insertions(+), 40 deletions(-) create mode 100644 client/device/cdfmc/fmcappliance/update.go create mode 100644 client/internal/statemachine/error.go create mode 100644 client/internal/statemachine/readinstance_by_deviceuid.go create mode 100644 client/internal/statemachine/retry.go create mode 100644 client/model/statemachine/action.go create mode 100644 client/model/statemachine/details.go create mode 100644 client/model/statemachine/hook.go create mode 100644 client/model/statemachine/instance.go create mode 100644 client/model/statemachine/objectreference.go create mode 100644 provider/temp.txt diff --git a/client/device/cdfmc/fmcappliance/update.go b/client/device/cdfmc/fmcappliance/update.go new file mode 100644 index 00000000..b0b5346c --- /dev/null +++ b/client/device/cdfmc/fmcappliance/update.go @@ -0,0 +1,47 @@ +package fmcappliance + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" +) + +type UpdateInput struct { + FmcSpecificUid string + QueueTriggerState string + StateMachineContext map[string]string +} + +func NewUpdateInput(FmcSpecificUid, queueTriggerState string, stateMachineContext map[string]string) UpdateInput { + return UpdateInput{ + FmcSpecificUid: FmcSpecificUid, + QueueTriggerState: queueTriggerState, + StateMachineContext: stateMachineContext, + } +} + +type UpdateOutput struct { + Uid string `json:"uid"` + State string `json:"state"` + DomainUid string `json:"domainUid"` +} + +type updateRequestBody struct { + QueueTriggerState string `json:"queueTriggerState"` + StateMachineContext map[string]string `json:"stateMachineContext"` +} + +func Update(ctx context.Context, client http.Client, updateInp UpdateInput) (*UpdateOutput, error) { + updateUrl := url.UpdateFmcAppliance(client.BaseUrl(), updateInp.FmcSpecificUid) + updateBody := updateRequestBody{ + QueueTriggerState: updateInp.QueueTriggerState, + StateMachineContext: updateInp.StateMachineContext, + } + req := client.NewPut(ctx, updateUrl, updateBody) + var updateOup UpdateOutput + if err := req.Send(updateOup); err != nil { + return nil, err + } + + return &updateOup, nil +} diff --git a/client/device/cdfmc/readspecific.go b/client/device/cdfmc/readspecific.go index d463086d..d8d35e56 100644 --- a/client/device/cdfmc/readspecific.go +++ b/client/device/cdfmc/readspecific.go @@ -11,10 +11,10 @@ type ReadSpecificInput struct { } type ReadSpecificOutput struct { - Uid string `json:"uid"` - DomainUid string `json:"domainUid"` - State string `json:"state"` - Status string `json:"status"` + SpecificUid string `json:"uid"` + DomainUid string `json:"domainUid"` + State string `json:"state"` + Status string `json:"status"` } func NewReadSpecificInput(fmcId string) ReadSpecificInput { diff --git a/client/device/ftdc/create.go b/client/device/ftdc/create.go index 52a082e4..44db9994 100644 --- a/client/device/ftdc/create.go +++ b/client/device/ftdc/create.go @@ -80,7 +80,7 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return nil, err } // 2. get cdFMC domain id by looking up FMC's specific device - //fmcSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(fmcRes.Uid)) + //fmcSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(fmcRes.SpecificUid)) //if err != nil { // return nil, err //} @@ -151,7 +151,7 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr // 7. get generate command err = retry.Do(UntilGeneratedCommandAvailable(ctx, client, createOup.Uid), *retry.NewOptionsWithLoggerAndRetries(client.Logger, 3)) - //readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(createOup.Uid)) + //readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(createOup.SpecificUid)) if err != nil { return nil, err } diff --git a/client/device/ftdc/delete.go b/client/device/ftdc/delete.go index 76d36946..0aa983b1 100644 --- a/client/device/ftdc/delete.go +++ b/client/device/ftdc/delete.go @@ -2,8 +2,11 @@ package ftdc import ( "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc/fmcappliance" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/statemachine" ) type DeleteInput struct { @@ -16,18 +19,44 @@ func NewDeleteInput(uid string) DeleteInput { } } -type DeleteOutput = ReadByUidOutput +type DeleteOutput struct { +} func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*DeleteOutput, error) { - - // TODO: is this all it takes to delete a ftdc? What about the underlying virtual ftd? - deleteUrl := url.DeleteDevice(client.BaseUrl(), deleteInp.Uid) - req := client.NewDelete(ctx, deleteUrl) - var deleteOutp DeleteOutput - if err := req.Send(&deleteOutp); err != nil { + + // 1. read FMC that manages this FTDc + cdfmcReadRes, err := cdfmc.Read(ctx, client, cdfmc.NewReadInput()) + if err != nil { + return nil, err + } + + // 2. read FMC specific device, i.e. the actual FMC + cdfmcReadSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(cdfmcReadRes.Uid)) + if err != nil { + return nil, err + } + + // 3. schedule a state machine for fmc to delete the FTDc + _, err = fmcappliance.Update(ctx, client, fmcappliance.NewUpdateInput( + cdfmcReadSpecificRes.SpecificUid, + "PENDING_DELETE_FTDC", + map[string]string{ + "ftdCDeviceIDs": deleteInp.Uid, + }, + )) + if err != nil { + return nil, err + } + + // 4. wait until the delete FTDc state machine has started + err = retry.Do(statemachine.UntilStarted(ctx, client, cdfmcReadSpecificRes.SpecificUid, "fmceDeleteFtdcStateMachine"), *retry.NewOptionsWithLoggerAndRetries(client.Logger, 3)) + if err != nil { return nil, err } - return &deleteOutp, nil + // 5. we are not waiting for it to finish, like the CDO UI + + // done! + return &DeleteOutput{}, nil } diff --git a/client/device/ftdc/read_by_name.go b/client/device/ftdc/read_by_name.go index b80731ca..102a7941 100644 --- a/client/device/ftdc/read_by_name.go +++ b/client/device/ftdc/read_by_name.go @@ -2,6 +2,8 @@ package ftdc import ( "context" + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" @@ -28,10 +30,18 @@ func ReadByName(ctx context.Context, client http.Client, readInp ReadByNameInput readUrl := url.ReadDeviceByNameAndType(client.BaseUrl(), readInp.Name, devicetype.Ftdc) req := client.NewGet(ctx, readUrl) - var readOutp ReadByNameOutput + var readOutp []ReadByNameOutput if err := req.Send(&readOutp); err != nil { return nil, err } - return &readOutp, nil + if len(readOutp) == 0 { + return nil, fmt.Errorf("ftd with name: \"%s\" not found", readInp.Name) + } + + if len(readOutp) > 1 { + return nil, fmt.Errorf("multiple ftds with name: \"%s\" found, this is unexpected, please report this error at: %s", readInp.Name, cdo.TerraformProviderCDOIssuesUrl) + } + + return &readOutp[0], nil } diff --git a/client/internal/http/request.go b/client/internal/http/request.go index 87e699fb..880e46e0 100644 --- a/client/internal/http/request.go +++ b/client/internal/http/request.go @@ -11,6 +11,7 @@ import ( "io" "log" "net/http" + netUrl "net/url" "strings" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" @@ -29,7 +30,9 @@ type Request struct { url string body any - Header http.Header + Header http.Header + QueryParams netUrl.Values + Response *Response Error error } @@ -45,7 +48,9 @@ func NewRequest(config cdo.Config, httpClient *http.Client, logger *log.Logger, method: method, url: url, body: body, - Header: make(http.Header), + + Header: make(http.Header), + QueryParams: make(netUrl.Values), } } @@ -102,7 +107,7 @@ func (r *Request) send(output any) error { // request is all good, now parse body resBody, err := io.ReadAll(res.Body) - fmt.Printf("\n\nsuccess: url=%s, code=%d, status=%s, body=%s, readBodyErr=%s, method=%s, header=%s\n", r.url, res.StatusCode, res.Status, string(resBody), err, r.method, r.Header) + fmt.Printf("\n\nsuccess: url=%s, code=%d, status=%s, body=%s, readBodyErr=%s, method=%s, header=%s, queryParams=%s\n", r.url, res.StatusCode, res.Status, string(resBody), err, r.method, r.Header, r.QueryParams) if err != nil { r.Error = err return err @@ -132,19 +137,20 @@ func (r *Request) build() (*http.Request, error) { return nil, err } - if r.method != "GET" && r.method != "DELETE" { - bodyReader2, err := toReader(r.body) - if err != nil { - return nil, err - } - bs, err := io.ReadAll(bodyReader2) - if err != nil { - return nil, err - } - fmt.Println("request_check") - fmt.Printf("Request: %+v\n", r) - fmt.Printf("Request: %s, %s, %s\n", r.url, r.method, string(bs)) - } + // TODO: remove these debug lines + //if r.method != "GET" && r.method != "DELETE" { + // bodyReader2, err := toReader(r.body) + // if err != nil { + // return nil, err + // } + // bs, err := io.ReadAll(bodyReader2) + // if err != nil { + // return nil, err + // } + // fmt.Println("request_check") + // fmt.Printf("Request: %+v\n", r) + // fmt.Printf("Request: %s, %s, %s\n", r.url, r.method, string(bs)) + //} req, err := http.NewRequest(r.method, r.url, bodyReader) if err != nil { @@ -155,16 +161,35 @@ func (r *Request) build() (*http.Request, error) { } r.addHeaders(req) + r.addQueryParams(req) return req, nil } +func (r *Request) addQueryParams(req *http.Request) { + q := req.URL.Query() + for k, vs := range r.QueryParams { + for _, v := range vs { + q.Add(k, v) + } + } + s := q.Encode() + if s != "" { + fmt.Printf("\n\nencoded_query=%s\n\n", s) + } + req.URL.RawQuery = s +} + +func (r *Request) addHeaders(req *http.Request) { + r.addAuthHeader(req) + r.addOtherHeader(req) +} + func (r *Request) addAuthHeader(req *http.Request) { req.Header.Add("Authorization", fmt.Sprintf("Bearer %s", r.config.ApiToken)) req.Header.Add("Content-Type", "application/json") } -func (r *Request) addHeaders(req *http.Request) { - r.addAuthHeader(req) +func (r *Request) addOtherHeader(req *http.Request) { for k, vs := range r.Header { for _, v := range vs { req.Header.Add(k, v) @@ -172,7 +197,7 @@ func (r *Request) addHeaders(req *http.Request) { } } -// toReader try to convert anything to io.Reader. +// toReader tries to convert anything to io.Reader. // Can return nil, which means empty, i.e. empty request body func toReader(v any) (io.Reader, error) { var reader io.Reader diff --git a/client/internal/retry/do.go b/client/internal/retry/do.go index 6e446845..c8c0b8d5 100644 --- a/client/internal/retry/do.go +++ b/client/internal/retry/do.go @@ -23,7 +23,7 @@ type Options struct { Logger *log.Logger - EarlyExitOnError bool // EarlyExitOnError will cause Retry to return immediately if error is returned from Func; if false, it will only return when max retries exceeded, which errors are combined the returned together. + EarlyExitOnError bool // EarlyExitOnError will cause Retry to return immediately if error is returned from Func; if false, it will only return when max retries exceeded, which errors are combined and returned together. } // Func is the retryable function for retrying. diff --git a/client/internal/statemachine/error.go b/client/internal/statemachine/error.go new file mode 100644 index 00000000..5f694559 --- /dev/null +++ b/client/internal/statemachine/error.go @@ -0,0 +1,11 @@ +package statemachine + +import ( + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" +) + +var ( + StateMachineNotFoundError = fmt.Errorf("statemachine instance not found") + MoreThanOneStateMachineRunningError = fmt.Errorf("multiple running instance found, this is an expected error, please report this issue at: %s", cdo.TerraformProviderCDOIssuesUrl) +) diff --git a/client/internal/statemachine/readinstance_by_deviceuid.go b/client/internal/statemachine/readinstance_by_deviceuid.go new file mode 100644 index 00000000..dd18fec1 --- /dev/null +++ b/client/internal/statemachine/readinstance_by_deviceuid.go @@ -0,0 +1,45 @@ +package statemachine + +import ( + "context" + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/statemachine" +) + +type ReadInstanceByDeviceUidInput struct { + Uid string // Uid of the device that runs the state machine +} + +func NewReadInstanceByDeviceUidInput(deviceUid string) ReadInstanceByDeviceUidInput { + return ReadInstanceByDeviceUidInput{ + Uid: deviceUid, + } +} + +type ReadInstanceByDeviceUidOutput = statemachine.Instance + +func ReadInstanceByDeviceUid(ctx context.Context, client http.Client, readInp ReadInstanceByDeviceUidInput) (*ReadInstanceByDeviceUidOutput, error) { + + readUrl := url.ReadStateMachineInstance(client.BaseUrl()) + req := client.NewGet(ctx, readUrl) + req.QueryParams.Add("limit", "1") + req.QueryParams.Add("q", fmt.Sprintf("objectReference.uid:%s", readInp.Uid)) + req.QueryParams.Add("sort", "lastActiveDate:desc") + + var readRes []ReadInstanceByDeviceUidOutput + if err := req.Send(&readRes); err != nil { + return nil, err + } + if len(readRes) == 0 { + return nil, StateMachineNotFoundError + } + + // TODO: this can happen, no idea why + //if len(readRes) > 1 { + // return nil, MoreThanOneStateMachineRunningError + //} + + return &readRes[0], nil +} diff --git a/client/internal/statemachine/retry.go b/client/internal/statemachine/retry.go new file mode 100644 index 00000000..8f375dce --- /dev/null +++ b/client/internal/statemachine/retry.go @@ -0,0 +1,30 @@ +package statemachine + +import ( + "context" + "errors" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" +) + +// UntilStarted keeps polling until it finds a state machine error +func UntilStarted(ctx context.Context, client http.Client, deviceUid string, stateMachineIdentifier string) retry.Func { + return func() (ok bool, err error) { + res, err := ReadInstanceByDeviceUid(ctx, client, NewReadInstanceByDeviceUidInput(deviceUid)) + if err != nil { + if errors.Is(err, StateMachineNotFoundError) { + // state machine not found, probably because we are calling too early, and it has not started yet, continue polling + return false, nil + } + // other error, not valid + return false, err + } + if res.StateMachineIdentifier == stateMachineIdentifier { + // found it, done! + // we do not need to check it is running properly, because, as the function name suggest, as long as it has started, we do not care + return true, nil + } + // other state machine is running, continue polling + return false, nil + } +} diff --git a/client/internal/url/url.go b/client/internal/url/url.go index ef7338fa..3baee85a 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -80,3 +80,12 @@ func ReadAccessPolicies(baseUrl string, domainUid string, limit int) string { func UpdateSpecificFtdc(baseUrl string, ftdSpecificUid string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/firepower/ftds/%s", baseUrl, ftdSpecificUid) } + +func UpdateFmcAppliance(baseUrl string, fmcSpecificUid string) string { + return fmt.Sprintf("%s/aegis/rest/v1/services/fmc/appliance/%s", baseUrl, fmcSpecificUid) +} + +// example: ${baseUrl}/aegis/rest/v1/services/state-machines/instances?limit=1&q=objectReference.uid:11111111-1111-1111-1111-111111111111&sort=lastActiveDate:desc +func ReadStateMachineInstance(baseUrl string) string { + return fmt.Sprintf("%s/aegis/rest/v1/services/state-machines/instances", baseUrl) +} diff --git a/client/model/statemachine/action.go b/client/model/statemachine/action.go new file mode 100644 index 00000000..ca1629fc --- /dev/null +++ b/client/model/statemachine/action.go @@ -0,0 +1,17 @@ +package statemachine + +type Action struct { + ActionIdentifier string `json:"actionIdentifier"` + EndDate int `json:"endDate"` + EndMessage string `json:"endMessage"` + EndMessageString string `json:"endMessageString"` + EndState string `json:"endState"` + Identifier string `json:"identifier"` + StartDate int `json:"startDate"` + StartState string `json:"startState"` + + CompleteStackTrace *string `json:"completeStackTrace,omitempty"` + ErrorCode *string `json:"errorCode,omitempty"` + ErrorMessage *string `json:"errorMessage,omitempty"` + FurtherDetails *string `json:"furtherDetails,omitempty"` +} diff --git a/client/model/statemachine/details.go b/client/model/statemachine/details.go new file mode 100644 index 00000000..ce04dc7e --- /dev/null +++ b/client/model/statemachine/details.go @@ -0,0 +1,13 @@ +package statemachine + +type Details struct { + //stateMachineDetails + CurrentDataRequirements *string `json:"currentDataRequirements,omitempty"` + Identifier string `json:"identifier"` + LastActiveDate int `json:"lastActiveDate"` + LastStep string `json:"lastStep"` + Priority string `json:"priority"` + StateMachineInstanceCondition string `json:"stateMachineInstanceCondition"` + StateMachineType string `json:"stateMachineType"` + Uid string `json:"uid"` +} diff --git a/client/model/statemachine/hook.go b/client/model/statemachine/hook.go new file mode 100644 index 00000000..d4cd634f --- /dev/null +++ b/client/model/statemachine/hook.go @@ -0,0 +1,12 @@ +package statemachine + +type Hook struct { + EndDate int `json:"endDate"` + EndMessage string `json:"endMessage"` + HookIdentifier string `json:"hookIdentifier"` + Identifier string `json:"identifier"` + StartDate int `json:"startDate"` + + CompleteStackTrace *string `json:"completeStackTrace,omitempty"` + ErrorMessage *string `json:"errorMessage,omitempty"` +} diff --git a/client/model/statemachine/instance.go b/client/model/statemachine/instance.go new file mode 100644 index 00000000..7711b5ba --- /dev/null +++ b/client/model/statemachine/instance.go @@ -0,0 +1,20 @@ +package statemachine + +type Instance struct { + Actions []Action `json:"actions"` + ActiveStateMachineContext map[string]string `json:"activeStateMachineContext"` + AfterHooks []Hook `json:"afterHooks"` + BeforeHooks []Hook `json:"beforeHooks"` + CreatedDate int `json:"createdDate"` + CurrentState string `json:"currentState"` + EndDate int `json:"endDate"` + HasErrors bool `json:"hasErrors"` + ObjectReference ObjectReference `json:"objectReference"` + StateMachineDetails Details `json:"stateMachineDetails"` + StateMachineIdentifier string `json:"stateMachineIdentifier"` + StateMachineInstanceCondition string `json:"stateMachineInstanceCondition"` + StateMachinePriority string `json:"stateMachinePriority"` + StateMachineType string `json:"stateMachineType"` + Status string `json:"status"` + Uid string `json:"uid"` +} diff --git a/client/model/statemachine/objectreference.go b/client/model/statemachine/objectreference.go new file mode 100644 index 00000000..b52ddea5 --- /dev/null +++ b/client/model/statemachine/objectreference.go @@ -0,0 +1,7 @@ +package statemachine + +type ObjectReference struct { + Namespace string `json:"namespace"` + Type string `json:"type"` + Uid string `json:"uid"` +} diff --git a/provider/internal/device/ftd/operation.go b/provider/internal/device/ftd/operation.go index 81447aa2..10a3b224 100644 --- a/provider/internal/device/ftd/operation.go +++ b/provider/internal/device/ftd/operation.go @@ -2,7 +2,6 @@ package ftd import ( "context" - "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/ftdc" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" @@ -60,7 +59,7 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er licenses, ) res, err := resource.client.CreateFtdc(ctx, createInp) - fmt.Printf("\ncreate FTDc res: %+v\n", res) + //fmt.Printf("\ncreate FTDc res: %+v\n", res) if err != nil { return err } diff --git a/provider/internal/device/ftd/resource_test.go b/provider/internal/device/ftd/resource_test.go index 9335ddec..5828f5f0 100644 --- a/provider/internal/device/ftd/resource_test.go +++ b/provider/internal/device/ftd/resource_test.go @@ -1,6 +1,8 @@ package ftd_test import ( + "fmt" + "strings" "testing" "github.com/CiscoDevnet/terraform-provider-cdo/internal/acctest" @@ -52,8 +54,15 @@ func TestAccFtdResource(t *testing.T) { resource.TestCheckResourceAttr("cdo_ftd_device.test", "performance_tier", testResource.PerformanceTier), resource.TestCheckResourceAttr("cdo_ftd_device.test", "virtual", testResource.Virtual), resource.TestCheckResourceAttrSet("cdo_ftd_device.test", "licenses.0"), + resource.TestCheckResourceAttr("cdo_ftd_device.test", "licenses.#", "1"), resource.TestCheckResourceAttr("cdo_ftd_device.test", "access_policy_name", testResource.AccessPolicyName), - resource.TestCheckResourceAttr("cdo_ftd_device.test", "generated_command", testResource.GeneratedCommand), + resource.TestCheckResourceAttrWith("cdo_ftd_device.test", "generated_command", func(value string) error { + ok := strings.HasPrefix(value, "configure manager add") + if !ok { + return fmt.Errorf("generated command should starts with \"configure manager add\", but it was \"%s\"", value) + } + return nil + }), ), }, // Update and Read testing diff --git a/provider/temp.txt b/provider/temp.txt new file mode 100644 index 00000000..d0f73c26 --- /dev/null +++ b/provider/temp.txt @@ -0,0 +1,1786 @@ +? github.com/CiscoDevnet/terraform-provider-cdo [no test files] +? github.com/CiscoDevnet/terraform-provider-cdo/internal/acctest [no test files] +? github.com/CiscoDevnet/terraform-provider-cdo/internal/util [no test files] +? github.com/CiscoDevnet/terraform-provider-cdo/internal/util/sliceutil [no test files] +ok github.com/CiscoDevnet/terraform-provider-cdo/internal/connector 1.139s [no tests to run] +ok github.com/CiscoDevnet/terraform-provider-cdo/internal/device/asa 0.942s [no tests to run] +2023-08-26T00:13:40.808+0100 [TRACE] sdk.helper_resource: Validating TestCase: test_name=TestAccFtdResource +2023-08-26T00:13:40.808+0100 [TRACE] sdk.helper_resource: Validating TestStep: test_name=TestAccFtdResource test_step_number=1 +2023-08-26T00:13:40.808+0100 [DEBUG] sdk.helper_resource: Starting TestCase: test_name=TestAccFtdResource +2023-08-26T00:13:40.808+0100 [DEBUG] sdk.helper_resource: Calling TestCase PreCheck: test_name=TestAccFtdResource +2023-08-26T00:13:40.808+0100 [DEBUG] sdk.helper_resource: Called TestCase PreCheck: test_name=TestAccFtdResource +2023-08-26T00:13:40.809+0100 [TRACE] sdk.helper_resource: Adding potential Terraform CLI source of local filesystem PATH lookup: test_name=TestAccFtdResource +2023-08-26T00:13:40.809+0100 [TRACE] sdk.helper_resource: Adding potential Terraform CLI source of checkpoint.hashicorp.com latest version for installation in: /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest-terraform218742143: test_name=TestAccFtdResource +2023-08-26T00:13:40.809+0100 [DEBUG] sdk.helper_resource: Found Terraform CLI: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:40.941+0100 [TRACE] sdk.helper_resource: Symlinking source directories to work directory: test_name=TestAccFtdResource test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157/work3010246833 +2023-08-26T00:13:40.981+0100 [TRACE] sdk.helper_resource: Setting Terraform configuration: test_terraform_configuration="" test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_name=TestAccFtdResource +2023-08-26T00:13:40.981+0100 [TRACE] sdk.helper_resource: Clearing Terraform plan: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_name=TestAccFtdResource +2023-08-26T00:13:40.981+0100 [TRACE] sdk.helper_resource: No Terraform plan to clear: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:40.981+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:40.981+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:40.981+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:40.982+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:40.982+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1965259856}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1965259856}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:40.982+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:40.982+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI init command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Called Terraform CLI init command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.023+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.023+0100 [DEBUG] sdk.helper_resource: Starting TestSteps: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.023+0100 [DEBUG] sdk.helper_resource: Starting TestStep: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: TestStep is Config mode: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Setting Terraform configuration: + test_terraform_configuration= + | + | \tprovider "cdo" { + | \t\tapi_token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ" + | \t\tbase_url = "https://ci.dev.lockhart.io" + | \t} + | \t// New line + | \t + | resource "cdo_ftd_device" "test" { + | \tname = "ci-test-ftd-9" + | \taccess_policy_name = "Default Access Control Policy" + | \tperformance_tier = "FTDv5" + | \tvirtual = "false" + | \tlicenses = ["BASE"] + | } + test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Clearing Terraform plan: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: No Terraform plan to clear: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3981094396}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3981094396}}]" +2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI refresh command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.073+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.073+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_ios_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.073+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 diagnostic_error_count=0 +2023-08-26T00:13:41.074+0100 [TRACE] sdk.proto: Served request: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Received request: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.076+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.076+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.076+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_rpc=GetProviderSchema +2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a +2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e +2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e +2023-08-26T00:13:41.077+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e +2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_attribute_path=api_token tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=base_url tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_attribute_path=base_url +2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 +2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_proto_version=6.3 +2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Received request: tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 +2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 +2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 +2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_attribute_path=licenses +2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.079+0100 [TRACE] sdk.proto: Received request: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.079+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.079+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 +2023-08-26T00:13:41.079+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_resource_type=cdo_sdc +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.079+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema diagnostic_error_count=0 +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received request: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.080+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token +2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url +2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_proto_version=6.3 +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received request: tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider +2023-08-26T00:13:41.080+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 +2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.081+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.081+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.081+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses +2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Served request: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_proto_version=6.3 +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"access_policy_name\")" +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"generated_command\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"id\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"licenses\").ElementKeyInt(0)" +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"licenses\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"name\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"performance_tier\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"virtual\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"access_policy_id\")" +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: At least one Computed null Config value was changed to unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_attribute_path=licenses description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=id description="Once set, the value of this attribute in state will not change." +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: description="Once set, the value of this attribute in state will not change." tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=id +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=virtual +2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_resource_type=cdo_ftd_device tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.090+0100 [TRACE] sdk.helper_resource: Called Terraform CLI refresh command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.090+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.090+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.090+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.092+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Running Terraform CLI plan and apply: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.093+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource +2023-08-26T00:13:41.093+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2760239878}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2760239878}}]" +2023-08-26T00:13:41.093+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.093+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI plan command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.137+0100 [TRACE] sdk.proto: Received request: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.137+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 +2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 +2023-08-26T00:13:41.137+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 +2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.137+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 +2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 +2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 +2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Served request: tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received request: tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 +2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_attribute_path=licenses +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_attribute_path=licenses +2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig tf_proto_version=6.3 +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_attribute_path=api_token +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b +2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received request: tf_rpc=ConfigureProvider tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=73231688-8700-48c8-9083-4b1f64321976 +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_id=73231688-8700-48c8-9083-4b1f64321976 +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Served request: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received request: tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateResourceConfig tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_rpc=ValidateResourceConfig tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 +2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"licenses\").ElementKeyInt(0)" +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"licenses\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"name\")" +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"performance_tier\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"virtual\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"access_policy_id\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"access_policy_name\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"generated_command\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"id\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: At least one Computed null Config value was changed to unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 description="Once set, the value of this attribute in state will not change." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=id +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_attribute_path=id tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange description="Once set, the value of this attribute in state will not change." +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=access_policy_name tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path=access_policy_name +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=performance_tier tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_attribute_path=virtual +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_attribute_path=virtual tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses +2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 +2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses +2023-08-26T00:13:41.142+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.142+0100 [TRACE] sdk.proto: Served request: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.145+0100 [TRACE] sdk.helper_resource: Called Terraform CLI plan command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.145+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for stdout plan: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Received request: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 +2023-08-26T00:13:41.201+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Served request: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for stdout plan: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Created plan with changes: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 + test_terraform_plan= + | + | Terraform used the selected providers to generate the following execution + | plan. Resource actions are indicated with the following symbols: + | + create + | + | Terraform will perform the following actions: + | + | # cdo_ftd_device.test will be created + | + resource "cdo_ftd_device" "test" { + | + access_policy_id = (known after apply) + | + access_policy_name = "Default Access Control Policy" + | + generated_command = (known after apply) + | + id = (known after apply) + | + licenses = [ + | + "BASE", + | ] + | + name = "ci-test-ftd-9" + | + performance_tier = "FTDv5" + | + virtual = false + | } + | + | Plan: 1 to add, 0 to change, 0 to destroy. + +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3864693553}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3864693553}}]" +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON state: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 +2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for JSON state: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.245+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.245+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin466862817}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin466862817}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:41.245+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:41.245+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI apply command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Served request: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_proto_version=6.3 +2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_proto_version=6.3 +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.289+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 +2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_proto_version=6.3 +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received request: tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.290+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received downstream response: tf_req_duration_ms=0 diagnostic_error_count=0 tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_warning_count=0 +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:41.290+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 +2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_rpc=ConfigureProvider +2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 +2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Served request: tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"performance_tier\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"virtual\")" +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"access_policy_id\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"access_policy_name\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"generated_command\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"id\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"licenses\").ElementKeyInt(0)" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"licenses\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"name\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: At least one Computed null Config value was changed to unknown: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=id tf_rpc=PlanResourceChange description="Once set, the value of this attribute in state will not change." +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=id +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_attribute_path=virtual tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_rpc=PlanResourceChange tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_attribute_path=licenses +2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a +2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.292+0100 [TRACE] sdk.proto: Received request: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.292+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:41.292+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.292+0100 [TRACE] sdk.framework: ApplyResourceChange received no PriorState, running CreateResource: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.292+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange +2023-08-26T00:13:41.292+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:41.292+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:41.292+0100 [DEBUG] sdk.framework: Calling provider defined Resource Create: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange +2023-08-26T00:13:41.292+0100 [TRACE] cdo: create FTD resource: tf_rpc=ApplyResourceChange tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023/08/26 00:13:41 creating ftdc +2023/08/26 00:13:41 reading cdFMC + + +encoded_query=q=deviceType%3AFMCE + + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=deviceType:FMCE, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","name":"FMC","namespace":"targets","type":"devices","version":1,"createdDate":1692631774903,"lastUpdatedDate":1693004741032,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":null,"sseEnabled":true,"deviceRole":"ANYCONNECT_VPN_HEAD_END","sseDeviceRegistrationToken":{"status":"Registered","token":"58be3ec59e1d1254340d3a6688dddd9f","expiry":1700407799},"sseDeviceSerialNumberRegistration":null,"sseDeviceData":{"sseDeviceId":"eec8079f-bf13-4d84-8f62-d17f52672c81","sseProtocolVersion":"ONE"},"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":"terraform-provider-cdo.app.staging.cdo.cisco.com:443","interfaces":null,"deviceActivity":{"activityType":null,"activityResult":"FAILURE","additionalInfo":{"errorMsg":["Invalid session."]}},"serial":null,"chassisSerial":null,"softwareVersion":"7.3.1-build 6035","connectivityState":1,"connectivityError":null,"ignoreCertificate":true,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":true,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FMCE","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{"ON_DEMAND":null,"SCHEDULED":null},"logs":null,"notes":null,"metadata":null,"customData":null,"configurationReference":null,"oobCheckInterval":"OOB_10_MINUTES","larUid":null,"larType":"CDG","lastDeployTimestamp":0,"port":"443","host":"terraform-provider-cdo.app.staging.cdo.cisco.com","loggingEnabled":false,"liveAsaDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] + + +encoded_query=limit=1000 + + + +success: url=https://ci.dev.lockhart.io/fmc/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?limit=1000, code=200, status=200 OK, body={"links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?offset=0&limit=1000"},"items":[{"type":"AccessPolicy","links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies/06AE8B8C-5F91-0ed3-0000-004294967346"},"name":"Default Access Control Policy","id":"06AE8B8C-5F91-0ed3-0000-004294967346"}],"paging":{"offset":0,"limit":1000,"count":1,"pages":1}}, readBodyErr=%!s(), method=GET, header=map[Fmc-Hostname:[terraform-provider-cdo.app.staging.cdo.cisco.com]], queryParams=map[] + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005223441,"actionContext":{"modifiedFieldsAndNewValues":{},"deletedObject":null,"preUpdateObject":null,"businessFlow":"BF_FTDC","transactionStatusUid":null,"actionOrigin":"REST_API","saveRealOperation":"CREATE","modifiedFields":[]},"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":-5,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=POST, header=map[], queryParams=map[] +2023/08/26 00:13:43 reading specific device + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/device/5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47/specific-device, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"80bfeba4-d791-4dd7-923f-239a43f223ec","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1693005223704,"lastUpdatedDate":1693005223704,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"filepolicy":{},"mgmtaccesshttpobject":{},"sgtgroup":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"ikev2Policy":{},"anyconnectprofiles":{},"embeddedappfilter":{},"url_feed":{},"country":{},"ikev2Proposal":{},"urlobject":{},"intrusionpolicy":{},"specialuser":{},"intrusion_policy":{},"ipsUpdateSchedule":{},"serviceudpobject":{},"ipspolicy":{},"cloudeventssettings":{},"applicationfilter":{},"internalcertificate":{},"dnsgroupobject":{},"devlogobject":{},"manualnatrulecontainer":{},"realmsequence":{},"localidentitysources":{},"devicesettings_managementaccess":{},"applicationcategory":{},"serviceobjectgroup":{},"devicesettings_cloudconfig":{},"application":{},"applicationtag":{},"duoldapidentitysource":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"securityzone":{},"ikev1Policy":{},"continent":{},"mgmtaccesssshobject":{},"dummyTypeWithUnsupportedVersion":{},"serviceicmpv4object":{},"specialrealms":{},"dnsobject":{},"networkobjectgroup":{},"syslogserver":{},"radiusidentitysourcegroup":{},"urlcategory":{},"cloudconfig":{},"servicetcpobject":{},"ntpobject":{},"dhcpobject":{},"mgmtdnssettings":{},"ikev1Proposal":{},"hostnameobject":{},"serviceprotocolobject":{},"ravpn":{},"samlserver":{},"objectnatrulecontainer":{},"internalcacertificate":{},"radiusidentitysource":{},"serviceicmpv6object":{},"mgmtaccesshttpsdataport":{},"geolocation":{},"identityservicesengine":{},"externalcacertificate":{},"physical_interface":{},"mgmtaccessdataobject":{},"staticrouteentry":{},"ravpnconnectionprofile":{},"urlrepuation":{},"networkobject":{},"cloudservicesinfo":{},"network_feed":{},"webanalyticssettings":{},"successnetworksettings":{},"ravpngrouppolicy":{},"securitygrouptag":{},"datadnssettings":{},"activedirectoryrealms":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":null,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/80bfeba4-d791-4dd7-923f-239a43f223ec, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"80bfeba4-d791-4dd7-923f-239a43f223ec","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1693005223704,"lastUpdatedDate":1693005224501,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"filepolicy":{},"mgmtaccesshttpobject":{},"sgtgroup":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"ikev2Policy":{},"anyconnectprofiles":{},"embeddedappfilter":{},"url_feed":{},"country":{},"ikev2Proposal":{},"urlobject":{},"intrusionpolicy":{},"specialuser":{},"intrusion_policy":{},"ipsUpdateSchedule":{},"serviceudpobject":{},"ipspolicy":{},"cloudeventssettings":{},"applicationfilter":{},"internalcertificate":{},"dnsgroupobject":{},"devlogobject":{},"manualnatrulecontainer":{},"realmsequence":{},"localidentitysources":{},"devicesettings_managementaccess":{},"applicationcategory":{},"serviceobjectgroup":{},"devicesettings_cloudconfig":{},"application":{},"applicationtag":{},"duoldapidentitysource":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"securityzone":{},"ikev1Policy":{},"continent":{},"mgmtaccesssshobject":{},"dummyTypeWithUnsupportedVersion":{},"serviceicmpv4object":{},"specialrealms":{},"dnsobject":{},"networkobjectgroup":{},"syslogserver":{},"radiusidentitysourcegroup":{},"urlcategory":{},"cloudconfig":{},"servicetcpobject":{},"ntpobject":{},"dhcpobject":{},"mgmtdnssettings":{},"ikev1Proposal":{},"hostnameobject":{},"serviceprotocolobject":{},"ravpn":{},"samlserver":{},"objectnatrulecontainer":{},"internalcacertificate":{},"radiusidentitysource":{},"serviceicmpv6object":{},"mgmtaccesshttpsdataport":{},"geolocation":{},"identityservicesengine":{},"externalcacertificate":{},"physical_interface":{},"mgmtaccessdataobject":{},"staticrouteentry":{},"ravpnconnectionprofile":{},"urlrepuation":{},"networkobject":{},"cloudservicesinfo":{},"network_feed":{},"webanalyticssettings":{},"successnetworksettings":{},"ravpngrouppolicy":{},"securitygrouptag":{},"datadnssettings":{},"activedirectoryrealms":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":null,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=PUT, header=map[], queryParams=map[] + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005225499,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null,"generatedCommand":"configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com","regKey":"ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb","natID":"5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy","cloudManagerDomain":"terraform-provider-cdo.app.staging.cdo.cisco.com"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] +2023/08/26 00:13:45 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 terraform-provider-cdo.app.staging.cdo.cisco.com configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com [BASE] 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy %!s(*tier.Type=) ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb} + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005225499,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null,"generatedCommand":"configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com","regKey":"ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb","natID":"5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy","cloudManagerDomain":"terraform-provider-cdo.app.staging.cdo.cisco.com"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] +2023-08-26T00:13:46.145+0100 [TRACE] cdo: create FTD resource done: tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.145+0100 [DEBUG] sdk.framework: Called provider defined Resource Create: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.145+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=name tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.145+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_attribute_path=access_policy_name tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=virtual tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.146+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.146+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_rpc=ApplyResourceChange tf_attribute_path=licenses[0] tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_attribute_path=licenses +2023-08-26T00:13:46.146+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_duration_ms=4853 diagnostic_error_count=0 +2023-08-26T00:13:46.146+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 +2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Called Terraform CLI apply command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1097299922}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1097299922}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON state: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Received request: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for JSON state: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Using TestStep Check: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Running Terraform CLI plan to check for perpetual differences: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.207+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.207+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin810552156}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin810552156}}]" +2023-08-26T00:13:46.207+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.207+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI plan command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Received request: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_sdc +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_sdc +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 +2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 +2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Received request: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_resource_type=cdo_sdc +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=87665818-830d-af19-b751-dd0039fe3469 +2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=87665818-830d-af19-b751-dd0039fe3469 +2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=87665818-830d-af19-b751-dd0039fe3469 +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token tf_rpc=ValidateProviderConfig description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=87665818-830d-af19-b751-dd0039fe3469 +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 +2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e +2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e +2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_attribute_path=licenses +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Served request: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 +2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_sdc +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Served request: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 +2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ConfigureProvider diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Served request: tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_proto_version=6.3 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 +2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=UpgradeResourceState tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 +2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_proto_version=6.3 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.252+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.252+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 +2023-08-26T00:13:46.252+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses +2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 +2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_attribute_path=virtual tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_attribute_path=virtual +2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: description="Once set, the value of this attribute in state will not change." tf_resource_type=cdo_ftd_device tf_attribute_path=id tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=id description="Once set, the value of this attribute in state will not change." tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=access_policy_name tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 +2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Called Terraform CLI plan command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Created plan with no changes: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource +2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.256+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.256+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1779363455}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1779363455}}]" test_name=TestAccFtdResource +2023-08-26T00:13:46.256+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.256+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Received request: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 +2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource +2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3297982337}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3297982337}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI refresh command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.338+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df +2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_rpc=GetProviderSchema diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df +2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 +2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.339+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 +2023-08-26T00:13:46.339+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.339+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema diagnostic_error_count=0 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received request: tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_attribute_path=api_token +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Served request: tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateProviderConfig tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received request: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 +2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Served request: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 +2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Served request: tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c +2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c +2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource +2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Calling provider defined Resource Read: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.342+0100 [TRACE] cdo: read FTD resource: tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo + + +encoded_query=q=name%3Aci-test-ftd-9+AND+deviceType%3AFTDC + + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=name:ci-test-ftd-9+AND+deviceType:FTDC, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005225499,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null,"generatedCommand":"configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com","regKey":"ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb","natID":"5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy","cloudManagerDomain":"terraform-provider-cdo.app.staging.cdo.cisco.com"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] +2023-08-26T00:13:46.550+0100 [TRACE] cdo: read FTD resource done: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource +2023-08-26T00:13:46.550+0100 [DEBUG] sdk.framework: Called provider defined Resource Read: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource +2023-08-26T00:13:46.550+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.550+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.552+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=licenses[0] +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=licenses +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=generated_command tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=access_policy_id +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=id tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=name tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=access_policy_name tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c +2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_attribute_path=virtual +2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=210 tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device diagnostic_error_count=0 +2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Received request: tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.553+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.553+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.553+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 +2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_attribute_path=licenses +2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Served request: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Received request: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 +2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=id tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 description="Once set, the value of this attribute in state will not change." +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_attribute_path=id tf_rpc=PlanResourceChange description="Once set, the value of this attribute in state will not change." +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=access_policy_name +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=access_policy_name tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 +2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_attribute_path=licenses description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses +2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 +2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 +2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Called Terraform CLI refresh command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2254696630}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2254696630}}]" test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI plan command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.606+0100 [TRACE] sdk.proto: Received request: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_sdc tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Served request: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 +2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 +2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_proto_version=6.3 +2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url tf_rpc=ValidateProviderConfig tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=api_token +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Served request: tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_proto_version=6.3 +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received request: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 +2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_attribute_path=licenses tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig +2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Received request: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.609+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.609+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.609+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Received downstream response: tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 +2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 +2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 +2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_proto_version=6.3 +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ConfigureProvider tf_proto_version=6.3 tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Served request: tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_proto_version=6.3 +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad +2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 +2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=virtual +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=virtual tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_attribute_path=licenses +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_attribute_path=licenses tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=id tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=id description="Once set, the value of this attribute in state will not change." +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 +2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." +2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_req_duration_ms=0 diagnostic_error_count=0 +2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Served request: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Called Terraform CLI plan command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Created plan with no changes: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1395187142}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1395187142}}]" +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_resource_type=cdo_sdc +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Received downstream response: tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Served request: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Finished TestStep: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin4193879916}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin4193879916}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON state: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d +2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_sdc tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_sdc tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Served request: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for JSON state: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource +2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3822729752}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3822729752}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI destroy command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_resource_type=cdo_sdc +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Served request: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.740+0100 [TRACE] sdk.proto: Received request: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.740+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 +2023-08-26T00:13:46.740+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.740+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.740+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.740+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received request: tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_attribute_path=base_url tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_duration_ms=0 diagnostic_error_count=0 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received request: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses +2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 +2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b +2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Served request: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_proto_version=6.3 +2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received request: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_rpc=ValidateProviderConfig tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received request: tf_rpc=ConfigureProvider tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ConfigureProvider tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_rpc=ConfigureProvider tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received request: tf_rpc=UpgradeResourceState tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=UpgradeResourceState tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_resource_type=cdo_ftd_device tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=UpgradeResourceState tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 +2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange +2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c +2023-08-26T00:13:46.744+0100 [TRACE] sdk.proto: Received request: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.744+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.744+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema +2023-08-26T00:13:46.744+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_sdc +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_asa_device +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 +2023-08-26T00:13:46.744+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_sdc +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_ios_device +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Served request: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received request: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.745+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 +2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" +2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token tf_rpc=ValidateProviderConfig tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 +2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Served request: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.745+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=0466a775-2649-aafb-8500-05207f18330b +2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Served request: tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_proto_version=6.3 +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_proto_version=6.3 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f +2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_proto_version=6.3 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_proto_version=6.3 tf_rpc=UpgradeResourceState +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 +2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange +2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: ApplyResourceChange received no PlannedState, running DeleteResource: tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo +2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange +2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 +2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Calling provider defined Resource Delete: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:46.746+0100 [TRACE] cdo: delete FTD resource: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 +2023/08/26 00:13:46 reading cdFMC + + +encoded_query=q=deviceType%3AFMCE + + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=deviceType:FMCE, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","name":"FMC","namespace":"targets","type":"devices","version":1,"createdDate":1692631774903,"lastUpdatedDate":1693004741032,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":null,"sseEnabled":true,"deviceRole":"ANYCONNECT_VPN_HEAD_END","sseDeviceRegistrationToken":{"status":"Registered","token":"58be3ec59e1d1254340d3a6688dddd9f","expiry":1700407799},"sseDeviceSerialNumberRegistration":null,"sseDeviceData":{"sseDeviceId":"eec8079f-bf13-4d84-8f62-d17f52672c81","sseProtocolVersion":"ONE"},"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":"terraform-provider-cdo.app.staging.cdo.cisco.com:443","interfaces":null,"deviceActivity":{"activityType":null,"activityResult":"FAILURE","additionalInfo":{"errorMsg":["Invalid session."]}},"serial":null,"chassisSerial":null,"softwareVersion":"7.3.1-build 6035","connectivityState":1,"connectivityError":null,"ignoreCertificate":true,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":true,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FMCE","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{"ON_DEMAND":null,"SCHEDULED":null},"logs":null,"notes":null,"metadata":null,"customData":null,"configurationReference":null,"oobCheckInterval":"OOB_10_MINUTES","larUid":null,"larType":"CDG","lastDeployTimestamp":0,"port":"443","host":"terraform-provider-cdo.app.staging.cdo.cisco.com","loggingEnabled":false,"liveAsaDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/device/ac12b246-ed93-4a09-bc8a-5c4708854a2f/specific-device, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"12f9d2f1-cf5a-4fd9-afc2-9819df88027d","name":"","namespace":"fmc","type":"appliance","version":1,"createdDate":1692631775019,"lastUpdatedDate":1693005166327,"actionContext":null,"stateMachineContext":null,"stateDate":1693005166320,"status":"IDLE","stateMachineDetails":{"uid":"ea5844be-fed6-4fd1-a056-918f1f3b9183","priority":"ON_DEMAND","identifier":"fmceDeleteFtdcStateMachine","lastActiveDate":1693005165673,"stateMachineType":"WRITE","lastStep":"com.cisco.lockhart.target.statemachine.DeviceStateMachineSetErrorAfterHook","lastError":null,"currentDataRequirements":null,"stateMachineInstanceCondition":"DONE"},"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"serverVersion":"7.3.1-build 6035","geoVersion":"None","vdbVersion":"build 369 ( 2023-07-31 16:37:40 )","sruVersion":"2023-08-23-001-vrt","upgradeStarted":false,"certificate":null,"cloudEvents":["{\"id\":\"c64d2a4c-a194-11e8-bad0-eb6719b10fdb\",\"type\":\"CloudEventsConfig\",\"links\":{\"self\":\"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/integration/cloudeventsconfigs/c64d2a4c-a194-11e8-bad0-eb6719b10fdb\"},\"sendIntrusionEvents\":true,\"sendFileEvents\":true,\"sendConnectionEvents\":true,\"sendAllConnectionEvents\":false}"],"domainUid":"e276abec-e0f2-11e3-8169-6d9ed49b625f","smartLicenseStatus":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"activeFmcPublicIPAddressOrFQDN":null,"activeFmcGuid":null,"s2SVpnPolicyInfoList":null,"accessPolicies":[],"domainReferences":[],"fmcSettings":{"discoverObjects":false,"manageNetworkObjects":false,"objectSyncMode":"MANUAL_SYNC"},"hasChildDomains":false,"partOfHa":false,"state":"DONE","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/fmc/appliance/12f9d2f1-cf5a-4fd9-afc2-9819df88027d, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"12f9d2f1-cf5a-4fd9-afc2-9819df88027d","name":"","namespace":"fmc","type":"appliance","version":1,"createdDate":1692631775019,"lastUpdatedDate":1693005227953,"actionContext":null,"stateMachineContext":null,"stateDate":1693005166320,"status":"IDLE","stateMachineDetails":{"uid":"ea5844be-fed6-4fd1-a056-918f1f3b9183","priority":"ON_DEMAND","identifier":"fmceDeleteFtdcStateMachine","lastActiveDate":1693005165673,"stateMachineType":"WRITE","lastStep":"com.cisco.lockhart.target.statemachine.DeviceStateMachineSetErrorAfterHook","lastError":null,"currentDataRequirements":null,"stateMachineInstanceCondition":"DONE"},"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"serverVersion":"7.3.1-build 6035","geoVersion":"None","vdbVersion":"build 369 ( 2023-07-31 16:37:40 )","sruVersion":"2023-08-23-001-vrt","upgradeStarted":false,"certificate":null,"cloudEvents":["{\"id\":\"c64d2a4c-a194-11e8-bad0-eb6719b10fdb\",\"type\":\"CloudEventsConfig\",\"links\":{\"self\":\"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/integration/cloudeventsconfigs/c64d2a4c-a194-11e8-bad0-eb6719b10fdb\"},\"sendIntrusionEvents\":true,\"sendFileEvents\":true,\"sendConnectionEvents\":true,\"sendAllConnectionEvents\":false}"],"domainUid":"e276abec-e0f2-11e3-8169-6d9ed49b625f","smartLicenseStatus":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"activeFmcPublicIPAddressOrFQDN":null,"activeFmcGuid":null,"s2SVpnPolicyInfoList":null,"accessPolicies":[],"domainReferences":[],"fmcSettings":{"discoverObjects":false,"manageNetworkObjects":false,"objectSyncMode":"MANUAL_SYNC"},"hasChildDomains":false,"partOfHa":false,"state":"DONE","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=PUT, header=map[], queryParams=map[] + + +encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc + + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] +2023/08/26 00:13:52 [RETRY] attempt=1/3 + + +encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc + + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] +2023/08/26 00:13:52 [RETRY] failed +2023/08/26 00:13:55 [RETRY] attempt=2/3 + + +encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc + + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] +2023/08/26 00:13:56 [RETRY] failed +2023/08/26 00:13:59 [RETRY] attempt=3/3 + + +encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc + + + +success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] +2023/08/26 00:13:59 [RETRY] failed +2023-08-26T00:13:59.518+0100 [DEBUG] sdk.framework: Called provider defined Resource Delete: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 +2023-08-26T00:13:59.518+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 tf_req_duration_ms=12772 diagnostic_error_count=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 +2023-08-26T00:13:59.518+0100 [ERROR] sdk.proto: Response contains error diagnostic: tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange diagnostic_detail="max retry reached, retries=3, time taken=10.702676042s, accumulated errors=%!w()" diagnostic_severity=ERROR diagnostic_summary="failed to delete FTD resource" +2023-08-26T00:13:59.518+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device +2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Called Terraform CLI destroy command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 +2023-08-26T00:13:59.529+0100 [WARN] sdk.helper_resource: Error running Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform + error= + | exit status 1 + | + | Error: failed to delete FTD resource + | + | max retry reached, retries=3, time taken=10.702676042s, accumulated + | errors=%!w() + test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 +2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:59.529+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform +2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource +2023-08-26T00:13:59.529+0100 [ERROR] sdk.helper_resource: Error running post-test destroy, there may be dangling resources: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 + error= + | exit status 1 + | + | Error: failed to delete FTD resource + | + | max retry reached, retries=3, time taken=10.702676042s, accumulated + | errors=%!w() + +--- FAIL: TestAccFtdResource (18.72s) + testing_new.go:88: Error running post-test destroy, there may be dangling resources: exit status 1 + + Error: failed to delete FTD resource + + max retry reached, retries=3, time taken=10.702676042s, accumulated + errors=%!w() +FAIL +FAIL github.com/CiscoDevnet/terraform-provider-cdo/internal/device/ftd 19.283s +ok github.com/CiscoDevnet/terraform-provider-cdo/internal/device/ios 0.747s [no tests to run] +ok github.com/CiscoDevnet/terraform-provider-cdo/internal/provider 1.278s [no tests to run] +ok github.com/CiscoDevnet/terraform-provider-cdo/validators 0.328s [no tests to run] +FAIL From 623ef46b74d48c8c259d31f1bc73da81b2813c0a Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 00:18:25 +0100 Subject: [PATCH 16/31] remove temp files --- provider/temp.txt | 1786 --------------------------------------------- 1 file changed, 1786 deletions(-) delete mode 100644 provider/temp.txt diff --git a/provider/temp.txt b/provider/temp.txt deleted file mode 100644 index d0f73c26..00000000 --- a/provider/temp.txt +++ /dev/null @@ -1,1786 +0,0 @@ -? github.com/CiscoDevnet/terraform-provider-cdo [no test files] -? github.com/CiscoDevnet/terraform-provider-cdo/internal/acctest [no test files] -? github.com/CiscoDevnet/terraform-provider-cdo/internal/util [no test files] -? github.com/CiscoDevnet/terraform-provider-cdo/internal/util/sliceutil [no test files] -ok github.com/CiscoDevnet/terraform-provider-cdo/internal/connector 1.139s [no tests to run] -ok github.com/CiscoDevnet/terraform-provider-cdo/internal/device/asa 0.942s [no tests to run] -2023-08-26T00:13:40.808+0100 [TRACE] sdk.helper_resource: Validating TestCase: test_name=TestAccFtdResource -2023-08-26T00:13:40.808+0100 [TRACE] sdk.helper_resource: Validating TestStep: test_name=TestAccFtdResource test_step_number=1 -2023-08-26T00:13:40.808+0100 [DEBUG] sdk.helper_resource: Starting TestCase: test_name=TestAccFtdResource -2023-08-26T00:13:40.808+0100 [DEBUG] sdk.helper_resource: Calling TestCase PreCheck: test_name=TestAccFtdResource -2023-08-26T00:13:40.808+0100 [DEBUG] sdk.helper_resource: Called TestCase PreCheck: test_name=TestAccFtdResource -2023-08-26T00:13:40.809+0100 [TRACE] sdk.helper_resource: Adding potential Terraform CLI source of local filesystem PATH lookup: test_name=TestAccFtdResource -2023-08-26T00:13:40.809+0100 [TRACE] sdk.helper_resource: Adding potential Terraform CLI source of checkpoint.hashicorp.com latest version for installation in: /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest-terraform218742143: test_name=TestAccFtdResource -2023-08-26T00:13:40.809+0100 [DEBUG] sdk.helper_resource: Found Terraform CLI: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:40.941+0100 [TRACE] sdk.helper_resource: Symlinking source directories to work directory: test_name=TestAccFtdResource test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157/work3010246833 -2023-08-26T00:13:40.981+0100 [TRACE] sdk.helper_resource: Setting Terraform configuration: test_terraform_configuration="" test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_name=TestAccFtdResource -2023-08-26T00:13:40.981+0100 [TRACE] sdk.helper_resource: Clearing Terraform plan: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_name=TestAccFtdResource -2023-08-26T00:13:40.981+0100 [TRACE] sdk.helper_resource: No Terraform plan to clear: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:40.981+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:40.981+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:40.981+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:40.982+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:40.982+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1965259856}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1965259856}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:40.982+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:40.982+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI init command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Called Terraform CLI init command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.023+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.023+0100 [DEBUG] sdk.helper_resource: Starting TestSteps: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.023+0100 [DEBUG] sdk.helper_resource: Starting TestStep: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:41.023+0100 [TRACE] sdk.helper_resource: TestStep is Config mode: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Setting Terraform configuration: - test_terraform_configuration= - | - | \tprovider "cdo" { - | \t\tapi_token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ" - | \t\tbase_url = "https://ci.dev.lockhart.io" - | \t} - | \t// New line - | \t - | resource "cdo_ftd_device" "test" { - | \tname = "ci-test-ftd-9" - | \taccess_policy_name = "Default Access Control Policy" - | \tperformance_tier = "FTDv5" - | \tvirtual = "false" - | \tlicenses = ["BASE"] - | } - test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Clearing Terraform plan: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: No Terraform plan to clear: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.024+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3981094396}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3981094396}}]" -2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.024+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI refresh command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.073+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.073+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_ios_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.073+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.073+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.073+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 diagnostic_error_count=0 -2023-08-26T00:13:41.074+0100 [TRACE] sdk.proto: Served request: tf_req_id=9700047f-492c-5d96-2bbe-25f676cf9cf9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Received request: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.076+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.076+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.076+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.076+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a tf_rpc=GetProviderSchema -2023-08-26T00:13:41.076+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=44e72fe7-e597-f563-2410-6425e38d2a8a -2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e -2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e -2023-08-26T00:13:41.077+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e -2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_attribute_path=api_token tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=base_url tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:41.077+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_attribute_path=base_url -2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 -2023-08-26T00:13:41.077+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=65df6e69-2134-4fe5-ed0d-a502fa8b4c4e tf_proto_version=6.3 -2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Received request: tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 -2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 -2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 -2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.078+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.078+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_rpc=ValidateResourceConfig tf_attribute_path=licenses -2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.078+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=0adcb638-aff3-701d-8bb8-1c2e39983975 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.079+0100 [TRACE] sdk.proto: Received request: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.079+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.079+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 -2023-08-26T00:13:41.079+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_resource_type=cdo_sdc -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.079+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.079+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema diagnostic_error_count=0 -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_req_id=95fc6d30-04c3-64c0-fd7d-f88fed0a59c7 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received request: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.080+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token -2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url -2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1bacd9a2-c6f6-9aa2-62d8-f00a6e134bb3 tf_proto_version=6.3 -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received request: tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider -2023-08-26T00:13:41.080+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 -2023-08-26T00:13:41.080+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:41.080+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_req_id=444ff5b3-0ff7-3a8e-a8ee-d33c7bf27c18 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.081+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.081+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.081+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses -2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Served request: tf_req_id=9aac3e9b-ff9a-4122-27f2-aaa2b5c95d46 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_proto_version=6.3 -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"access_policy_name\")" -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"generated_command\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"id\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"licenses\").ElementKeyInt(0)" -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"licenses\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"name\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"performance_tier\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"virtual\")" tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"access_policy_id\")" -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: At least one Computed null Config value was changed to unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_attribute_path=licenses description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=id description="Once set, the value of this attribute in state will not change." -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: description="Once set, the value of this attribute in state will not change." tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=id -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=virtual -2023-08-26T00:13:41.082+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_resource_type=cdo_ftd_device tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.082+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_req_id=8c77bf8e-1a9e-78dc-977a-e27f141a9a10 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.090+0100 [TRACE] sdk.helper_resource: Called Terraform CLI refresh command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.090+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.090+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.090+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.092+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Running Terraform CLI plan and apply: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.092+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.093+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource -2023-08-26T00:13:41.093+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2760239878}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2760239878}}]" -2023-08-26T00:13:41.093+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.093+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI plan command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.137+0100 [TRACE] sdk.proto: Received request: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.137+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 -2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 -2023-08-26T00:13:41.137+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 -2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.137+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.137+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=c572d891-ad3e-30d5-2cdf-ca941deba006 -2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 -2023-08-26T00:13:41.138+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.138+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 -2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Served request: tf_req_id=5c3b896b-1d05-b9ba-3f85-a8b3bb901f63 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received request: tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=459d3797-26f3-e486-09a7-949784a0fb36 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 -2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.139+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_attribute_path=licenses -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_attribute_path=licenses -2023-08-26T00:13:41.139+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.139+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=27380202-7303-0e83-6afc-5f28ddf81790 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=fb317315-233e-42dd-8334-be59b5f7aab8 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig tf_proto_version=6.3 -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.140+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_attribute_path=api_token -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b -2023-08-26T00:13:41.140+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.140+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d0cc6a45-7959-b896-d8b8-f2834cc5196b tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received request: tf_rpc=ConfigureProvider tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=73231688-8700-48c8-9083-4b1f64321976 -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_id=73231688-8700-48c8-9083-4b1f64321976 -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Served request: tf_req_id=73231688-8700-48c8-9083-4b1f64321976 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received request: tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateResourceConfig tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_rpc=ValidateResourceConfig tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_req_id=4bd40357-993a-5c6b-80da-c9b16f26ffd1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 -2023-08-26T00:13:41.141+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"licenses\").ElementKeyInt(0)" -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"licenses\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"name\")" -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"performance_tier\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"virtual\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"access_policy_id\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"access_policy_name\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path="AttributeName(\"generated_command\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"id\")" tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: At least one Computed null Config value was changed to unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 description="Once set, the value of this attribute in state will not change." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=id -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_attribute_path=id tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange description="Once set, the value of this attribute in state will not change." -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=access_policy_name tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_attribute_path=access_policy_name -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=performance_tier tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_attribute_path=virtual -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_attribute_path=virtual tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_rpc=PlanResourceChange -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses -2023-08-26T00:13:41.141+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 -2023-08-26T00:13:41.141+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_attribute_path=licenses -2023-08-26T00:13:41.142+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.142+0100 [TRACE] sdk.proto: Served request: tf_req_id=2fed4c0a-4e46-aa61-d657-33fd49c449e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.145+0100 [TRACE] sdk.helper_resource: Called Terraform CLI plan command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.145+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for stdout plan: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Received request: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 -2023-08-26T00:13:41.201+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.201+0100 [TRACE] sdk.proto: Served request: tf_req_id=eac15207-6524-8728-e81b-0092ce501496 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for stdout plan: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Created plan with changes: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 - test_terraform_plan= - | - | Terraform used the selected providers to generate the following execution - | plan. Resource actions are indicated with the following symbols: - | + create - | - | Terraform will perform the following actions: - | - | # cdo_ftd_device.test will be created - | + resource "cdo_ftd_device" "test" { - | + access_policy_id = (known after apply) - | + access_policy_name = "Default Access Control Policy" - | + generated_command = (known after apply) - | + id = (known after apply) - | + licenses = [ - | + "BASE", - | ] - | + name = "ci-test-ftd-9" - | + performance_tier = "FTDv5" - | + virtual = false - | } - | - | Plan: 1 to add, 0 to change, 0 to destroy. - -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:41.203+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3864693553}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3864693553}}]" -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.203+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON state: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 -2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.243+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.243+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:41.243+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=20756fc1-e56f-66d9-a1db-e70d78a47d07 tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for JSON state: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.244+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.244+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.245+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.245+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin466862817}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin466862817}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:41.245+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:41.245+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI apply command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.288+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.288+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.288+0100 [TRACE] sdk.proto: Served request: tf_req_id=b5a6d048-a846-1e65-9baf-51fe5d1b4f66 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_proto_version=6.3 -2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_proto_version=6.3 -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.289+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.289+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 -2023-08-26T00:13:41.289+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=56b69927-8aeb-db6b-687f-a8c12c2a6aef tf_proto_version=6.3 -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received request: tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.290+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received downstream response: tf_req_duration_ms=0 diagnostic_error_count=0 tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_warning_count=0 -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_req_id=f3001b53-22d0-2d62-a61d-3e77a1bf7346 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:41.290+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 -2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_rpc=ConfigureProvider -2023-08-26T00:13:41.290+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 -2023-08-26T00:13:41.290+0100 [TRACE] sdk.proto: Served request: tf_req_id=0f5ebf1d-cc77-2484-2741-40b6952810e4 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_attribute_path=licenses tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_attribute_path=licenses tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=ef2da230-54ec-61ba-6f93-5bf855e9b3ed tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"performance_tier\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"virtual\")" -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"access_policy_id\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"access_policy_name\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"generated_command\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: marking computed attribute that is null in the config as unknown: tf_attribute_path="AttributeName(\"id\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"licenses\").ElementKeyInt(0)" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device tf_attribute_path="AttributeName(\"licenses\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Attribute/block not null in configuration, not marking unknown: tf_attribute_path="AttributeName(\"name\")" tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: At least one Computed null Config value was changed to unknown: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=id tf_rpc=PlanResourceChange description="Once set, the value of this attribute in state will not change." -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=id -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_attribute_path=virtual tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_rpc=PlanResourceChange tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_attribute_path=licenses -2023-08-26T00:13:41.291+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a -2023-08-26T00:13:41.291+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.291+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=2e3bc7b2-4bf1-9762-31d4-939e041f549a tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.292+0100 [TRACE] sdk.proto: Received request: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.292+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:41.292+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.292+0100 [TRACE] sdk.framework: ApplyResourceChange received no PriorState, running CreateResource: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.292+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange -2023-08-26T00:13:41.292+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:41.292+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:41.292+0100 [DEBUG] sdk.framework: Calling provider defined Resource Create: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange -2023-08-26T00:13:41.292+0100 [TRACE] cdo: create FTD resource: tf_rpc=ApplyResourceChange tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023/08/26 00:13:41 creating ftdc -2023/08/26 00:13:41 reading cdFMC - - -encoded_query=q=deviceType%3AFMCE - - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=deviceType:FMCE, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","name":"FMC","namespace":"targets","type":"devices","version":1,"createdDate":1692631774903,"lastUpdatedDate":1693004741032,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":null,"sseEnabled":true,"deviceRole":"ANYCONNECT_VPN_HEAD_END","sseDeviceRegistrationToken":{"status":"Registered","token":"58be3ec59e1d1254340d3a6688dddd9f","expiry":1700407799},"sseDeviceSerialNumberRegistration":null,"sseDeviceData":{"sseDeviceId":"eec8079f-bf13-4d84-8f62-d17f52672c81","sseProtocolVersion":"ONE"},"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":"terraform-provider-cdo.app.staging.cdo.cisco.com:443","interfaces":null,"deviceActivity":{"activityType":null,"activityResult":"FAILURE","additionalInfo":{"errorMsg":["Invalid session."]}},"serial":null,"chassisSerial":null,"softwareVersion":"7.3.1-build 6035","connectivityState":1,"connectivityError":null,"ignoreCertificate":true,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":true,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FMCE","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{"ON_DEMAND":null,"SCHEDULED":null},"logs":null,"notes":null,"metadata":null,"customData":null,"configurationReference":null,"oobCheckInterval":"OOB_10_MINUTES","larUid":null,"larType":"CDG","lastDeployTimestamp":0,"port":"443","host":"terraform-provider-cdo.app.staging.cdo.cisco.com","loggingEnabled":false,"liveAsaDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] - - -encoded_query=limit=1000 - - - -success: url=https://ci.dev.lockhart.io/fmc/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?limit=1000, code=200, status=200 OK, body={"links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?offset=0&limit=1000"},"items":[{"type":"AccessPolicy","links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies/06AE8B8C-5F91-0ed3-0000-004294967346"},"name":"Default Access Control Policy","id":"06AE8B8C-5F91-0ed3-0000-004294967346"}],"paging":{"offset":0,"limit":1000,"count":1,"pages":1}}, readBodyErr=%!s(), method=GET, header=map[Fmc-Hostname:[terraform-provider-cdo.app.staging.cdo.cisco.com]], queryParams=map[] - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005223441,"actionContext":{"modifiedFieldsAndNewValues":{},"deletedObject":null,"preUpdateObject":null,"businessFlow":"BF_FTDC","transactionStatusUid":null,"actionOrigin":"REST_API","saveRealOperation":"CREATE","modifiedFields":[]},"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":-5,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=POST, header=map[], queryParams=map[] -2023/08/26 00:13:43 reading specific device - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/device/5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47/specific-device, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"80bfeba4-d791-4dd7-923f-239a43f223ec","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1693005223704,"lastUpdatedDate":1693005223704,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"filepolicy":{},"mgmtaccesshttpobject":{},"sgtgroup":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"ikev2Policy":{},"anyconnectprofiles":{},"embeddedappfilter":{},"url_feed":{},"country":{},"ikev2Proposal":{},"urlobject":{},"intrusionpolicy":{},"specialuser":{},"intrusion_policy":{},"ipsUpdateSchedule":{},"serviceudpobject":{},"ipspolicy":{},"cloudeventssettings":{},"applicationfilter":{},"internalcertificate":{},"dnsgroupobject":{},"devlogobject":{},"manualnatrulecontainer":{},"realmsequence":{},"localidentitysources":{},"devicesettings_managementaccess":{},"applicationcategory":{},"serviceobjectgroup":{},"devicesettings_cloudconfig":{},"application":{},"applicationtag":{},"duoldapidentitysource":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"securityzone":{},"ikev1Policy":{},"continent":{},"mgmtaccesssshobject":{},"dummyTypeWithUnsupportedVersion":{},"serviceicmpv4object":{},"specialrealms":{},"dnsobject":{},"networkobjectgroup":{},"syslogserver":{},"radiusidentitysourcegroup":{},"urlcategory":{},"cloudconfig":{},"servicetcpobject":{},"ntpobject":{},"dhcpobject":{},"mgmtdnssettings":{},"ikev1Proposal":{},"hostnameobject":{},"serviceprotocolobject":{},"ravpn":{},"samlserver":{},"objectnatrulecontainer":{},"internalcacertificate":{},"radiusidentitysource":{},"serviceicmpv6object":{},"mgmtaccesshttpsdataport":{},"geolocation":{},"identityservicesengine":{},"externalcacertificate":{},"physical_interface":{},"mgmtaccessdataobject":{},"staticrouteentry":{},"ravpnconnectionprofile":{},"urlrepuation":{},"networkobject":{},"cloudservicesinfo":{},"network_feed":{},"webanalyticssettings":{},"successnetworksettings":{},"ravpngrouppolicy":{},"securitygrouptag":{},"datadnssettings":{},"activedirectoryrealms":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":null,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/80bfeba4-d791-4dd7-923f-239a43f223ec, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"80bfeba4-d791-4dd7-923f-239a43f223ec","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1693005223704,"lastUpdatedDate":1693005224501,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"filepolicy":{},"mgmtaccesshttpobject":{},"sgtgroup":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"ikev2Policy":{},"anyconnectprofiles":{},"embeddedappfilter":{},"url_feed":{},"country":{},"ikev2Proposal":{},"urlobject":{},"intrusionpolicy":{},"specialuser":{},"intrusion_policy":{},"ipsUpdateSchedule":{},"serviceudpobject":{},"ipspolicy":{},"cloudeventssettings":{},"applicationfilter":{},"internalcertificate":{},"dnsgroupobject":{},"devlogobject":{},"manualnatrulecontainer":{},"realmsequence":{},"localidentitysources":{},"devicesettings_managementaccess":{},"applicationcategory":{},"serviceobjectgroup":{},"devicesettings_cloudconfig":{},"application":{},"applicationtag":{},"duoldapidentitysource":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"securityzone":{},"ikev1Policy":{},"continent":{},"mgmtaccesssshobject":{},"dummyTypeWithUnsupportedVersion":{},"serviceicmpv4object":{},"specialrealms":{},"dnsobject":{},"networkobjectgroup":{},"syslogserver":{},"radiusidentitysourcegroup":{},"urlcategory":{},"cloudconfig":{},"servicetcpobject":{},"ntpobject":{},"dhcpobject":{},"mgmtdnssettings":{},"ikev1Proposal":{},"hostnameobject":{},"serviceprotocolobject":{},"ravpn":{},"samlserver":{},"objectnatrulecontainer":{},"internalcacertificate":{},"radiusidentitysource":{},"serviceicmpv6object":{},"mgmtaccesshttpsdataport":{},"geolocation":{},"identityservicesengine":{},"externalcacertificate":{},"physical_interface":{},"mgmtaccessdataobject":{},"staticrouteentry":{},"ravpnconnectionprofile":{},"urlrepuation":{},"networkobject":{},"cloudservicesinfo":{},"network_feed":{},"webanalyticssettings":{},"successnetworksettings":{},"ravpngrouppolicy":{},"securitygrouptag":{},"datadnssettings":{},"activedirectoryrealms":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":null,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=PUT, header=map[], queryParams=map[] - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005225499,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null,"generatedCommand":"configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com","regKey":"ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb","natID":"5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy","cloudManagerDomain":"terraform-provider-cdo.app.staging.cdo.cisco.com"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] -2023/08/26 00:13:45 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 terraform-provider-cdo.app.staging.cdo.cisco.com configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com [BASE] 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy %!s(*tier.Type=) ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb} - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005225499,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null,"generatedCommand":"configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com","regKey":"ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb","natID":"5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy","cloudManagerDomain":"terraform-provider-cdo.app.staging.cdo.cisco.com"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] -2023-08-26T00:13:46.145+0100 [TRACE] cdo: create FTD resource done: tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.145+0100 [DEBUG] sdk.framework: Called provider defined Resource Create: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.145+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=name tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.145+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_attribute_path=access_policy_name tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=virtual tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.146+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.146+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_rpc=ApplyResourceChange tf_attribute_path=licenses[0] tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.146+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_attribute_path=licenses -2023-08-26T00:13:46.146+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_duration_ms=4853 diagnostic_error_count=0 -2023-08-26T00:13:46.146+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d3d2c5d9-5898-113c-3061-9eed6aa43d95 -2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Called Terraform CLI apply command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.158+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1097299922}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1097299922}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.158+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON state: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Received request: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.205+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.205+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.205+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_req_id=111caa1d-866a-4ba5-70a6-873ca8f917f8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for JSON state: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.206+0100 [TRACE] sdk.helper_resource: Using TestStep Check: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Running Terraform CLI plan to check for perpetual differences: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.206+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.207+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.207+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin810552156}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin810552156}}]" -2023-08-26T00:13:46.207+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.207+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI plan command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Received request: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_sdc -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_sdc -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.248+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.248+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 -2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 -2023-08-26T00:13:46.248+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=764a1854-1a86-809a-c6c3-f02e0233ade0 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Received request: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_resource_type=cdo_sdc -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=ff883a9a-55bc-bce8-3223-da87cdac93ce tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=87665818-830d-af19-b751-dd0039fe3469 -2023-08-26T00:13:46.249+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=87665818-830d-af19-b751-dd0039fe3469 -2023-08-26T00:13:46.249+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=87665818-830d-af19-b751-dd0039fe3469 -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token tf_rpc=ValidateProviderConfig description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=87665818-830d-af19-b751-dd0039fe3469 -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 -2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=87665818-830d-af19-b751-dd0039fe3469 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e -2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e -2023-08-26T00:13:46.250+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_attribute_path=licenses -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.250+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.250+0100 [TRACE] sdk.proto: Served request: tf_req_id=c4708bf1-39d6-eeb7-40a3-02ef84cc521e tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 -2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_sdc -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Served request: tf_req_id=50deb4a1-ee2b-f7c2-69fa-3d8119e43ce8 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=5df1853b-632f-096c-6161-6fbd9d1a8df6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 -2023-08-26T00:13:46.251+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ConfigureProvider diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Served request: tf_req_id=fc5ead7c-f2fa-eff8-b447-4ddaaf2d5eb0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_proto_version=6.3 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.251+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.251+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 -2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=UpgradeResourceState tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 -2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_req_id=e91f5d70-c4af-1285-907e-3850758d0b82 tf_proto_version=6.3 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.252+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.252+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 -2023-08-26T00:13:46.252+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.252+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses -2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 -2023-08-26T00:13:46.252+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=c576a3f5-3508-e05e-265b-836d4dba8153 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_attribute_path=virtual tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_attribute_path=virtual -2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_attribute_path=licenses tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.253+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: description="Once set, the value of this attribute in state will not change." tf_resource_type=cdo_ftd_device tf_attribute_path=id tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=id description="Once set, the value of this attribute in state will not change." tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_attribute_path=access_policy_name tf_resource_type=cdo_ftd_device tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 -2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.253+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_proto_version=6.3 tf_req_id=9c5775b2-08cb-d619-14fd-1968cb377826 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Called Terraform CLI plan command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Created plan with no changes: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.255+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource -2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.255+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.256+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.256+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1779363455}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1779363455}}]" test_name=TestAccFtdResource -2023-08-26T00:13:46.256+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.256+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Received request: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.295+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.295+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=3b0b8456-7aaa-9f4a-d8e9-fd432d198055 -2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.297+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource -2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3297982337}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3297982337}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.297+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI refresh command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.338+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.338+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df -2023-08-26T00:13:46.338+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df tf_rpc=GetProviderSchema diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=1241f051-5a60-8aef-0bcd-d52a6c0099df -2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 -2023-08-26T00:13:46.339+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.339+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 -2023-08-26T00:13:46.339+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.339+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.339+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema diagnostic_error_count=0 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=9f304736-8c51-9f67-22b7-40e225ff06c6 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received request: tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_attribute_path=api_token -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Served request: tf_req_id=11969795-5e28-6e25-a5dc-d53de8bd8ff9 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.340+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.340+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=d0d1b1c2-3410-993b-e8ca-aa8aa633cc17 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=d3cfeeb3-2d65-e43a-1b1d-8ba1772cafe9 -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received request: tf_rpc=ValidateProviderConfig tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateProviderConfig tf_req_id=1906a50b-7d5a-c347-3df6-78bfc53b165d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Received request: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:46.341+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:46.341+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 -2023-08-26T00:13:46.341+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Served request: tf_req_id=f90d2692-83a8-fc33-7dc9-40635534d221 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 -2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_resource_type=cdo_ftd_device tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Served request: tf_req_id=8a58ef99-49a8-6cb3-9a07-9e393a54f929 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c -2023-08-26T00:13:46.342+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.342+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c -2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource -2023-08-26T00:13:46.342+0100 [DEBUG] sdk.framework: Calling provider defined Resource Read: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.342+0100 [TRACE] cdo: read FTD resource: tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo - - -encoded_query=q=name%3Aci-test-ftd-9+AND+deviceType%3AFTDC - - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=name:ci-test-ftd-9+AND+deviceType:FTDC, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"5a12d69e-c5f5-4f9f-a03f-9ba3124b7f47","name":"ci-test-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1693005223441,"lastUpdatedDate":1693005225499,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":null,"generatedCommand":"configure manager add terraform-provider-cdo.app.staging.cdo.cisco.com ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb 5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy terraform-provider-cdo.app.staging.cdo.cisco.com","regKey":"ywC3G3SaRqlIcBQcRGiEFDf4YSEo9TCb","natID":"5XwyhcZfEGRT3pPJ0GuE1ZzgK3Y3b8hy","cloudManagerDomain":"terraform-provider-cdo.app.staging.cdo.cisco.com"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] -2023-08-26T00:13:46.550+0100 [TRACE] cdo: read FTD resource done: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource -2023-08-26T00:13:46.550+0100 [DEBUG] sdk.framework: Called provider defined Resource Read: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource -2023-08-26T00:13:46.550+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.550+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.552+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=licenses[0] -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=licenses -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=generated_command tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=access_policy_id -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=id tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_attribute_path=name tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=access_policy_name tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c -2023-08-26T00:13:46.552+0100 [DEBUG] sdk.framework: Value switched to prior value due to semantic equality logic: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_attribute_path=virtual -2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=210 tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device diagnostic_error_count=0 -2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ReadResource tf_resource_type=cdo_ftd_device tf_req_id=78d7f811-7c65-08ed-654c-9280c3df7f6c tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Received request: tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.553+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.553+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.553+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.553+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 -2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_attribute_path=licenses -2023-08-26T00:13:46.553+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Served request: tf_req_id=539d58a9-660c-4b5c-9cc1-f819c5335938 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Received request: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 -2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=id tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 description="Once set, the value of this attribute in state will not change." -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_attribute_path=id tf_rpc=PlanResourceChange description="Once set, the value of this attribute in state will not change." -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=access_policy_name -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=access_policy_name tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_attribute_path=virtual description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 -2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_attribute_path=licenses description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.554+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses -2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 -2023-08-26T00:13:46.554+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device tf_req_id=d49f9d47-8e96-2216-73c3-1c020d3c97c1 -2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Called Terraform CLI refresh command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.560+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2254696630}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2254696630}}]" test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.560+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI plan command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.606+0100 [TRACE] sdk.proto: Received request: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.606+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.606+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_sdc tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Served request: tf_req_id=e9f5299c-b2b8-00ab-c291-9a3fb6f7e5aa tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 -2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.607+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 -2023-08-26T00:13:46.607+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 tf_rpc=GetProviderSchema diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Served request: tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=e106ea56-0a64-0a14-40fa-de8ccee59694 -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_proto_version=6.3 -2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url tf_rpc=ValidateProviderConfig tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=api_token -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Served request: tf_req_id=1e59d591-2e19-7efa-06a7-3172d58d8791 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_proto_version=6.3 -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received request: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 -2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.608+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.608+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_attribute_path=licenses tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.608+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=1a71e9c7-f58a-805c-18fd-f5878062b951 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateResourceConfig -2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Received request: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.609+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.609+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.609+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.609+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Received downstream response: tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 -2023-08-26T00:13:46.609+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=5382191e-40d0-bc80-f81a-a82e882b64e6 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 -2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 -2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_id=2d8260ca-a006-546f-a07d-92e5dd156374 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_proto_version=6.3 -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.610+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_rpc=ConfigureProvider tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=ConfigureProvider tf_proto_version=6.3 tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Served request: tf_req_id=02b2953c-a797-be68-57d8-6d75a6f2d126 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_proto_version=6.3 -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.610+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_req_id=0bfd7449-b2bd-9a91-4aba-d2258cee9c9f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.610+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Received downstream response: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad -2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateResourceConfig tf_req_id=5875a19d-39d3-a1e8-884d-6f6f682e16ad tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 -2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.Bool: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=virtual -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.Bool: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=virtual tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.List: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses tf_resource_type=cdo_ftd_device description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.List: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=licenses tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_attribute_path=licenses -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=PlanResourceChange tf_attribute_path=licenses tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_attribute_path=id tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=id description="Once set, the value of this attribute in state will not change." -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=access_policy_name description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 -2023-08-26T00:13:46.611+0100 [DEBUG] sdk.framework: Called provider defined planmodifier.String: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=performance_tier description="If the value of this attribute changes, Terraform will destroy and recreate the resource." -2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_rpc=PlanResourceChange tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_req_duration_ms=0 diagnostic_error_count=0 -2023-08-26T00:13:46.611+0100 [TRACE] sdk.proto: Served request: tf_req_id=f94b4033-2f70-f673-c597-71bc154db9e3 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Called Terraform CLI plan command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Created plan with no changes: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.613+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1395187142}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1395187142}}]" -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.613+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_resource_type=cdo_sdc -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_sdc tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found data source type: tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.652+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.652+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Received downstream response: tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_rpc=GetProviderSchema tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.652+0100 [TRACE] sdk.proto: Served request: tf_req_id=90f80624-17c6-b76a-775b-a8206a66d4e1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON plan: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Finished TestStep: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.654+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin4193879916}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin4193879916}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.654+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI show command for JSON state: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d -2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_resource_type=cdo_sdc tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_sdc tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.695+0100 [TRACE] sdk.framework: Found data source type: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.695+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.695+0100 [TRACE] sdk.proto: Served request: tf_req_id=a6af1d58-01fc-d5c8-6592-4c7d4ebc148d tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Called Terraform CLI show command for JSON state: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Creating tfprotov6 provider instance: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource -2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Created tfprotov6 provider instance: test_step_number=1 test_name=TestAccFtdResource tf_provider_addr=registry.terraform.io/hashicorp/cdo test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Starting tfprotov6 provider instance server: tf_provider_addr=registry.terraform.io/hashicorp/cdo test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:46.697+0100 [DEBUG] sdk.helper_resource: Started tfprotov6 provider instance server: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Setting Terraform CLI reattach configuration: test_step_number=1 tf_reattach_config="map[registry.terraform.io/-/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3822729752}} registry.terraform.io/hashicorp/cdo:{grpc 6 39785 true {unix /var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3822729752}}]" test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Calling wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:46.697+0100 [TRACE] sdk.helper_resource: Calling Terraform CLI destroy command: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider Resources: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider Resources: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found resource type: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_resource_type=cdo_sdc -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined Provider DataSources: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found data source type: tf_data_source_type=cdo_asa_device tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.739+0100 [TRACE] sdk.framework: Found data source type: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.739+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.739+0100 [TRACE] sdk.proto: Served request: tf_req_id=56675004-dba4-5823-b144-fd7c71c9ed72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.740+0100 [TRACE] sdk.proto: Received request: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.740+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 -2023-08-26T00:13:46.740+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.740+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ios_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.740+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.740+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.740+0100 [TRACE] sdk.proto: Received downstream response: tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema tf_req_id=9d3c6438-7b65-6bf5-66ad-c02f93024d72 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received request: tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_attribute_path=base_url tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_duration_ms=0 diagnostic_error_count=0 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_id=25feb6d7-4acc-f4fd-7423-b157d0734b00 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received request: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Sending request downstream: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.framework: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Calling provider defined Type Validate: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses -2023-08-26T00:13:46.741+0100 [DEBUG] sdk.framework: Called provider defined Type Validate: tf_rpc=ValidateResourceConfig tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 -2023-08-26T00:13:46.741+0100 [TRACE] sdk.proto: Served request: tf_rpc=ValidateResourceConfig tf_req_id=a0d29d32-2ca2-529d-1f4b-3453c657cc97 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received request: tf_rpc=GetProviderSchema tf_proto_version=6.3 tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b -2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_sdc -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_resource_type=cdo_ios_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Served request: tf_req_id=685b3789-3dbf-176c-1efd-bd6528565d2b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_proto_version=6.3 -2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received request: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.742+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined validator.String: description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" tf_rpc=ValidateProviderConfig tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.742+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.742+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_warning_count=0 tf_rpc=ValidateProviderConfig tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_req_id=a7ade00e-aea5-3abf-3feb-75ba179e05c2 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received request: tf_rpc=ConfigureProvider tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_rpc=ConfigureProvider tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ConfigureProvider -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_rpc=ConfigureProvider tf_req_id=cab02993-29e8-e36e-eafc-5b55d9db258c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received request: tf_rpc=UpgradeResourceState tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Sending request downstream: tf_rpc=UpgradeResourceState tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_resource_type=cdo_ftd_device tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received downstream response: tf_resource_type=cdo_ftd_device diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_rpc=UpgradeResourceState tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_req_id=ed1bad78-a910-31f3-14c6-7920b441fe5f tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 -2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.743+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange -2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.743+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.743+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=f93bbafe-5319-6c2f-1e92-dd663db07b3c -2023-08-26T00:13:46.744+0100 [TRACE] sdk.proto: Received request: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.744+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Provider Metadata: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.744+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema -2023-08-26T00:13:46.744+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_sdc -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_asa_device -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_resource_type=cdo_asa_device tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_resource_type=cdo_ios_device -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined Resource Schema method: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 -2023-08-26T00:13:46.744+0100 [TRACE] sdk.framework: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_sdc -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.744+0100 [DEBUG] sdk.framework: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=GetProviderSchema tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_data_source_type=cdo_ios_device -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Served request: tf_req_id=ad7579b9-9d24-cbbe-ec4a-f0136e1c7607 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=GetProviderSchema -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received request: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Sending request downstream: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.745+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 -2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" -2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo description="The user must be assigned one of the following CDO roles: [\"\\"ROLE_SUPER_ADMIN\\"\" \"\\"ROLE_ADMIN\\"\"]" tf_attribute_path=api_token tf_rpc=ValidateProviderConfig tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 -2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Called provider defined validator.String: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ValidateProviderConfig tf_attribute_path=base_url description="value must be one of: [\"\\"https://www.defenseorchestrator.com\\"\" \"\\"https://www.defenseorchestrator.eu\\"\" \"\\"https://apj.cdo.cisco.com\\"\" \"\\"https://staging.dev.lockhart.io\\"\" \"\\"https://ci.dev.lockhart.io\\"\" \"\\"https://scale.dev.lockhart.io\\"\"]" -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Served request: tf_req_id=7e309f2b-c50c-0a22-7e9f-1fdf7b183c80 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_proto_version=6.3 tf_rpc=ValidateProviderConfig -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.745+0100 [TRACE] sdk.proto: Sending request downstream: tf_proto_version=6.3 tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.745+0100 [TRACE] sdk.framework: Checking ProviderSchema lock: tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.745+0100 [DEBUG] sdk.framework: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_req_id=0466a775-2649-aafb-8500-05207f18330b -2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Called provider defined Provider Configure: tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received downstream response: tf_proto_version=6.3 tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider diagnostic_warning_count=0 tf_req_duration_ms=0 diagnostic_error_count=0 -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Served request: tf_req_id=0466a775-2649-aafb-8500-05207f18330b tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ConfigureProvider tf_proto_version=6.3 -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received request: tf_proto_version=6.3 tf_rpc=UpgradeResourceState tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_proto_version=6.3 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f -2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: UpgradeResourceState request version matches current Schema version, using framework defined passthrough implementation: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=UpgradeResourceState tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received downstream response: diagnostic_error_count=0 diagnostic_warning_count=0 tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_proto_version=6.3 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Served request: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_req_id=32cb64e8-284d-2676-25ab-e73821782d0f tf_proto_version=6.3 tf_rpc=UpgradeResourceState -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Received request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.746+0100 [TRACE] sdk.proto: Sending request downstream: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 -2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: Checking ResourceTypes lock: tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange -2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: ApplyResourceChange received no PlannedState, running DeleteResource: tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo -2023-08-26T00:13:46.746+0100 [TRACE] sdk.framework: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Calling provider defined Resource Configure: tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange -2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Called provider defined Resource Configure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 -2023-08-26T00:13:46.746+0100 [DEBUG] sdk.framework: Calling provider defined Resource Delete: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:46.746+0100 [TRACE] cdo: delete FTD resource: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_resource_type=cdo_ftd_device tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 -2023/08/26 00:13:46 reading cdFMC - - -encoded_query=q=deviceType%3AFMCE - - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=deviceType:FMCE, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","name":"FMC","namespace":"targets","type":"devices","version":1,"createdDate":1692631774903,"lastUpdatedDate":1693004741032,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":null,"sseEnabled":true,"deviceRole":"ANYCONNECT_VPN_HEAD_END","sseDeviceRegistrationToken":{"status":"Registered","token":"58be3ec59e1d1254340d3a6688dddd9f","expiry":1700407799},"sseDeviceSerialNumberRegistration":null,"sseDeviceData":{"sseDeviceId":"eec8079f-bf13-4d84-8f62-d17f52672c81","sseProtocolVersion":"ONE"},"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":"terraform-provider-cdo.app.staging.cdo.cisco.com:443","interfaces":null,"deviceActivity":{"activityType":null,"activityResult":"FAILURE","additionalInfo":{"errorMsg":["Invalid session."]}},"serial":null,"chassisSerial":null,"softwareVersion":"7.3.1-build 6035","connectivityState":1,"connectivityError":null,"ignoreCertificate":true,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":true,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FMCE","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{"ON_DEMAND":null,"SCHEDULED":null},"logs":null,"notes":null,"metadata":null,"customData":null,"configurationReference":null,"oobCheckInterval":"OOB_10_MINUTES","larUid":null,"larType":"CDG","lastDeployTimestamp":0,"port":"443","host":"terraform-provider-cdo.app.staging.cdo.cisco.com","loggingEnabled":false,"liveAsaDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/device/ac12b246-ed93-4a09-bc8a-5c4708854a2f/specific-device, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"12f9d2f1-cf5a-4fd9-afc2-9819df88027d","name":"","namespace":"fmc","type":"appliance","version":1,"createdDate":1692631775019,"lastUpdatedDate":1693005166327,"actionContext":null,"stateMachineContext":null,"stateDate":1693005166320,"status":"IDLE","stateMachineDetails":{"uid":"ea5844be-fed6-4fd1-a056-918f1f3b9183","priority":"ON_DEMAND","identifier":"fmceDeleteFtdcStateMachine","lastActiveDate":1693005165673,"stateMachineType":"WRITE","lastStep":"com.cisco.lockhart.target.statemachine.DeviceStateMachineSetErrorAfterHook","lastError":null,"currentDataRequirements":null,"stateMachineInstanceCondition":"DONE"},"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"serverVersion":"7.3.1-build 6035","geoVersion":"None","vdbVersion":"build 369 ( 2023-07-31 16:37:40 )","sruVersion":"2023-08-23-001-vrt","upgradeStarted":false,"certificate":null,"cloudEvents":["{\"id\":\"c64d2a4c-a194-11e8-bad0-eb6719b10fdb\",\"type\":\"CloudEventsConfig\",\"links\":{\"self\":\"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/integration/cloudeventsconfigs/c64d2a4c-a194-11e8-bad0-eb6719b10fdb\"},\"sendIntrusionEvents\":true,\"sendFileEvents\":true,\"sendConnectionEvents\":true,\"sendAllConnectionEvents\":false}"],"domainUid":"e276abec-e0f2-11e3-8169-6d9ed49b625f","smartLicenseStatus":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"activeFmcPublicIPAddressOrFQDN":null,"activeFmcGuid":null,"s2SVpnPolicyInfoList":null,"accessPolicies":[],"domainReferences":[],"fmcSettings":{"discoverObjects":false,"manageNetworkObjects":false,"objectSyncMode":"MANUAL_SYNC"},"hasChildDomains":false,"partOfHa":false,"state":"DONE","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[], queryParams=map[] - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/fmc/appliance/12f9d2f1-cf5a-4fd9-afc2-9819df88027d, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"12f9d2f1-cf5a-4fd9-afc2-9819df88027d","name":"","namespace":"fmc","type":"appliance","version":1,"createdDate":1692631775019,"lastUpdatedDate":1693005227953,"actionContext":null,"stateMachineContext":null,"stateDate":1693005166320,"status":"IDLE","stateMachineDetails":{"uid":"ea5844be-fed6-4fd1-a056-918f1f3b9183","priority":"ON_DEMAND","identifier":"fmceDeleteFtdcStateMachine","lastActiveDate":1693005165673,"stateMachineType":"WRITE","lastStep":"com.cisco.lockhart.target.statemachine.DeviceStateMachineSetErrorAfterHook","lastError":null,"currentDataRequirements":null,"stateMachineInstanceCondition":"DONE"},"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":false,"serverVersion":"7.3.1-build 6035","geoVersion":"None","vdbVersion":"build 369 ( 2023-07-31 16:37:40 )","sruVersion":"2023-08-23-001-vrt","upgradeStarted":false,"certificate":null,"cloudEvents":["{\"id\":\"c64d2a4c-a194-11e8-bad0-eb6719b10fdb\",\"type\":\"CloudEventsConfig\",\"links\":{\"self\":\"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/integration/cloudeventsconfigs/c64d2a4c-a194-11e8-bad0-eb6719b10fdb\"},\"sendIntrusionEvents\":true,\"sendFileEvents\":true,\"sendConnectionEvents\":true,\"sendAllConnectionEvents\":false}"],"domainUid":"e276abec-e0f2-11e3-8169-6d9ed49b625f","smartLicenseStatus":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"activeFmcPublicIPAddressOrFQDN":null,"activeFmcGuid":null,"s2SVpnPolicyInfoList":null,"accessPolicies":[],"domainReferences":[],"fmcSettings":{"discoverObjects":false,"manageNetworkObjects":false,"objectSyncMode":"MANUAL_SYNC"},"hasChildDomains":false,"partOfHa":false,"state":"DONE","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=PUT, header=map[], queryParams=map[] - - -encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc - - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] -2023/08/26 00:13:52 [RETRY] attempt=1/3 - - -encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc - - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] -2023/08/26 00:13:52 [RETRY] failed -2023/08/26 00:13:55 [RETRY] attempt=2/3 - - -encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc - - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] -2023/08/26 00:13:56 [RETRY] failed -2023/08/26 00:13:59 [RETRY] attempt=3/3 - - -encoded_query=limit=1&q=objectReference.uid%3Aac12b246-ed93-4a09-bc8a-5c4708854a2f&sort=lastActiveDate%3Adesc - - - -success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/state-machines/instances, code=200, status=200 OK, body=[], readBodyErr=%!s(), method=GET, header=map[], queryParams=map[limit:[1] q:[objectReference.uid:ac12b246-ed93-4a09-bc8a-5c4708854a2f] sort:[lastActiveDate:desc]] -2023/08/26 00:13:59 [RETRY] failed -2023-08-26T00:13:59.518+0100 [DEBUG] sdk.framework: Called provider defined Resource Delete: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 -2023-08-26T00:13:59.518+0100 [TRACE] sdk.proto: Received downstream response: tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 tf_req_duration_ms=12772 diagnostic_error_count=1 tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 -2023-08-26T00:13:59.518+0100 [ERROR] sdk.proto: Response contains error diagnostic: tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange diagnostic_detail="max retry reached, retries=3, time taken=10.702676042s, accumulated errors=%!w()" diagnostic_severity=ERROR diagnostic_summary="failed to delete FTD resource" -2023-08-26T00:13:59.518+0100 [TRACE] sdk.proto: Served request: tf_provider_addr=registry.terraform.io/hashicorp/cdo tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_req_id=4b4e7787-a8ec-2869-44f3-6a75da862453 tf_resource_type=cdo_ftd_device -2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Called Terraform CLI destroy command: test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 -2023-08-26T00:13:59.529+0100 [WARN] sdk.helper_resource: Error running Terraform CLI command: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform - error= - | exit status 1 - | - | Error: failed to delete FTD resource - | - | max retry reached, retries=3, time taken=10.702676042s, accumulated - | errors=%!w() - test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 -2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Called wrapped Terraform CLI command: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:59.529+0100 [DEBUG] sdk.helper_resource: Stopping providers: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Waiting for providers to stop: test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform -2023-08-26T00:13:59.529+0100 [TRACE] sdk.helper_resource: Providers have successfully stopped: test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 test_name=TestAccFtdResource -2023-08-26T00:13:59.529+0100 [ERROR] sdk.helper_resource: Error running post-test destroy, there may be dangling resources: test_name=TestAccFtdResource test_terraform_path=/opt/homebrew/bin/terraform test_working_directory=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugintest205580157 test_step_number=1 - error= - | exit status 1 - | - | Error: failed to delete FTD resource - | - | max retry reached, retries=3, time taken=10.702676042s, accumulated - | errors=%!w() - ---- FAIL: TestAccFtdResource (18.72s) - testing_new.go:88: Error running post-test destroy, there may be dangling resources: exit status 1 - - Error: failed to delete FTD resource - - max retry reached, retries=3, time taken=10.702676042s, accumulated - errors=%!w() -FAIL -FAIL github.com/CiscoDevnet/terraform-provider-cdo/internal/device/ftd 19.283s -ok github.com/CiscoDevnet/terraform-provider-cdo/internal/device/ios 0.747s [no tests to run] -ok github.com/CiscoDevnet/terraform-provider-cdo/internal/provider 1.278s [no tests to run] -ok github.com/CiscoDevnet/terraform-provider-cdo/validators 0.328s [no tests to run] -FAIL From d74ca8ea39f1d2a5c09b0c9cd1d88d990cbb0aa5 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 01:16:37 +0100 Subject: [PATCH 17/31] clean up --- client/device/ftdc/retry.go | 1 - client/internal/http/request.go | 6 +- .../statemachine/readinstance_by_deviceuid.go | 2 +- .../examples/resources/ftd/ftd_example.tf | 4 +- provider/examples/resources/ftd/temp.txt | 1199 ----------------- 5 files changed, 4 insertions(+), 1208 deletions(-) delete mode 100644 provider/examples/resources/ftd/temp.txt diff --git a/client/device/ftdc/retry.go b/client/device/ftdc/retry.go index 50661d19..8b3cfec9 100644 --- a/client/device/ftdc/retry.go +++ b/client/device/ftdc/retry.go @@ -19,7 +19,6 @@ func UntilGeneratedCommandAvailable(ctx context.Context, client http.Client, uid if readOutp.Metadata.GeneratedCommand != "" { return true, nil - } else { return false, fmt.Errorf("generated command not found in metadata: %+v", readOutp.Metadata) } diff --git a/client/internal/http/request.go b/client/internal/http/request.go index 880e46e0..913066bc 100644 --- a/client/internal/http/request.go +++ b/client/internal/http/request.go @@ -172,11 +172,7 @@ func (r *Request) addQueryParams(req *http.Request) { q.Add(k, v) } } - s := q.Encode() - if s != "" { - fmt.Printf("\n\nencoded_query=%s\n\n", s) - } - req.URL.RawQuery = s + req.URL.RawQuery = q.Encode() } func (r *Request) addHeaders(req *http.Request) { diff --git a/client/internal/statemachine/readinstance_by_deviceuid.go b/client/internal/statemachine/readinstance_by_deviceuid.go index dd18fec1..1aa337a0 100644 --- a/client/internal/statemachine/readinstance_by_deviceuid.go +++ b/client/internal/statemachine/readinstance_by_deviceuid.go @@ -36,7 +36,7 @@ func ReadInstanceByDeviceUid(ctx context.Context, client http.Client, readInp Re return nil, StateMachineNotFoundError } - // TODO: this can happen, no idea why + // TODO: this can happen, no idea why, limit 1 does not seems to work //if len(readRes) > 1 { // return nil, MoreThanOneStateMachineRunningError //} diff --git a/provider/examples/resources/ftd/ftd_example.tf b/provider/examples/resources/ftd/ftd_example.tf index 44f7d74a..68bfc355 100644 --- a/provider/examples/resources/ftd/ftd_example.tf +++ b/provider/examples/resources/ftd/ftd_example.tf @@ -7,8 +7,8 @@ terraform { } provider "cdo" { - base_url = "https://ci.dev.lockhart.io" - api_token = "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ" + base_url = "" + api_token = "" } resource "cdo_ftd_device" "test" { diff --git a/provider/examples/resources/ftd/temp.txt b/provider/examples/resources/ftd/temp.txt deleted file mode 100644 index e525500a..00000000 --- a/provider/examples/resources/ftd/temp.txt +++ /dev/null @@ -1,1199 +0,0 @@ -2023-08-25T15:17:04.982+0100 [INFO] Terraform version: 1.3.9 -2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.9.0 -2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/hcl/v2 v2.16.0 -2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/terraform-config-inspect v0.0.0-20210209133302-4fd17a0faac2 -2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.0.0-20200729002733-f050f53b9734 -2023-08-25T15:17:04.983+0100 [DEBUG] using github.com/zclconf/go-cty v1.12.1 -2023-08-25T15:17:04.983+0100 [INFO] Go runtime version: go1.19.6 -2023-08-25T15:17:04.983+0100 [INFO] CLI args: []string{"/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.3.9/terraform", "apply"} -2023-08-25T15:17:04.983+0100 [TRACE] Stdout is a terminal of width 214 -2023-08-25T15:17:04.983+0100 [TRACE] Stderr is not a terminal -2023-08-25T15:17:04.983+0100 [TRACE] Stdin is a terminal -2023-08-25T15:17:04.983+0100 [DEBUG] Attempting to open CLI config file: /Users/weilluo/.terraformrc -2023-08-25T15:17:04.983+0100 [INFO] Loading CLI configuration from /Users/weilluo/.terraformrc -2023-08-25T15:17:04.985+0100 [DEBUG] checking for credentials in "/Users/weilluo/.terraform.d/plugins" -2023-08-25T15:17:04.985+0100 [DEBUG] Explicit provider installation configuration is set -2023-08-25T15:17:04.986+0100 [TRACE] Selected provider installation method cliconfig.ProviderInstallationDirect with includes [] and excludes [] -2023-08-25T15:17:04.986+0100 [INFO] CLI command args: []string{"apply"} -2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config -2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory -2023-08-25T15:17:04.992+0100 [DEBUG] New state was assigned lineage "5d26ad51-8e17-5630-fb94-4806902de056" -2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: using default local state only (no backend configuration, and no existing initialized backend) -2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: instantiated backend of type -2023-08-25T15:17:04.992+0100 [DEBUG] Provider hashicorp.com/ciscodevnet/cdo is overridden by dev_overrides -2023-08-25T15:17:04.992+0100 [DEBUG] Provider hashicorp.com/ciscodevnet/cdo is overridden to load from /Users/weilluo/go/bin -2023-08-25T15:17:04.992+0100 [DEBUG] checking for provisioner in "." -2023-08-25T15:17:04.992+0100 [DEBUG] checking for provisioner in "/opt/homebrew/Cellar/tfenv/3.0.0/versions/1.3.9" -2023-08-25T15:17:04.992+0100 [DEBUG] checking for provisioner in "/Users/weilluo/.terraform.d/plugins" -2023-08-25T15:17:04.992+0100 [TRACE] Meta.Backend: backend does not support operations, so wrapping it in a local backend -2023-08-25T15:17:04.993+0100 [DEBUG] Provider hashicorp.com/ciscodevnet/cdo is overridden by dev_overrides -2023-08-25T15:17:04.994+0100 [INFO] backend/local: starting Apply operation -2023-08-25T15:17:04.994+0100 [TRACE] backend/local: requesting state manager for workspace "default" -2023-08-25T15:17:04.995+0100 [TRACE] backend/local: state manager for workspace "default" will: - - read initial snapshot from terraform.tfstate - - write new snapshots to terraform.tfstate - - create any backup at terraform.tfstate.backup -2023-08-25T15:17:04.995+0100 [TRACE] backend/local: requesting state lock for workspace "default" -2023-08-25T15:17:04.997+0100 [TRACE] statemgr.Filesystem: preparing to manage state snapshots at terraform.tfstate -2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: existing snapshot has lineage "e2407d5b-6192-668f-e892-f031dfd22ac0" serial 1 -2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: locking terraform.tfstate using fcntl flock -2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: writing lock metadata to .terraform.tfstate.lock.info -2023-08-25T15:17:04.998+0100 [TRACE] backend/local: reading remote state for workspace "default" -2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: reading latest snapshot from terraform.tfstate -2023-08-25T15:17:04.998+0100 [TRACE] statemgr.Filesystem: read snapshot with lineage "e2407d5b-6192-668f-e892-f031dfd22ac0" serial 1 -2023-08-25T15:17:04.998+0100 [TRACE] backend/local: populating backend.LocalRun for current working directory -2023-08-25T15:17:04.999+0100 [DEBUG] Config.VerifyDependencySelections: skipping hashicorp.com/ciscodevnet/cdo because it's overridden by a special configuration setting -2023-08-25T15:17:04.999+0100 [TRACE] terraform.NewContext: starting -2023-08-25T15:17:04.999+0100 [TRACE] terraform.NewContext: complete -2023-08-25T15:17:04.999+0100 [TRACE] backend/local: requesting interactive input, if necessary -2023-08-25T15:17:04.999+0100 [TRACE] LoadSchemas: retrieving schema for provider type "hashicorp.com/ciscodevnet/cdo" -2023-08-25T15:17:04.999+0100 [TRACE] terraform.contextPlugins: Initializing provider "hashicorp.com/ciscodevnet/cdo" to read its schema -2023-08-25T15:17:05.000+0100 [DEBUG] created provider logger: level=trace -2023-08-25T15:17:05.000+0100 [INFO] provider: configuring client automatic mTLS -2023-08-25T15:17:05.012+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] -2023-08-25T15:17:05.014+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73225 -2023-08-25T15:17:05.014+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo -2023-08-25T15:17:05.051+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:05.050+0100 -2023-08-25T15:17:05.060+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: network=unix address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2504350651 timestamp=2023-08-25T15:17:05.060+0100 -2023-08-25T15:17:05.060+0100 [DEBUG] provider: using plugin: version=6 -2023-08-25T15:17:05.070+0100 [TRACE] GRPCProvider.v6: GetProviderSchema -2023-08-25T15:17:05.070+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:05.072+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 tf_proto_version=6.3 timestamp=2023-08-25T15:17:05.072+0100 -2023-08-25T15:17:05.072+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto tf_proto_version=6.3 tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.072+0100 -2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 @module=sdk.framework timestamp=2023-08-25T15:17:05.072+0100 -2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework timestamp=2023-08-25T15:17:05.073+0100 -2023-08-25T15:17:05.073+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.073+0100 -2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework timestamp=2023-08-25T15:17:05.073+0100 -2023-08-25T15:17:05.073+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 timestamp=2023-08-25T15:17:05.073+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_asa_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_resource_type=cdo_ios_device timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @module=sdk.framework tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_resource_type=cdo_sdc @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_resource_type=cdo_sdc timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @module=sdk.framework timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 @module=sdk.framework timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_sdc tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @module=sdk.framework tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_rpc=GetProviderSchema tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_data_source_type=cdo_asa_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.074+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.074+0100 -2023-08-25T15:17:05.075+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_proto_version=6.3 tf_req_duration_ms=2 tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 tf_rpc=GetProviderSchema @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 timestamp=2023-08-25T15:17:05.075+0100 -2023-08-25T15:17:05.075+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=956caffb-bd40-a844-a410-1060d9c15867 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 @module=sdk.proto tf_proto_version=6.3 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.075+0100 -2023-08-25T15:17:05.077+0100 [DEBUG] No provider meta schema returned -2023-08-25T15:17:05.077+0100 [TRACE] GRPCProvider.v6: Close -2023-08-25T15:17:05.077+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" -2023-08-25T15:17:05.078+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73225 -2023-08-25T15:17:05.083+0100 [DEBUG] provider: plugin exited -2023-08-25T15:17:05.083+0100 [TRACE] Context.Input: Prompting for provider arguments -2023-08-25T15:17:05.083+0100 [TRACE] Context.Input: Provider provider.cdo declared at ftd_example.tf:9,1-15 -2023-08-25T15:17:05.083+0100 [TRACE] Context.Input: Input for provider.cdo: map[string]cty.Value{} -2023-08-25T15:17:05.083+0100 [TRACE] backend/local: running validation operation -2023-08-25T15:17:05.083+0100 [DEBUG] Building and walking validate graph -2023-08-25T15:17:05.084+0100 [TRACE] building graph for walkValidate -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer -2023-08-25T15:17:05.084+0100 [TRACE] ConfigTransformer: Starting for path: -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeValidatableResource - ------ -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.LocalTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.OutputTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.StateTransformer -2023-08-25T15:17:05.084+0100 [TRACE] StateTransformer: pointless no-op call, creating no nodes at all -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.StateTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer -2023-08-25T15:17:05.084+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test" (*terraform.NodeValidatableResource) config from ftd_example.tf:14,1-33 -2023-08-25T15:17:05.084+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer -2023-08-25T15:17:05.084+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer -2023-08-25T15:17:05.084+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test -2023-08-25T15:17:05.084+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test" (*terraform.NodeValidatableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer -2023-08-25T15:17:05.084+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer -2023-08-25T15:17:05.084+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test -2023-08-25T15:17:05.084+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer -2023-08-25T15:17:05.084+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) -2023-08-25T15:17:05.084+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer -2023-08-25T15:17:05.085+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] -2023-08-25T15:17:05.085+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.attachDataResourceDependsOnTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.attachDataResourceDependsOnTransformer (no changes) -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:05.085+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer -2023-08-25T15:17:05.085+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeValidatableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeValidatableResource - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:05.085+0100 [DEBUG] Starting graph walk: walkValidate -2023-08-25T15:17:05.086+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": starting visit (*terraform.NodeApplyableProvider) -2023-08-25T15:17:05.086+0100 [DEBUG] created provider logger: level=trace -2023-08-25T15:17:05.086+0100 [INFO] provider: configuring client automatic mTLS -2023-08-25T15:17:05.090+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] -2023-08-25T15:17:05.092+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73226 -2023-08-25T15:17:05.092+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo -2023-08-25T15:17:05.097+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:05.097+0100 -2023-08-25T15:17:05.103+0100 [DEBUG] provider: using plugin: version=6 -2023-08-25T15:17:05.103+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin3792214684 network=unix timestamp=2023-08-25T15:17:05.103+0100 -2023-08-25T15:17:05.109+0100 [TRACE] BuiltinEvalContext: Initialized "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider for provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.109+0100 [TRACE] NodeApplyableProvider: validating configuration for provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.109+0100 [TRACE] buildProviderConfig for provider["hashicorp.com/ciscodevnet/cdo"]: using explicit config only -2023-08-25T15:17:05.109+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:05.109+0100 [TRACE] GRPCProvider.v6: GetProviderSchema -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 tf_proto_version=6.3 tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_asa_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ios_device @module=sdk.framework tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_sdc @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_rpc=GetProviderSchema tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_asa_device timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.109+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_rpc=GetProviderSchema tf_resource_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 @module=sdk.framework timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_sdc tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_data_source_type=cdo_sdc @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @module=sdk.framework tf_data_source_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @module=sdk.framework tf_data_source_type=cdo_ios_device tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_proto_version=6.3 tf_req_duration_ms=0 tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe tf_rpc=GetProviderSchema @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.109+0100 -2023-08-25T15:17:05.110+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_proto_version=6.3 tf_req_id=c9d3eb28-78f6-a93d-9f54-448eecd931fe @module=sdk.proto @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.110+0100 -2023-08-25T15:17:05.110+0100 [DEBUG] No provider meta schema returned -2023-08-25T15:17:05.111+0100 [TRACE] GRPCProvider.v6: ValidateProviderConfig -2023-08-25T15:17:05.111+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_proto_version=6.3 tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:548 @module=sdk.proto timestamp=2023-08-25T15:17:05.111+0100 -2023-08-25T15:17:05.112+0100 [TRACE] provider.terraform-provider-cdo: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: tf_proto_version=6.3 tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/internal/logging/protocol_data.go:41 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.111+0100 -2023-08-25T15:17:05.112+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto timestamp=2023-08-25T15:17:05.112+0100 -2023-08-25T15:17:05.112+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e timestamp=2023-08-25T15:17:05.112+0100 -2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=api_token description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 timestamp=2023-08-25T15:17:05.113+0100 -2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 @module=sdk.framework description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.113+0100 -2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=base_url tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.113+0100 -2023-08-25T15:17:05.113+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateProviderConfig tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e @module=sdk.framework description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_attribute_path=base_url timestamp=2023-08-25T15:17:05.113+0100 -2023-08-25T15:17:05.113+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_error_count=0 tf_req_duration_ms=1 tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e tf_rpc=ValidateProviderConfig @module=sdk.proto diagnostic_warning_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 timestamp=2023-08-25T15:17:05.113+0100 -2023-08-25T15:17:05.113+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_proto_version=6.3 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:568 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=2dc3c098-8a3a-b115-77c9-801b512b3b7e timestamp=2023-08-25T15:17:05.113+0100 -2023-08-25T15:17:05.113+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": visit complete -2023-08-25T15:17:05.113+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodeValidatableResource) -2023-08-25T15:17:05.115+0100 [TRACE] GRPCProvider.v6: ValidateResourceConfig -2023-08-25T15:17:05.115+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:680 @module=sdk.proto timestamp=2023-08-25T15:17:05.115+0100 -2023-08-25T15:17:05.115+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto tf_proto_version=6.3 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.115+0100 -2023-08-25T15:17:05.115+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.115+0100 -2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.115+0100 -2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:428 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.115+0100 -2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:430 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:35 @module=sdk.framework timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_rpc=ValidateResourceConfig @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:42 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_rpc=ValidateResourceConfig tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_resource_type=cdo_ftd_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:44 @module=sdk.framework timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @module=sdk.framework tf_attribute_path=licenses tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @module=sdk.framework tf_attribute_path=licenses tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 @module=sdk.proto diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:700 @module=sdk.proto tf_proto_version=6.3 tf_req_id=f4eb0497-df23-9f3c-924d-a158b63dbf10 tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.116+0100 -2023-08-25T15:17:05.116+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete -2023-08-25T15:17:05.116+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": starting visit (*terraform.graphNodeCloseProvider) -2023-08-25T15:17:05.116+0100 [TRACE] GRPCProvider.v6: Close -2023-08-25T15:17:05.117+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" -2023-08-25T15:17:05.117+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73226 -2023-08-25T15:17:05.121+0100 [DEBUG] provider: plugin exited -2023-08-25T15:17:05.121+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": visit complete -2023-08-25T15:17:05.121+0100 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule) -2023-08-25T15:17:05.121+0100 [TRACE] vertex "root": visit complete -2023-08-25T15:17:05.121+0100 [TRACE] LoadSchemas: retrieving schema for provider type "hashicorp.com/ciscodevnet/cdo" -2023-08-25T15:17:05.121+0100 [INFO] backend/local: apply calling Plan -2023-08-25T15:17:05.121+0100 [DEBUG] Building and walking plan graph for NormalMode -2023-08-25T15:17:05.121+0100 [TRACE] building graph for walkPlan -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer -2023-08-25T15:17:05.122+0100 [TRACE] ConfigTransformer: Starting for path: -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - ------ -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.LocalTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.OutputTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.StateTransformer -2023-08-25T15:17:05.122+0100 [TRACE] StateTransformer: creating nodes for deposed instance objects only -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.StateTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer -2023-08-25T15:17:05.122+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test (expand)" (*terraform.nodeExpandPlannableResource) config from ftd_example.tf:14,1-33 -2023-08-25T15:17:05.122+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test (expand) -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer -2023-08-25T15:17:05.122+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer -2023-08-25T15:17:05.122+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test (expand) -2023-08-25T15:17:05.122+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandPlannableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer -2023-08-25T15:17:05.122+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer -2023-08-25T15:17:05.122+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test (expand) -2023-08-25T15:17:05.122+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer -2023-08-25T15:17:05.122+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test (expand)" references: [] -2023-08-25T15:17:05.122+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer -2023-08-25T15:17:05.122+0100 [TRACE] AttachDependenciesTransformer: cdo_ftd_device.test depends on [] -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.attachDataResourceDependsOnTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.attachDataResourceDependsOnTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer -2023-08-25T15:17:05.122+0100 [TRACE] ForcedCBDTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandPlannableResource) has no CBD descendent, so skipping -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer -2023-08-25T15:17:05.122+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.122+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer -2023-08-25T15:17:05.123+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:05.123+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer -2023-08-25T15:17:05.123+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandPlannableResource - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:05.123+0100 [DEBUG] Starting graph walk: walkPlan -2023-08-25T15:17:05.123+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": starting visit (*terraform.NodeApplyableProvider) -2023-08-25T15:17:05.123+0100 [DEBUG] created provider logger: level=trace -2023-08-25T15:17:05.123+0100 [INFO] provider: configuring client automatic mTLS -2023-08-25T15:17:05.126+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] -2023-08-25T15:17:05.128+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73227 -2023-08-25T15:17:05.128+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo -2023-08-25T15:17:05.134+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:05.134+0100 -2023-08-25T15:17:05.141+0100 [DEBUG] provider: using plugin: version=6 -2023-08-25T15:17:05.141+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin2015097430 network=unix timestamp=2023-08-25T15:17:05.141+0100 -2023-08-25T15:17:05.146+0100 [TRACE] BuiltinEvalContext: Initialized "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider for provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.146+0100 [TRACE] NodeApplyableProvider: configuring provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.146+0100 [TRACE] buildProviderConfig for provider["hashicorp.com/ciscodevnet/cdo"]: using explicit config only -2023-08-25T15:17:05.146+0100 [TRACE] GRPCProvider.v6: GetProviderSchema -2023-08-25T15:17:05.146+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:05.146+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @module=sdk.proto tf_proto_version=6.3 tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.146+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_proto_version=6.3 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.146+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.146+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_sdc timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_resource_type=cdo_ios_device timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_resource_type=cdo_asa_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_resource_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @module=sdk.framework tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.framework tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 @module=sdk.framework timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_data_source_type=cdo_ios_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_ios_device @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_data_source_type=cdo_sdc tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_asa_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_asa_device tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_warning_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @module=sdk.proto @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 tf_req_duration_ms=0 tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_rpc=GetProviderSchema @module=sdk.proto tf_req_id=9606cc33-a4b0-ab89-cfc1-fd23a6840cc5 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.147+0100 [DEBUG] No provider meta schema returned -2023-08-25T15:17:05.147+0100 [TRACE] GRPCProvider.v6: ValidateProviderConfig -2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @module=sdk.proto tf_proto_version=6.3 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:548 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/internal/logging/protocol_data.go:41 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @module=sdk.proto tf_proto_version=6.3 timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.147+0100 -2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 @module=sdk.framework description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:05.148+0100 -2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @module=sdk.framework description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_attribute_path=api_token timestamp=2023-08-25T15:17:05.148+0100 -2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=base_url description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 timestamp=2023-08-25T15:17:05.148+0100 -2023-08-25T15:17:05.148+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_attribute_path=base_url tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:05.148+0100 -2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 tf_proto_version=6.3 tf_req_duration_ms=0 tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:05.148+0100 -2023-08-25T15:17:05.148+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_req_id=821d63c9-c1da-c980-cc84-3253200355b8 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:568 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.148+0100 -2023-08-25T15:17:05.149+0100 [TRACE] GRPCProvider.v6: ConfigureProvider -2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_proto_version=6.3 tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 tf_rpc=ConfigureProvider tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:521 timestamp=2023-08-25T15:17:05.150+0100 -2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 timestamp=2023-08-25T15:17:05.150+0100 -2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 timestamp=2023-08-25T15:17:05.150+0100 -2023-08-25T15:17:05.150+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:15 @module=sdk.framework timestamp=2023-08-25T15:17:05.150+0100 -2023-08-25T15:17:05.150+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:23 @module=sdk.framework timestamp=2023-08-25T15:17:05.150+0100 -2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=0 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 tf_rpc=ConfigureProvider @module=sdk.proto diagnostic_warning_count=0 tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 timestamp=2023-08-25T15:17:05.150+0100 -2023-08-25T15:17:05.150+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_proto_version=6.3 tf_req_id=c70a2674-a881-a1ec-aef0-d372e3af73f1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:541 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ConfigureProvider timestamp=2023-08-25T15:17:05.150+0100 -2023-08-25T15:17:05.150+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": visit complete -2023-08-25T15:17:05.150+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": starting visit (*terraform.nodeExpandPlannableResource) -2023-08-25T15:17:05.150+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": expanding dynamic subgraph -2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.ResourceCountTransformer -2023-08-25T15:17:05.151+0100 [TRACE] ResourceCountTransformer: adding cdo_ftd_device.test as *terraform.NodePlannableResourceInstance -2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.ResourceCountTransformer with new graph: - cdo_ftd_device.test - *terraform.NodePlannableResourceInstance - ------ -2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.OrphanResourceInstanceCountTransformer -2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.OrphanResourceInstanceCountTransformer (no changes) -2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer -2023-08-25T15:17:05.151+0100 [DEBUG] Resource instance state not found for node "cdo_ftd_device.test", instance cdo_ftd_device.test -2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) -2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer -2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) -2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer -2023-08-25T15:17:05.151+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] -2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) -2023-08-25T15:17:05.151+0100 [TRACE] Executing graph transform *terraform.RootTransformer -2023-08-25T15:17:05.151+0100 [TRACE] Completed graph transform *terraform.RootTransformer (no changes) -2023-08-25T15:17:05.151+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": entering dynamic subgraph -2023-08-25T15:17:05.151+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodePlannableResourceInstance) -2023-08-25T15:17:05.151+0100 [TRACE] readResourceInstanceState: reading state for cdo_ftd_device.test -2023-08-25T15:17:05.151+0100 [TRACE] readResourceInstanceState: no state present for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to prevRunState for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to refreshState for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResourceInstance.refresh for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [DEBUG] refresh: cdo_ftd_device.test: no state, so not refreshing -2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to refreshState for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test -2023-08-25T15:17:05.152+0100 [TRACE] Re-validating config for "cdo_ftd_device.test" -2023-08-25T15:17:05.152+0100 [TRACE] GRPCProvider.v6: ValidateResourceConfig -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:680 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 @module=sdk.proto tf_proto_version=6.3 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:428 tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @module=sdk.framework timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:430 tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:35 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:42 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:44 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_attribute_path=licenses tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_proto_version=6.3 tf_req_duration_ms=0 diagnostic_error_count=0 diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.proto timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.152+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0eb066e9-61c6-1866-9200-9f2f26fab532 tf_rpc=ValidateResourceConfig @module=sdk.proto tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:700 timestamp=2023-08-25T15:17:05.152+0100 -2023-08-25T15:17:05.153+0100 [TRACE] GRPCProvider.v6: PlanResourceChange -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:771 @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: @module=sdk.proto tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:53 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:60 timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:62 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:195 timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_attribute_path=AttributeName("access_policy_name") @module=sdk.framework timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("generated_command") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("id") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_attribute_path=AttributeName("licenses").ElementKeyInt(0) tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @module=sdk.framework tf_attribute_path=AttributeName("licenses") @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.153+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_attribute_path=AttributeName("name") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @module=sdk.framework tf_attribute_path=AttributeName("performance_tier") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @module=sdk.framework tf_attribute_path=AttributeName("virtual") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("access_policy_id") timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: At least one Computed null Config value was changed to unknown: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:209 @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.153+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_resource_type=cdo_ftd_device @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.List: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1168 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.List: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1178 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @module=sdk.framework tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:73 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_attribute_path=licenses timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:74 timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_attribute_path=licenses tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:76 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 @module=sdk.framework description="Once set, the value of this attribute in state will not change." tf_attribute_path=id tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: tf_attribute_path=id tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=access_policy_name tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework tf_attribute_path=access_policy_name timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: @module=sdk.framework tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.Bool: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=virtual tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:688 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.Bool: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:698 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=virtual tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 tf_req_duration_ms=1 tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.154+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=c0ca86d2-98d7-62bb-73bf-7b6ad1522e3a tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:797 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:05.154+0100 -2023-08-25T15:17:05.155+0100 [TRACE] writeChange: recorded Create change for cdo_ftd_device.test -2023-08-25T15:17:05.155+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for cdo_ftd_device.test -2023-08-25T15:17:05.155+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object for cdo_ftd_device.test -2023-08-25T15:17:05.155+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete -2023-08-25T15:17:05.155+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": dynamic subgraph completed successfully -2023-08-25T15:17:05.155+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": visit complete -2023-08-25T15:17:05.155+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": starting visit (*terraform.graphNodeCloseProvider) -2023-08-25T15:17:05.155+0100 [TRACE] GRPCProvider.v6: Close -2023-08-25T15:17:05.155+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" -2023-08-25T15:17:05.159+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73227 -2023-08-25T15:17:05.164+0100 [DEBUG] provider: plugin exited -2023-08-25T15:17:05.164+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)": visit complete -2023-08-25T15:17:05.164+0100 [TRACE] vertex "root": starting visit (*terraform.nodeCloseModule) -2023-08-25T15:17:05.164+0100 [TRACE] vertex "root": visit complete -2023-08-25T15:17:05.164+0100 [TRACE] LoadSchemas: retrieving schema for provider type "hashicorp.com/ciscodevnet/cdo" -2023-08-25T15:17:05.164+0100 [DEBUG] building apply graph to check for errors -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer -2023-08-25T15:17:05.164+0100 [TRACE] ConfigTransformer: Starting for path: -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - ------ -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.LocalTransformer -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.OutputTransformer -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.DiffTransformer -2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer starting -2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer: found Create change for cdo_ftd_device.test -2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer: cdo_ftd_device.test will be represented by cdo_ftd_device.test -2023-08-25T15:17:05.164+0100 [TRACE] DiffTransformer complete -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - ------ -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer -2023-08-25T15:17:05.164+0100 [DEBUG] Resource state not found for node "cdo_ftd_device.test", instance cdo_ftd_device.test -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer -2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) config from ftd_example.tf:14,1-33 -2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test (expand) -2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) config from ftd_example.tf:14,1-33 -2023-08-25T15:17:05.164+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer -2023-08-25T15:17:05.164+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer -2023-08-25T15:17:05.164+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test (expand) -2023-08-25T15:17:05.164+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.164+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test -2023-08-25T15:17:05.164+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) needs provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer -2023-08-25T15:17:05.164+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer -2023-08-25T15:17:05.164+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test (expand) -2023-08-25T15:17:05.164+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test -2023-08-25T15:17:05.164+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer -2023-08-25T15:17:05.164+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test (expand)" references: [] -2023-08-25T15:17:05.164+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] -2023-08-25T15:17:05.164+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] -2023-08-25T15:17:05.164+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) -2023-08-25T15:17:05.164+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer -2023-08-25T15:17:05.164+0100 [TRACE] AttachDependenciesTransformer: cdo_ftd_device.test depends on [] -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer -2023-08-25T15:17:05.165+0100 [TRACE] ForcedCBDTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes) -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:05.165+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer -2023-08-25T15:17:05.165+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:05.165+0100 [DEBUG] command: asking for input: "\nDo you want to perform these actions?" -2023-08-25T15:17:20.441+0100 [INFO] backend/local: apply calling Apply -2023-08-25T15:17:20.441+0100 [DEBUG] Building and walking apply graph for NormalMode plan -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.ConfigTransformer -2023-08-25T15:17:20.441+0100 [TRACE] ConfigTransformer: Starting for path: -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.ConfigTransformer with new graph: - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - ------ -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.RootVariableTransformer -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.RootVariableTransformer (no changes) -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.ModuleVariableTransformer -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.ModuleVariableTransformer (no changes) -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.LocalTransformer -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.LocalTransformer (no changes) -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.OutputTransformer -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.OutputTransformer (no changes) -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.DiffTransformer -2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer starting -2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer: found Create change for cdo_ftd_device.test -2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer: cdo_ftd_device.test will be represented by cdo_ftd_device.test -2023-08-25T15:17:20.441+0100 [TRACE] DiffTransformer complete -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.DiffTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - ------ -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.AttachStateTransformer -2023-08-25T15:17:20.441+0100 [DEBUG] Resource state not found for node "cdo_ftd_device.test", instance cdo_ftd_device.test -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.AttachStateTransformer (no changes) -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.OrphanOutputTransformer -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.OrphanOutputTransformer (no changes) -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.AttachResourceConfigTransformer -2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) config from ftd_example.tf:14,1-33 -2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test (expand) -2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching to "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) config from ftd_example.tf:14,1-33 -2023-08-25T15:17:20.441+0100 [TRACE] AttachResourceConfigTransformer: attaching provider meta configs to cdo_ftd_device.test -2023-08-25T15:17:20.441+0100 [TRACE] Completed graph transform *terraform.AttachResourceConfigTransformer (no changes) -2023-08-25T15:17:20.441+0100 [TRACE] Executing graph transform *terraform.graphTransformerMulti -2023-08-25T15:17:20.441+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderConfigTransformer -2023-08-25T15:17:20.441+0100 [TRACE] ProviderConfigTransformer: attaching to "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider configuration from ftd_example.tf:9,1-15 -2023-08-25T15:17:20.441+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderConfigTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:20.441+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.MissingProviderTransformer -2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.MissingProviderTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.ProviderTransformer -2023-08-25T15:17:20.442+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test (expand) -2023-08-25T15:17:20.442+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test (expand)" (*terraform.nodeExpandApplyableResource) needs provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:20.442+0100 [TRACE] ProviderTransformer: exact match for provider["hashicorp.com/ciscodevnet/cdo"] serving cdo_ftd_device.test -2023-08-25T15:17:20.442+0100 [DEBUG] ProviderTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) needs provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.ProviderTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Executing graph transform *terraform.PruneProviderTransformer -2023-08-25T15:17:20.442+0100 [TRACE] (graphTransformerMulti) Completed graph transform *terraform.PruneProviderTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.graphTransformerMulti with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.RemovedModuleTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.RemovedModuleTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.AttachSchemaTransformer -2023-08-25T15:17:20.442+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test (expand) -2023-08-25T15:17:20.442+0100 [TRACE] AttachSchemaTransformer: attaching resource schema to cdo_ftd_device.test -2023-08-25T15:17:20.442+0100 [TRACE] AttachSchemaTransformer: attaching provider config schema to provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.AttachSchemaTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.ModuleExpansionTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.ModuleExpansionTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.ReferenceTransformer -2023-08-25T15:17:20.442+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test (expand)" references: [] -2023-08-25T15:17:20.442+0100 [DEBUG] ReferenceTransformer: "cdo_ftd_device.test" references: [] -2023-08-25T15:17:20.442+0100 [DEBUG] ReferenceTransformer: "provider[\"hashicorp.com/ciscodevnet/cdo\"]" references: [] -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.ReferenceTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.AttachDependenciesTransformer -2023-08-25T15:17:20.442+0100 [TRACE] AttachDependenciesTransformer: cdo_ftd_device.test depends on [] -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.AttachDependenciesTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.ForcedCBDTransformer -2023-08-25T15:17:20.442+0100 [TRACE] ForcedCBDTransformer: "cdo_ftd_device.test" (*terraform.NodeApplyableResourceInstance) has no CBD descendent, so skipping -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.ForcedCBDTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.DestroyEdgeTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.DestroyEdgeTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.CBDEdgeTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.CBDEdgeTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.pruneUnusedNodesTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.pruneUnusedNodesTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.TargetsTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.TargetsTransformer (no changes) -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.CloseProviderTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.CloseProviderTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - ------ -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.CloseRootModuleTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.CloseRootModuleTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:20.442+0100 [TRACE] Executing graph transform *terraform.TransitiveReductionTransformer -2023-08-25T15:17:20.442+0100 [TRACE] Completed graph transform *terraform.TransitiveReductionTransformer with new graph: - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - cdo_ftd_device.test (expand) - *terraform.nodeExpandApplyableResource - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] - *terraform.NodeApplyableProvider - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - cdo_ftd_device.test - *terraform.NodeApplyableResourceInstance - root - *terraform.nodeCloseModule - provider["hashicorp.com/ciscodevnet/cdo"] (close) - *terraform.graphNodeCloseProvider - ------ -2023-08-25T15:17:20.442+0100 [DEBUG] Starting graph walk: walkApply -2023-08-25T15:17:20.442+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": starting visit (*terraform.NodeApplyableProvider) -2023-08-25T15:17:20.443+0100 [DEBUG] created provider logger: level=trace -2023-08-25T15:17:20.443+0100 [INFO] provider: configuring client automatic mTLS -2023-08-25T15:17:20.446+0100 [DEBUG] provider: starting plugin: path=/Users/weilluo/go/bin/terraform-provider-cdo args=[/Users/weilluo/go/bin/terraform-provider-cdo] -2023-08-25T15:17:20.449+0100 [DEBUG] provider: plugin started: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73256 -2023-08-25T15:17:20.449+0100 [DEBUG] provider: waiting for RPC address: path=/Users/weilluo/go/bin/terraform-provider-cdo -2023-08-25T15:17:20.492+0100 [INFO] provider.terraform-provider-cdo: configuring server automatic mTLS: timestamp=2023-08-25T15:17:20.492+0100 -2023-08-25T15:17:20.500+0100 [DEBUG] provider.terraform-provider-cdo: plugin address: address=/var/folders/jl/306vx9v54f301703q1s6p6940000gn/T/plugin1059555528 network=unix timestamp=2023-08-25T15:17:20.500+0100 -2023-08-25T15:17:20.500+0100 [DEBUG] provider: using plugin: version=6 -2023-08-25T15:17:20.511+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:20.511+0100 [TRACE] BuiltinEvalContext: Initialized "provider[\"hashicorp.com/ciscodevnet/cdo\"]" provider for provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:20.511+0100 [TRACE] NodeApplyableProvider: configuring provider["hashicorp.com/ciscodevnet/cdo"] -2023-08-25T15:17:20.511+0100 [TRACE] buildProviderConfig for provider["hashicorp.com/ciscodevnet/cdo"]: using explicit config only -2023-08-25T15:17:20.511+0100 [TRACE] GRPCProvider.v6: GetProviderSchema -2023-08-25T15:17:20.513+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:494 @module=sdk.proto tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_proto_version=6.3 timestamp=2023-08-25T15:17:20.513+0100 -2023-08-25T15:17:20.513+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.513+0100 -2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Metadata: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:39 @module=sdk.framework timestamp=2023-08-25T15:17:20.513+0100 -2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Metadata: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_getproviderschema.go:41 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.514+0100 -2023-08-25T15:17:20.514+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.514+0100 -2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Schema: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:286 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.514+0100 -2023-08-25T15:17:20.514+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Schema: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:288 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.514+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Resources: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:363 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Resources: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:365 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_rpc=GetProviderSchema tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_asa_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found resource type: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:386 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_rpc=GetProviderSchema @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_asa_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_asa_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_resource_type=cdo_ios_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_ftd_device tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_resource_type=cdo_sdc @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:466 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @module=sdk.framework tf_resource_type=cdo_sdc tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:468 tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Checking DataSourceTypes lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:135 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider DataSources: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:145 @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider DataSources: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:147 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 @module=sdk.framework tf_data_source_type=cdo_sdc tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_rpc=GetProviderSchema @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 tf_data_source_type=cdo_asa_device tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Found data source type: tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @module=sdk.framework tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:168 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @module=sdk.framework tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_data_source_type=cdo_ios_device tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_data_source_type=cdo_ios_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @module=sdk.framework timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: @module=sdk.framework tf_data_source_type=cdo_sdc tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 tf_data_source_type=cdo_sdc timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:248 @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined DataSource Schema: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @module=sdk.framework tf_data_source_type=cdo_asa_device tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:250 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.515+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_rpc=GetProviderSchema @module=sdk.proto diagnostic_error_count=0 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_warning_count=0 tf_req_duration_ms=2 timestamp=2023-08-25T15:17:20.515+0100 -2023-08-25T15:17:20.516+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:513 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_proto_version=6.3 tf_req_id=92ee2978-44bc-4fc4-d640-d9d96a0e46e8 tf_rpc=GetProviderSchema timestamp=2023-08-25T15:17:20.516+0100 -2023-08-25T15:17:20.516+0100 [DEBUG] No provider meta schema returned -2023-08-25T15:17:20.516+0100 [TRACE] GRPCProvider.v6: ValidateProviderConfig -2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Received request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:548 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.517+0100 -2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Skipping protocol data file writing because no data directory is set. Use the TF_LOG_SDK_PROTO_DATA_DIR environment variable to enable this functionality.: tf_rpc=ValidateProviderConfig tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/internal/logging/protocol_data.go:41 @module=sdk.proto timestamp=2023-08-25T15:17:20.517+0100 -2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_proto_version=6.3 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.517+0100 -2023-08-25T15:17:20.517+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 timestamp=2023-08-25T15:17:20.517+0100 -2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: tf_rpc=ValidateProviderConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_attribute_path=api_token @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 @module=sdk.framework timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 description="The user must be assigned one of the following CDO roles: ["\"ROLE_SUPER_ADMIN\"" "\"ROLE_ADMIN\""]" tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_rpc=ValidateProviderConfig @module=sdk.framework tf_attribute_path=api_token tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined validator.String: @module=sdk.framework tf_rpc=ValidateProviderConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:707 tf_attribute_path=base_url tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.518+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined validator.String: tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_validation.go:717 @module=sdk.framework tf_attribute_path=base_url tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider description="value must be one of: ["\"https://www.defenseorchestrator.com\"" "\"https://www.defenseorchestrator.eu\"" "\"https://apj.cdo.cisco.com\"" "\"https://staging.dev.lockhart.io\"" "\"https://ci.dev.lockhart.io\"" "\"https://scale.dev.lockhart.io\""]" tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_error_count=0 tf_proto_version=6.3 tf_rpc=ValidateProviderConfig tf_req_duration_ms=1 tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 @module=sdk.proto diagnostic_warning_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:568 @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=998e256f-4062-77a9-fd5c-40bbd68570a1 tf_rpc=ValidateProviderConfig timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.518+0100 [TRACE] GRPCProvider.v6: ConfigureProvider -2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_proto_version=6.3 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:521 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.518+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_rpc=ConfigureProvider @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.519+0100 [TRACE] provider.terraform-provider-cdo: Checking ProviderSchema lock: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:275 @module=sdk.framework timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.519+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Provider Configure: tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:15 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.518+0100 -2023-08-25T15:17:20.519+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Provider Configure: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_configureprovider.go:23 timestamp=2023-08-25T15:17:20.519+0100 -2023-08-25T15:17:20.519+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 diagnostic_error_count=0 diagnostic_warning_count=0 tf_proto_version=6.3 tf_req_duration_ms=0 tf_rpc=ConfigureProvider timestamp=2023-08-25T15:17:20.519+0100 -2023-08-25T15:17:20.519+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_proto_version=6.3 tf_rpc=ConfigureProvider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:541 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=5b9a426e-c90e-02f9-98cd-b9127473157c timestamp=2023-08-25T15:17:20.519+0100 -2023-08-25T15:17:20.519+0100 [TRACE] vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"]": visit complete -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": starting visit (*terraform.nodeExpandApplyableResource) -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": expanding dynamic subgraph -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": entering dynamic subgraph -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodeApplyableResource) -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": dynamic subgraph completed successfully -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test (expand)": visit complete -2023-08-25T15:17:20.519+0100 [TRACE] vertex "cdo_ftd_device.test": starting visit (*terraform.NodeApplyableResourceInstance) -2023-08-25T15:17:20.519+0100 [TRACE] readDiff: Read Create change from plan for cdo_ftd_device.test -2023-08-25T15:17:20.519+0100 [TRACE] readResourceInstanceState: reading state for cdo_ftd_device.test -2023-08-25T15:17:20.519+0100 [TRACE] readResourceInstanceState: no state present for cdo_ftd_device.test -2023-08-25T15:17:20.519+0100 [TRACE] readDiff: Read Create change from plan for cdo_ftd_device.test -2023-08-25T15:17:20.519+0100 [TRACE] Re-validating config for "cdo_ftd_device.test" -2023-08-25T15:17:20.519+0100 [TRACE] GRPCProvider.v6: ValidateResourceConfig -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Received request: tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:680 @module=sdk.proto tf_proto_version=6.3 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.519+0100 -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device @module=sdk.proto tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:428 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Schema method: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:430 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:35 @module=sdk.framework tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:42 @module=sdk.framework tf_rpc=ValidateResourceConfig tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_validateresourceconfig.go:44 @module=sdk.framework tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_rpc=ValidateResourceConfig timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: @module=sdk.proto diagnostic_error_count=0 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=0 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_rpc=ValidateResourceConfig diagnostic_warning_count=0 tf_proto_version=6.3 timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [TRACE] provider.terraform-provider-cdo: Served request: tf_resource_type=cdo_ftd_device tf_rpc=ValidateResourceConfig @module=sdk.proto tf_req_id=d698b043-6035-b404-32f0-716fe9030f7e tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:700 timestamp=2023-08-25T15:17:20.520+0100 -2023-08-25T15:17:20.520+0100 [TRACE] GRPCProvider.v6: PlanResourceChange -2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_proto_version=6.3 tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:771 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @module=sdk.proto tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:53 tf_rpc=PlanResourceChange @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:60 timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @module=sdk.framework tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:62 timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.521+0100 [DEBUG] provider.terraform-provider-cdo: Marking Computed attributes with null configuration values as unknown (known after apply) in the plan to prevent potential Terraform errors: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:195 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_attribute_path=AttributeName("id") tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_attribute_path=AttributeName("licenses").ElementKeyInt(0) tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=AttributeName("licenses") timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @module=sdk.framework tf_attribute_path=AttributeName("name") tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 tf_attribute_path=AttributeName("performance_tier") tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange tf_attribute_path=AttributeName("virtual") timestamp=2023-08-25T15:17:20.521+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=AttributeName("access_policy_id") @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Attribute/block not null in configuration, not marking unknown: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:330 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange tf_attribute_path=AttributeName("access_policy_name") tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: marking computed attribute that is null in the config as unknown: tf_attribute_path=AttributeName("generated_command") tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:399 @module=sdk.framework timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: At least one Computed null Config value was changed to unknown: tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_planresourcechange.go:209 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 description="Once set, the value of this attribute in state will not change." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @module=sdk.framework tf_attribute_path=id tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: description="Once set, the value of this attribute in state will not change." tf_attribute_path=id tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=access_policy_name tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @module=sdk.framework tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: tf_attribute_path=access_policy_name tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.String: description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=performance_tier tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1968 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.String: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1978 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @module=sdk.framework tf_attribute_path=performance_tier tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.Bool: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:688 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=virtual tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.Bool: @module=sdk.framework tf_attribute_path=virtual tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange description="If the value of this attribute changes, Terraform will destroy and recreate the resource." @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:698 timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @module=sdk.framework timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:80 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:81 @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_value.go:83 @module=sdk.framework tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined planmodifier.List: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1168 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined planmodifier.List: @module=sdk.framework description="If the value of this attribute changes, Terraform will destroy and recreate the resource." tf_resource_type=cdo_ftd_device tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/attribute_plan_modification.go:1178 tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Type implements TypeWithValidate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:73 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Type Validate: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:74 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_rpc=PlanResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Type Validate: tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwschemadata/data_set_at_path.go:76 @module=sdk.framework tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device tf_attribute_path=licenses tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: diagnostic_error_count=0 tf_proto_version=6.3 tf_req_duration_ms=1 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_rpc=PlanResourceChange diagnostic_warning_count=0 timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Served request: @module=sdk.proto tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=PlanResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:797 tf_proto_version=6.3 tf_req_id=09153aa1-a5dc-e95f-d1e0-a03605ccd2f4 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] checkPlannedChange: Verifying that actual change (action Create) matches planned change (action Create) -2023-08-25T15:17:20.522+0100 [INFO] Starting apply for cdo_ftd_device.test -2023-08-25T15:17:20.522+0100 [DEBUG] cdo_ftd_device.test: applying the planned Create change -2023-08-25T15:17:20.522+0100 [TRACE] GRPCProvider.v6: ApplyResourceChange -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Received request: @module=sdk.proto tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:806 timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Sending request downstream: tf_resource_type=cdo_ftd_device tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:20 @module=sdk.proto tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: Checking ResourceTypes lock: @module=sdk.framework tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server.go:353 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.522+0100 [TRACE] provider.terraform-provider-cdo: ApplyResourceChange received no PriorState, running CreateResource: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_applyresourcechange.go:45 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.523+0100 [TRACE] provider.terraform-provider-cdo: Resource implements ResourceWithConfigure: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:47 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Configure: tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:54 @module=sdk.framework timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Configure: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:56 @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.522+0100 -2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: Calling provider defined Resource Create: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:100 tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:20.523+0100 -2023-08-25T15:17:20.523+0100 [TRACE] provider.terraform-provider-cdo: create FTD resource: @caller=/Users/weilluo/workspace/cdo/terraform-provider-cdo/provider/internal/device/ftd/resource.go:151 @module=cisco_cdo_provider tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:20.523+0100 -2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:20 creating ftdc -2023-08-25T15:17:20.523+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:20 reading cdFMC -2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:21.341+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices?q=deviceType:FMCE, code=200, status=200 OK, body=[{"tags":{},"tagKeys":[],"tagValues":[],"uid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","name":"FMC","namespace":"targets","type":"devices","version":1,"createdDate":1692631774903,"lastUpdatedDate":1692972941153,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":null,"sseEnabled":true,"deviceRole":"ANYCONNECT_VPN_HEAD_END","sseDeviceRegistrationToken":{"status":"Registered","token":"58be3ec59e1d1254340d3a6688dddd9f","expiry":1700407799},"sseDeviceSerialNumberRegistration":null,"sseDeviceData":{"sseDeviceId":"eec8079f-bf13-4d84-8f62-d17f52672c81","sseProtocolVersion":"ONE"},"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":"terraform-provider-cdo.app.staging.cdo.cisco.com:443","int" -2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:21.341+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="erfaces":null,"deviceActivity":{"activityType":null,"activityResult":"FAILURE","additionalInfo":{"errorMsg":["Invalid session."]}},"serial":null,"chassisSerial":null,"softwareVersion":"7.3.1-build 6035","connectivityState":1,"connectivityError":null,"ignoreCertificate":true,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":true,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":false,"deviceType":"FMCE","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{"ON_DEMAND":null,"SCHEDULED":null},"logs":null,"notes":null,"metadata":null,"customData":null,"configurationReference":null,"oobCheckInterval":"OOB_10_MINUTES","larUid":null,"larType":"CDG","lastDeployTimestamp":0,"port":" -2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=218 -2023-08-25T15:17:21.341+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=""443","host":"terraform-provider-cdo.app.staging.cdo.cisco.com","loggingEnabled":false,"liveAsaDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}], readBodyErr=%!s(), method=GET, header=map[]" -2023-08-25T15:17:21.341+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:22.120+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=833 -2023-08-25T15:17:22.120+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/fmc/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?limit=1000, code=200, status=200 OK, body={"links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies?offset=0&limit=1000"},"items":[{"type":"AccessPolicy","links":{"self":"https://terraform-provider-cdo.app.staging.cdo.cisco.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/policy/accesspolicies/06AE8B8C-5F91-0ed3-0000-004294967346"},"name":"Default Access Control Policy","id":"06AE8B8C-5F91-0ed3-0000-004294967346"}],"paging":{"offset":0,"limit":1000,"count":1,"pages":1}}, readBodyErr=%!s(), method=GET, header=map[Fmc-Hostname:[terraform-provider-cdo.app.staging.cdo.cisco.com]]" -2023-08-25T15:17:22.120+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:22.121+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="request_check -Request: &{config:{BaseUrl:https://ci.dev.lockhart.io ApiToken:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ Host:ci.dev.lockhart.io Retries:3 Delay:3000000000 Timeout:180000000000} httpClient:0x10154f3e0 logger:0x1400019e2d0 ctx:0x1" -2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=796 -2023-08-25T15:17:22.121+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="400043eb10 method:POST url:https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices body:{FmcId:ac12b246-ed93-4a09-bc8a-5c4708854a2f DeviceType:FTDC Metadata:{AccessPolicyName:Default Access Control Policy AccessPolicyId:06AE8B8C-5F91-0ed3-0000-004294967346 LicenseCaps:BASE PerformanceTier:0x1400059c900} Name:test-weilue-ftd-9 State:NEW Type:devices} Header:map[] Response: Error:} -Request: https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices, POST, {"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","deviceType":"FTDC","metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"name":"test-weilue-ftd-9","state":"NEW","type":"devices"}" -2023-08-25T15:17:22.121+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:23.979+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973042780,"actionContext":{"modifiedFieldsAndNewValues":{},"deletedObject":null,"preUpdateObject":null,"businessFlow":"BF_FTDC","transactionStatusUid":null,"actionOrigin":"REST_API","saveRealOperation":"CREATE","modifiedFields":[]},"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"in" -2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:23.979+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="terfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":-5,"connectivityError":null,"ignoreCertificate":false,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"NO_CONFIG","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"" -2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=174 -2023-08-25T15:17:23.979+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=POST, header=map[]" -2023-08-25T15:17:23.979+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:23.979+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:23 reading specific device -2023-08-25T15:17:24.610+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/device/dc48d0a5-9735-4ca9-a181-7abb3828dac0/specific-device, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"3bbf54c1-974b-43c4-9953-937940e531b7","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1692973043921,"lastUpdatedDate":1692973043921,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":true,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"mgmtaccessdataobject":{},"ikev1Proposal":{},"ipsUpdateSchedule":{},"url_feed":{},"ravpngrouppol" -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=icy":{},"mgmtaccesshttpobject":{},"datadnssettings":{},"mgmtdnssettings":{},"filepolicy":{},"specialuser":{},"application":{},"samlserver":{},"physical_interface":{},"radiusidentitysourcegroup":{},"urlrepuation":{},"securitygrouptag":{},"urlobject":{},"dnsobject":{},"successnetworksettings":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"manualnatrulecontainer":{},"intrusionpolicy":{},"externalcacertificate":{},"identityservicesengine":{},"ikev2Policy":{},"anyconnectprofiles":{},"activedirectoryrealms":{},"internalcacertificate":{},"applicationcategory":{},"geolocation":{},"continent":{},"country":{},"devicesettings_managementaccess":{},"network_feed":{},"applicationtag":{},"ntpobject":{},"cloudconfig":{},"dhcpobject":{},"staticrouteentry":{},"urlcategory":{},"embeddedappfilter":{},"servicetcpobject":{},"networkobjectgroup":{},"serviceobjectgroup":{},"realmsequence":{},"intrusion_policy":{},"internalcertificate":{},"securityzone":{},"serviceprotocolobject":{},"syslogserver":{},"mgmtaccesssshobject":{},"de -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=vlogobject":{},"mgmtaccesshttpsdataport":{},"specialrealms":{},"devicesettings_cloudconfig":{},"ravpn":{},"applicationfilter":{},"serviceudpobject":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"ikev1Policy":{},"dnsgroupobject":{},"ravpnconnectionprofile":{},"sgtgroup":{},"hostnameobject":{},"serviceicmpv6object":{},"ikev2Proposal":{},"webanalyticssettings":{},"cloudservicesinfo":{},"dummyTypeWithUnsupportedVersion":{},"cloudeventssettings":{},"duoldapidentitysource":{},"radiusidentitysource":{},"networkobject":{},"serviceicmpv4object":{},"objectnatrulecontainer":{},"ipspolicy":{},"localidentitysources":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":nu -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=317 -2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="ll,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=map[]" -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="request_check -Request: &{config:{BaseUrl:https://ci.dev.lockhart.io ApiToken:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ Host:ci.dev.lockhart.io Retries:3 Delay:3000000000 Timeout:180000000000} httpClient:0x10154f3e0 logger:0x1400019e2d0 ctx:0x1" -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=385 -2023-08-25T15:17:24.611+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="400043eb10 method:PUT url:https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/3bbf54c1-974b-43c4-9953-937940e531b7 body:{QueueTriggerState:INITIATE_FTDC_ONBOARDING} Header:map[] Response: Error:} -Request: https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/3bbf54c1-974b-43c4-9953-937940e531b7, PUT, {"queueTriggerState":"INITIATE_FTDC_ONBOARDING"}" -2023-08-25T15:17:24.611+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:25.443+0100 [TRACE] dag/walk: vertex "root" is waiting for "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" -2023-08-25T15:17:25.443+0100 [TRACE] dag/walk: vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" is waiting for "cdo_ftd_device.test" -2023-08-25T15:17:27.678+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/firepower/ftds/3bbf54c1-974b-43c4-9953-937940e531b7, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"3bbf54c1-974b-43c4-9953-937940e531b7","name":"","namespace":"firepower","type":"ftds","version":1,"createdDate":1692973043921,"lastUpdatedDate":1692973045720,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"model":true,"licenseRequirements":[],"smartLicense":null,"subscriptionLicenses":null,"exportCompliant":false,"healthStatus":null,"automaticSecurityDbUpdatesEnabled":false,"securityDbsSyncSchedule":null,"issues":{},"showAccessSettingsTooltip":true,"certificate":null,"licenses":null,"info":{},"templateUid":null,"templateType":null,"policyVersion":null,"objectsMap":{"mgmtaccessdataobject":{},"ikev1Proposal":{},"ipsUpdateSchedule":{},"url_feed":{},"ravpngrouppo" -2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=licy":{},"mgmtaccesshttpobject":{},"datadnssettings":{},"mgmtdnssettings":{},"filepolicy":{},"specialuser":{},"application":{},"samlserver":{},"physical_interface":{},"radiusidentitysourcegroup":{},"urlrepuation":{},"securitygrouptag":{},"urlobject":{},"dnsobject":{},"successnetworksettings":{},"anyconnectpackagefiles":{},"urlobjectgroup":{},"manualnatrulecontainer":{},"intrusionpolicy":{},"externalcacertificate":{},"identityservicesengine":{},"ikev2Policy":{},"anyconnectprofiles":{},"activedirectoryrealms":{},"internalcacertificate":{},"applicationcategory":{},"geolocation":{},"continent":{},"country":{},"devicesettings_managementaccess":{},"network_feed":{},"applicationtag":{},"ntpobject":{},"cloudconfig":{},"dhcpobject":{},"staticrouteentry":{},"urlcategory":{},"embeddedappfilter":{},"servicetcpobject":{},"networkobjectgroup":{},"serviceobjectgroup":{},"realmsequence":{},"intrusion_policy":{},"internalcertificate":{},"securityzone":{},"serviceprotocolobject":{},"syslogserver":{},"mgmtaccesssshobject":{},"d -2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=evlogobject":{},"mgmtaccesshttpsdataport":{},"specialrealms":{},"devicesettings_cloudconfig":{},"ravpn":{},"applicationfilter":{},"serviceudpobject":{},"intrusionsettingsobject":{},"anyconnectclientprofiles":{},"ikev1Policy":{},"dnsgroupobject":{},"ravpnconnectionprofile":{},"sgtgroup":{},"hostnameobject":{},"serviceicmpv6object":{},"ikev2Proposal":{},"webanalyticssettings":{},"cloudservicesinfo":{},"dummyTypeWithUnsupportedVersion":{},"cloudeventssettings":{},"duoldapidentitysource":{},"radiusidentitysource":{},"networkobject":{},"serviceicmpv4object":{},"objectnatrulecontainer":{},"ipspolicy":{},"localidentitysources":{}},"currDeploymentUid":null,"ftdRecurringIpsRuleUpdateImports":{"name":null,"user":null,"description":null,"kind":"sruupdateschedule","version":null,"scheduleType":"DAILY","runTimes":null,"uuid":null},"metadata":{},"supportedFeatures":{},"lastSavedPolicyJson":null,"tempRegistrationField":null,"ftdHaMetadata":null,"primaryDeviceDetails":null,"secondaryDeviceDetails":null,"primaryFtdHaStatus":n -2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=318 -2023-08-25T15:17:27.679+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="ull,"secondaryFtdHaStatus":null,"ftdHaError":null,"clusterControlNodeDeviceDetails":null,"clusterDataNodesDeviceDetails":null,"ftdSmartLicenseStatus":null,"clusterCombinedDevice":false,"haCombinedDevice":false,"state":null,"triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=PUT, header=map[]" -2023-08-25T15:17:27.679+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:28.078+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:28 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000033b60) } -2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:28.078+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" -2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:28.078+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" -2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=5 -2023-08-25T15:17:28.078+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=map[] -2023-08-25T15:17:28.078+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:30.444+0100 [TRACE] dag/walk: vertex "root" is waiting for "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" -2023-08-25T15:17:30.444+0100 [TRACE] dag/walk: vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" is waiting for "cdo_ftd_device.test" -2023-08-25T15:17:31.078+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:31 [RETRY] attempt=1/3 -2023-08-25T15:17:31.576+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:31 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000033c90) } -2023-08-25T15:17:31.577+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:31 [RETRY] failed -2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:31.577+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" -2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:31.577+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" -2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=5 -2023-08-25T15:17:31.577+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=map[] -2023-08-25T15:17:31.577+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:34.577+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:34 [RETRY] attempt=2/3 -2023-08-25T15:17:35.114+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:35 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000118d70) } -2023-08-25T15:17:35.114+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:35 [RETRY] failed -2023-08-25T15:17:35.114+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:35.114+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" -2023-08-25T15:17:35.114+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:35.115+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" -2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=5 -2023-08-25T15:17:35.115+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout=map[] -2023-08-25T15:17:35.115+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:35.445+0100 [TRACE] dag/walk: vertex "root" is waiting for "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" -2023-08-25T15:17:35.445+0100 [TRACE] dag/walk: vertex "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" is waiting for "cdo_ftd_device.test" -2023-08-25T15:17:38.115+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:38 [RETRY] attempt=3/3 -2023-08-25T15:17:38.344+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:38 device metadata={Default Access Control Policy 06AE8B8C-5F91-0ed3-0000-004294967346 [BASE] %!s(*tier.Type=0x14000118e90) } -2023-08-25T15:17:38.344+0100 [DEBUG] provider.terraform-provider-cdo: 2023/08/25 15:17:38 [RETRY] failed -2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:38.344+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="success: url=https://ci.dev.lockhart.io/aegis/rest/v1/services/targets/devices/dc48d0a5-9735-4ca9-a181-7abb3828dac0, code=200, status=200 OK, body={"tags":{},"tagKeys":[],"tagValues":[],"uid":"dc48d0a5-9735-4ca9-a181-7abb3828dac0","name":"test-weilue-ftd-9","namespace":"targets","type":"devices","version":1,"createdDate":1692973042780,"lastUpdatedDate":1692973047004,"actionContext":null,"stateMachineContext":null,"stateDate":null,"status":"IDLE","stateMachineDetails":null,"scheduledStateMachineEnabledMap":{},"pendingStatesQueue":[],"createdTenantUid":null,"credentials":null,"associatedDeviceUid":"ac12b246-ed93-4a09-bc8a-5c4708854a2f","sseEnabled":false,"deviceRole":null,"sseDeviceRegistrationToken":null,"sseDeviceSerialNumberRegistration":null,"sseDeviceData":null,"disks":[],"customLinks":[],"failoverDisks":[],"shouldInitCreds":null,"ipv4":null,"interfaces":null,"deviceActivity":null,"serial":null,"chassisSerial":null,"softwareVersion":null,"connectivityState":9,"connectivityError":null,"ignoreCertificate":fa" -2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:38.344+0100 [DEBUG] provider.terraform-provider-cdo: Called provider defined Resource Create: @module=sdk.framework tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device tf_rpc=ApplyResourceChange @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-framework@v1.3.3/internal/fwserver/server_createresource.go:102 timestamp=2023-08-25T15:17:38.342+0100 -2023-08-25T15:17:38.344+0100 [TRACE] provider.terraform-provider-cdo: Received downstream response: tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_resource_type=cdo_ftd_device diagnostic_warning_count=0 @module=sdk.proto diagnostic_error_count=1 tf_proto_version=6.3 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_duration_ms=17819 @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/tf6serverlogging/downstream_request.go:40 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:38.342+0100 -2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=1024 -2023-08-25T15:17:38.344+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="lse,"healthStatus":null,"config":null,"mostRecentDeviceConfig":null,"deviceConfigOnDisk":null,"deviceConfig":null,"certificate":null,"certificateExpirationDate":null,"mostRecentCertificate":null,"configHash":0,"configState":"SYNCED","configProcessingState":"INACTIVE","enableOobDetection":false,"oobDetectionState":"IN_SYNC","lastOobDetectionStartedAt":null,"lastOobDetectionSuspendedAt":null,"autoAcceptOobEnabled":false,"modelNumber":null,"model":true,"deviceType":"FTDC","deviceSubType":null,"hasFirepower":false,"lastErrorMap":{},"logs":null,"notes":null,"metadata":{"accessPolicyName":"Default Access Control Policy","accessPolicyUuid":"06AE8B8C-5F91-0ed3-0000-004294967346","license_caps":"BASE","performanceTier":"FTDv5"},"customData":null,"configurationReference":null,"oobCheckInterval":null,"larUid":null,"larType":"SDC","lastDeployTimestamp":0,"port":"","host":"","loggingEnabled":false,"liveAsaDevice":false,"state":"NEW","triggerState":null,"queueTriggerState":null}, readBodyErr=%!s(), method=GET, header=" -2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: received data: channel=STDOUT len=29 -2023-08-25T15:17:38.344+0100 [WARN] unexpected data: hashicorp.com/ciscodevnet/cdo:stdout="map[] -create FTDc res: " -2023-08-25T15:17:38.344+0100 [TRACE] provider.stdio: waiting for stdio data -2023-08-25T15:17:38.344+0100 [ERROR] provider.terraform-provider-cdo: Response contains error diagnostic: @module=sdk.proto diagnostic_severity=ERROR tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_resource_type=cdo_ftd_device @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/internal/diag/diagnostics.go:58 diagnostic_detail="max retry reached, retries=3, time taken=10.662216958s, accumulated errors=%!w()" diagnostic_summary="failed to create FTD resource" tf_proto_version=6.3 tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange timestamp=2023-08-25T15:17:38.342+0100 -2023-08-25T15:17:38.344+0100 [TRACE] provider.terraform-provider-cdo: Served request: @caller=/Users/weilluo/go/pkg/mod/github.com/hashicorp/terraform-plugin-go@v0.18.0/tfprotov6/tf6server/server.go:832 tf_provider_addr=registry.terraform.io/CiscoDevNet/cisco-cdo-provider tf_req_id=0a6ba5aa-2256-dd8a-f5bb-912230042f11 tf_rpc=ApplyResourceChange @module=sdk.proto tf_proto_version=6.3 tf_resource_type=cdo_ftd_device timestamp=2023-08-25T15:17:38.342+0100 -2023-08-25T15:17:38.344+0100 [TRACE] maybeTainted: cdo_ftd_device.test encountered an error during creation, so it is now marked as tainted -2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for cdo_ftd_device.test -2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test -2023-08-25T15:17:38.344+0100 [TRACE] evalApplyProvisioners: cdo_ftd_device.test is tainted, so skipping provisioning -2023-08-25T15:17:38.344+0100 [TRACE] maybeTainted: cdo_ftd_device.test was already tainted, so nothing to do -2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for cdo_ftd_device.test -2023-08-25T15:17:38.344+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: removing state object for cdo_ftd_device.test -2023-08-25T15:17:38.345+0100 [TRACE] statemgr.Filesystem: not making a backup, because the new snapshot is identical to the old -2023-08-25T15:17:38.346+0100 [TRACE] statemgr.Filesystem: no state changes since last snapshot -2023-08-25T15:17:38.346+0100 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate -2023-08-25T15:17:38.352+0100 [ERROR] vertex "cdo_ftd_device.test" error: failed to create FTD resource -2023-08-25T15:17:38.352+0100 [TRACE] vertex "cdo_ftd_device.test": visit complete, with errors -2023-08-25T15:17:38.353+0100 [TRACE] dag/walk: upstream of "provider[\"hashicorp.com/ciscodevnet/cdo\"] (close)" errored, so skipping -2023-08-25T15:17:38.353+0100 [TRACE] dag/walk: upstream of "root" errored, so skipping -2023-08-25T15:17:38.353+0100 [TRACE] statemgr.Filesystem: not making a backup, because the new snapshot is identical to the old -2023-08-25T15:17:38.353+0100 [TRACE] statemgr.Filesystem: no state changes since last snapshot -2023-08-25T15:17:38.353+0100 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate -╷ -│ Error: failed to create FTD resource -│  -│  with cdo_ftd_device.test, -│  on ftd_example.tf line 14, in resource "cdo_ftd_device" "test": -│  14: resource "cdo_ftd_device" "test" { -│  -│ max retry reached, retries=3, time taken=10.662216958s, accumulated -│ errors=%!w() -╵ -2023-08-25T15:17:38.359+0100 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info -2023-08-25T15:17:38.359+0100 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock -2023-08-25T15:17:38.360+0100 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = error reading from server: EOF" -2023-08-25T15:17:38.362+0100 [DEBUG] provider: plugin process exited: path=/Users/weilluo/go/bin/terraform-provider-cdo pid=73256 -2023-08-25T15:17:38.367+0100 [DEBUG] provider: plugin exited - - -{ - "associatedDeviceUid": "ac12b246-ed93-4a09-bc8a-5c4708854a2f", - "deviceType": "FTDC", - "metadata": { - "accessPolicyName": "Default Access Control Policy", - "accessPolicyUuid": "06AE8B8C-5F91-0ed3-0000-004294967346", - "license_caps": "BASE", - "performanceTier": null - }, - "name": "ci-test-ftd-8", - "state": "NEW", - "type": "devices" -} -{ - "type": "devices", - "deviceType": "FTDC", - "name": "testest", - "associatedDeviceUid": "ac12b246-ed93-4a09-bc8a-5c4708854a2f", - "metadata": { - "accessPolicyUuid": "06AE8B8C-5F91-0ed3-0000-004294967346", - "accessPolicyName": "Default Access Control Policy", - "performanceTier": null, - "license_caps": "BASE" - }, - "model": false, - "state": "NEW" -} \ No newline at end of file From 5e50e8c51a01c66b3894af1310e2f882207e8096 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 02:02:23 +0100 Subject: [PATCH 18/31] fix unit test --- client/device/cdfmc/fixture_test.go | 7 ++++--- client/device/cdfmc/readaccesspolicies_test.go | 2 +- client/device/ftdc/create.go | 2 +- client/device/ftdc/retry.go | 2 +- .../ftdc/{updatespecificftd.go => updatespecific.go} | 2 +- client/device/readall_by_type.go | 7 +++++-- client/device/readall_by_type_test.go | 2 +- client/internal/url/url.go | 4 ++-- 8 files changed, 16 insertions(+), 12 deletions(-) rename client/device/ftdc/{updatespecificftd.go => updatespecific.go} (88%) diff --git a/client/device/cdfmc/fixture_test.go b/client/device/cdfmc/fixture_test.go index cbbe1f42..60958821 100644 --- a/client/device/cdfmc/fixture_test.go +++ b/client/device/cdfmc/fixture_test.go @@ -14,9 +14,10 @@ const ( smartLicenseLimit = 123456 smartLicensePages = 123456 - baseUrl = "https://unit-test.net" - domainUid = "unit-test-domain-uid" - limit = 123456 + baseUrl = "https://unit-test.net" + fmcHostname = "https://fmc-hostname.unit-test.net" + domainUid = "unit-test-domain-uid" + limit = 123456 accessPolicySelfLink = "https://unit-test.cdo.cisco.com/api/fmc_config/v1/domain/unit-test-domain-uid/policy/accesspolicies/unit-test-uid" accessPolicyName = "Unit Test Access Control Policy" diff --git a/client/device/cdfmc/readaccesspolicies_test.go b/client/device/cdfmc/readaccesspolicies_test.go index 85eea6cc..b7f287d3 100644 --- a/client/device/cdfmc/readaccesspolicies_test.go +++ b/client/device/cdfmc/readaccesspolicies_test.go @@ -90,7 +90,7 @@ func TestAccessPoliciesRead(t *testing.T) { output, err := cdfmc.ReadAccessPolicies( context.Background(), *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), - cdfmc.NewReadAccessPoliciesInput(domainUid, limit), + cdfmc.NewReadAccessPoliciesInput(fmcHostname, domainUid, limit), ) testCase.assertFunc(output, err, t) diff --git a/client/device/ftdc/create.go b/client/device/ftdc/create.go index 44db9994..22cb9391 100644 --- a/client/device/ftdc/create.go +++ b/client/device/ftdc/create.go @@ -142,7 +142,7 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr } // 6. initiate ftdc onboarding by triggering a weird endpoint using created ftdc's specific uid - _, err = UpdateSpecificFtd(ctx, client, + _, err = UpdateSpecific(ctx, client, NewUpdateSpecificFtdInput( readSpecRes.SpecificUid, "INITIATE_FTDC_ONBOARDING", diff --git a/client/device/ftdc/retry.go b/client/device/ftdc/retry.go index 8b3cfec9..04f1d5ff 100644 --- a/client/device/ftdc/retry.go +++ b/client/device/ftdc/retry.go @@ -15,7 +15,7 @@ func UntilGeneratedCommandAvailable(ctx context.Context, client http.Client, uid return false, err } - client.Logger.Printf("device metadata=%s\n", readOutp.Metadata) + client.Logger.Printf("device metadata=%v\n", readOutp.Metadata) if readOutp.Metadata.GeneratedCommand != "" { return true, nil diff --git a/client/device/ftdc/updatespecificftd.go b/client/device/ftdc/updatespecific.go similarity index 88% rename from client/device/ftdc/updatespecificftd.go rename to client/device/ftdc/updatespecific.go index 240e3840..b96c1084 100644 --- a/client/device/ftdc/updatespecificftd.go +++ b/client/device/ftdc/updatespecific.go @@ -26,7 +26,7 @@ type updateSpecificRequestBody struct { QueueTriggerState string `json:"queueTriggerState"` } -func UpdateSpecificFtd(ctx context.Context, client http.Client, updateInp UpdateSpecificFtdInput) (*UpdateSpecificFtdOutput, error) { +func UpdateSpecific(ctx context.Context, client http.Client, updateInp UpdateSpecificFtdInput) (*UpdateSpecificFtdOutput, error) { updateUrl := url.UpdateSpecificFtdc(client.BaseUrl(), updateInp.SpecificUid) diff --git a/client/device/readall_by_type.go b/client/device/readall_by_type.go index 0937f511..dc486bf6 100644 --- a/client/device/readall_by_type.go +++ b/client/device/readall_by_type.go @@ -2,13 +2,14 @@ package device import ( "context" + "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" ) type ReadAllByTypeInput struct { - DeviceType devicetype.Type `json:"deviceType"` + DeviceType devicetype.Type } type ReadAllByTypeOutput = []ReadOutput @@ -20,10 +21,12 @@ func NewReadAllByTypeInput(deviceType devicetype.Type) ReadAllByTypeInput { } func ReadAllByTypeRequest(ctx context.Context, client http.Client, readInp ReadAllByTypeInput) *http.Request { - readAllUrl := url.ReadAllDevicesByType(client.BaseUrl(), readInp.DeviceType) + readAllUrl := url.ReadAllDevicesByType(client.BaseUrl()) req := client.NewGet(ctx, readAllUrl) + req.QueryParams.Add("q", fmt.Sprintf("deviceType:%s", readInp.DeviceType)) + return req } diff --git a/client/device/readall_by_type_test.go b/client/device/readall_by_type_test.go index f27f7569..578779c0 100644 --- a/client/device/readall_by_type_test.go +++ b/client/device/readall_by_type_test.go @@ -48,7 +48,7 @@ func TestDeviceReadAllByType(t *testing.T) { setupFunc: func() { httpmock.RegisterResponder( http.MethodGet, - url.ReadAllDevicesByType(baseUrl, devicetype.Cdfmc), + url.ReadAllDevicesByType(baseUrl), httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadAllOutput), ) }, diff --git a/client/internal/url/url.go b/client/internal/url/url.go index 3baee85a..a45b63b7 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -13,8 +13,8 @@ func ReadDevice(baseUrl string, uid string) string { func ReadDeviceByNameAndType(baseUrl string, deviceName string, deviceType devicetype.Type) string { return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices?q=name:%s+AND+deviceType:%s", baseUrl, deviceName, deviceType) } -func ReadAllDevicesByType(baseUrl string, deviceType devicetype.Type) string { - return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices?q=deviceType:%s", baseUrl, deviceType) +func ReadAllDevicesByType(baseUrl string) string { + return fmt.Sprintf("%s/aegis/rest/v1/services/targets/devices", baseUrl) } func CreateDevice(baseUrl string) string { From 4a89f3ce0ea484dbc7935902755fdb8eacf1b11f Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 02:18:11 +0100 Subject: [PATCH 19/31] fmcappliance tests --- .../device/cdfmc/fmcappliance/fixture_test.go | 16 ++++ client/device/cdfmc/fmcappliance/update.go | 2 +- .../device/cdfmc/fmcappliance/update_test.go | 85 +++++++++++++++++++ 3 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 client/device/cdfmc/fmcappliance/fixture_test.go create mode 100644 client/device/cdfmc/fmcappliance/update_test.go diff --git a/client/device/cdfmc/fmcappliance/fixture_test.go b/client/device/cdfmc/fmcappliance/fixture_test.go new file mode 100644 index 00000000..cca5a76d --- /dev/null +++ b/client/device/cdfmc/fmcappliance/fixture_test.go @@ -0,0 +1,16 @@ +package fmcappliance_test + +const ( + baseUrl = "https://unit-test.net" + FmcSpecificUid = "unit-test-fmc-specific-uid" + queueTriggerState = "unit-test-queue-trigger-state" + uid = "unit-test-uid" + state = "unit-test-state" + domainUid = "unit-test-domainUid" +) + +var ( + stateMachineContext = map[string]string{ + "unit-test-sm-context-key": "unit-test-sm-context-value", + } +) diff --git a/client/device/cdfmc/fmcappliance/update.go b/client/device/cdfmc/fmcappliance/update.go index b0b5346c..f079d791 100644 --- a/client/device/cdfmc/fmcappliance/update.go +++ b/client/device/cdfmc/fmcappliance/update.go @@ -39,7 +39,7 @@ func Update(ctx context.Context, client http.Client, updateInp UpdateInput) (*Up } req := client.NewPut(ctx, updateUrl, updateBody) var updateOup UpdateOutput - if err := req.Send(updateOup); err != nil { + if err := req.Send(&updateOup); err != nil { return nil, err } diff --git a/client/device/cdfmc/fmcappliance/update_test.go b/client/device/cdfmc/fmcappliance/update_test.go new file mode 100644 index 00000000..b3756553 --- /dev/null +++ b/client/device/cdfmc/fmcappliance/update_test.go @@ -0,0 +1,85 @@ +package fmcappliance_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc/fmcappliance" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" + + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/jarcoal/httpmock" +) + +func TestUpdate(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + validUpdateOutput := fmcappliance.UpdateOutput{ + Uid: uid, + State: state, + DomainUid: domainUid, + } + + testCases := []struct { + testName string + input fmcappliance.UpdateInput + setupFunc func() + assertFunc func(input fmcappliance.UpdateInput, output *fmcappliance.UpdateOutput, err error, t *testing.T) + }{ + { + testName: "successfully updates FMC Appliance name", + input: fmcappliance.NewUpdateInput(FmcSpecificUid, queueTriggerState, stateMachineContext), + + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodPut, + url.UpdateFmcAppliance(baseUrl, FmcSpecificUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validUpdateOutput), + ) + }, + + assertFunc: func(input fmcappliance.UpdateInput, output *fmcappliance.UpdateOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validUpdateOutput, *output) + }, + }, + + { + testName: "error when update FMC Appliance name error", + input: fmcappliance.NewUpdateInput(FmcSpecificUid, queueTriggerState, stateMachineContext), + + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodPut, + url.UpdateFmcAppliance(baseUrl, FmcSpecificUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + }, + + assertFunc: func(input fmcappliance.UpdateInput, output *fmcappliance.UpdateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := fmcappliance.Update( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + testCase.input, + ) + + testCase.assertFunc(testCase.input, output, err, t) + }) + } +} From fd291ceff6be9b55c651379b64569d3f796526d2 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 11:18:40 +0100 Subject: [PATCH 20/31] acceptance update tests && use cloudfmc & cloudftd as name --- client/client.go | 22 ++++++------ .../{cdfmc => cloudfmc}/fixture_test.go | 2 +- .../fmcappliance/fixture_test.go | 2 +- .../fmcappliance/update.go | 0 .../fmcappliance/update_test.go | 2 +- client/device/{cdfmc => cloudfmc}/read.go | 16 ++++----- .../{cdfmc => cloudfmc}/readaccesspolicies.go | 8 +++-- .../readaccesspolicies_test.go | 16 ++++----- .../{cdfmc => cloudfmc}/readsmartlicense.go | 2 +- .../readsmartlicense_test.go | 14 ++++---- .../{cdfmc => cloudfmc}/readspecific.go | 2 +- client/device/{ftdc => cloudftd}/create.go | 32 ++++++++--------- client/device/{ftdc => cloudftd}/delete.go | 20 +++++------ .../device/{ftdc => cloudftd}/read_by_name.go | 6 ++-- .../device/{ftdc => cloudftd}/read_by_uid.go | 2 +- client/device/{ftdc => cloudftd}/retry.go | 2 +- client/device/{ftdc => cloudftd}/update.go | 2 +- .../{ftdc => cloudftd}/updatespecific.go | 4 +-- client/device/read_outputbuilder.go | 2 +- client/device/readall_by_type_test.go | 8 ++--- client/examples/main.go | 19 ++++++++++ client/internal/url/url.go | 7 ++-- .../accesspolicies/accesspolicies.go | 0 .../smartlicense/smartlicense.go | 0 client/model/devicetype/devicetype.go | 8 ++--- provider/internal/device/ftd/operation.go | 35 +++++++------------ provider/internal/device/ftd/resource.go | 6 ++-- provider/internal/device/ftd/resource_test.go | 20 +++++++---- 28 files changed, 135 insertions(+), 124 deletions(-) rename client/device/{cdfmc => cloudfmc}/fixture_test.go (98%) rename client/device/{cdfmc => cloudfmc}/fmcappliance/fixture_test.go (86%) rename client/device/{cdfmc => cloudfmc}/fmcappliance/update.go (100%) rename client/device/{cdfmc => cloudfmc}/fmcappliance/update_test.go (98%) rename client/device/{cdfmc => cloudfmc}/read.go (76%) rename client/device/{cdfmc => cloudfmc}/readaccesspolicies.go (90%) rename client/device/{cdfmc => cloudfmc}/readaccesspolicies_test.go (83%) rename client/device/{cdfmc => cloudfmc}/readsmartlicense.go (97%) rename client/device/{cdfmc => cloudfmc}/readsmartlicense_test.go (85%) rename client/device/{cdfmc => cloudfmc}/readspecific.go (98%) rename client/device/{ftdc => cloudftd}/create.go (85%) rename client/device/{ftdc => cloudftd}/delete.go (64%) rename client/device/{ftdc => cloudftd}/read_by_name.go (90%) rename client/device/{ftdc => cloudftd}/read_by_uid.go (99%) rename client/device/{ftdc => cloudftd}/retry.go (97%) rename client/device/{ftdc => cloudftd}/update.go (97%) rename client/device/{ftdc => cloudftd}/updatespecific.go (91%) create mode 100644 client/examples/main.go rename client/model/{cdfmc => cloudfmc}/accesspolicies/accesspolicies.go (100%) rename client/model/{cdfmc => cloudfmc}/smartlicense/smartlicense.go (100%) diff --git a/client/client.go b/client/client.go index 4460901e..9672bc4d 100644 --- a/client/client.go +++ b/client/client.go @@ -6,7 +6,7 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/connector" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/asa/asaconfig" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/ftdc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudftd" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/genericssh" "net/http" @@ -122,22 +122,22 @@ func (c *Client) DeleteGenericSSH(ctx context.Context, inp genericssh.DeleteInpu return genericssh.Delete(ctx, c.client, inp) } -func (c *Client) ReadFtdcByUid(ctx context.Context, inp ftdc.ReadByUidInput) (*ftdc.ReadByUidOutput, error) { - return ftdc.ReadByUid(ctx, c.client, inp) +func (c *Client) ReadCloudFtdByUid(ctx context.Context, inp cloudftd.ReadByUidInput) (*cloudftd.ReadByUidOutput, error) { + return cloudftd.ReadByUid(ctx, c.client, inp) } -func (c *Client) ReadFtdcByName(ctx context.Context, inp ftdc.ReadByNameInput) (*ftdc.ReadByNameOutput, error) { - return ftdc.ReadByName(ctx, c.client, inp) +func (c *Client) ReadCloudFtdByName(ctx context.Context, inp cloudftd.ReadByNameInput) (*cloudftd.ReadByNameOutput, error) { + return cloudftd.ReadByName(ctx, c.client, inp) } -func (c *Client) CreateFtdc(ctx context.Context, inp ftdc.CreateInput) (*ftdc.CreateOutput, error) { - return ftdc.Create(ctx, c.client, inp) +func (c *Client) CreateCloudFtd(ctx context.Context, inp cloudftd.CreateInput) (*cloudftd.CreateOutput, error) { + return cloudftd.Create(ctx, c.client, inp) } -func (c *Client) UpdateFtdc(ctx context.Context, inp ftdc.UpdateInput) (*ftdc.UpdateOutput, error) { - return ftdc.Update(ctx, c.client, inp) +func (c *Client) UpdateCloudFtd(ctx context.Context, inp cloudftd.UpdateInput) (*cloudftd.UpdateOutput, error) { + return cloudftd.Update(ctx, c.client, inp) } -func (c *Client) DeleteFtdc(ctx context.Context, inp ftdc.DeleteInput) (*ftdc.DeleteOutput, error) { - return ftdc.Delete(ctx, c.client, inp) +func (c *Client) DeleteCloudFtd(ctx context.Context, inp cloudftd.DeleteInput) (*cloudftd.DeleteOutput, error) { + return cloudftd.Delete(ctx, c.client, inp) } diff --git a/client/device/cdfmc/fixture_test.go b/client/device/cloudfmc/fixture_test.go similarity index 98% rename from client/device/cdfmc/fixture_test.go rename to client/device/cloudfmc/fixture_test.go index 60958821..b26a1bdc 100644 --- a/client/device/cdfmc/fixture_test.go +++ b/client/device/cloudfmc/fixture_test.go @@ -1,4 +1,4 @@ -package cdfmc_test +package cloudfmc_test const ( smartLicenseEvalExpiresInDays = 123456 diff --git a/client/device/cdfmc/fmcappliance/fixture_test.go b/client/device/cloudfmc/fmcappliance/fixture_test.go similarity index 86% rename from client/device/cdfmc/fmcappliance/fixture_test.go rename to client/device/cloudfmc/fmcappliance/fixture_test.go index cca5a76d..24342005 100644 --- a/client/device/cdfmc/fmcappliance/fixture_test.go +++ b/client/device/cloudfmc/fmcappliance/fixture_test.go @@ -2,7 +2,7 @@ package fmcappliance_test const ( baseUrl = "https://unit-test.net" - FmcSpecificUid = "unit-test-fmc-specific-uid" + FmcSpecificUid = "unit-test-cloudfmc-specific-uid" queueTriggerState = "unit-test-queue-trigger-state" uid = "unit-test-uid" state = "unit-test-state" diff --git a/client/device/cdfmc/fmcappliance/update.go b/client/device/cloudfmc/fmcappliance/update.go similarity index 100% rename from client/device/cdfmc/fmcappliance/update.go rename to client/device/cloudfmc/fmcappliance/update.go diff --git a/client/device/cdfmc/fmcappliance/update_test.go b/client/device/cloudfmc/fmcappliance/update_test.go similarity index 98% rename from client/device/cdfmc/fmcappliance/update_test.go rename to client/device/cloudfmc/fmcappliance/update_test.go index b3756553..a8a6cb48 100644 --- a/client/device/cdfmc/fmcappliance/update_test.go +++ b/client/device/cloudfmc/fmcappliance/update_test.go @@ -2,7 +2,7 @@ package fmcappliance_test import ( "context" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc/fmcappliance" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc/fmcappliance" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/stretchr/testify/assert" "net/http" diff --git a/client/device/cdfmc/read.go b/client/device/cloudfmc/read.go similarity index 76% rename from client/device/cdfmc/read.go rename to client/device/cloudfmc/read.go index 0ada7596..7575fc43 100644 --- a/client/device/cdfmc/read.go +++ b/client/device/cloudfmc/read.go @@ -1,4 +1,4 @@ -package cdfmc +package cloudfmc import ( "context" @@ -24,21 +24,21 @@ type ReadOutput struct { func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { - client.Logger.Println("reading cdFMC") + client.Logger.Println("reading cloud FMC") - req := device.ReadAllByTypeRequest(ctx, client, device.NewReadAllByTypeInput(devicetype.Cdfmc)) - var cdfmcDevices []ReadOutput - if err := req.Send(&cdfmcDevices); err != nil { + req := device.ReadAllByTypeRequest(ctx, client, device.NewReadAllByTypeInput(devicetype.CloudFmc)) + var cloudFmcDevices []ReadOutput + if err := req.Send(&cloudFmcDevices); err != nil { return nil, err } - if len(cdfmcDevices) == 0 { + if len(cloudFmcDevices) == 0 { return nil, fmt.Errorf("firewall management center (FMC) not found") } - if len(cdfmcDevices) > 1 { + if len(cloudFmcDevices) > 1 { return nil, fmt.Errorf("more than one firewall management center (FMC) found, please report this issue at: %s", cdo.TerraformProviderCDOIssuesUrl) } - return &cdfmcDevices[0], nil + return &cloudFmcDevices[0], nil } diff --git a/client/device/cdfmc/readaccesspolicies.go b/client/device/cloudfmc/readaccesspolicies.go similarity index 90% rename from client/device/cdfmc/readaccesspolicies.go rename to client/device/cloudfmc/readaccesspolicies.go index a665a385..ed019355 100644 --- a/client/device/cdfmc/readaccesspolicies.go +++ b/client/device/cloudfmc/readaccesspolicies.go @@ -1,10 +1,11 @@ -package cdfmc +package cloudfmc import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/accesspolicies" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" + "strconv" ) type ReadAccessPoliciesInput struct { @@ -25,10 +26,11 @@ type ReadAccessPoliciesOutput = accesspolicies.AccessPolicies func ReadAccessPolicies(ctx context.Context, client http.Client, inp ReadAccessPoliciesInput) (*ReadAccessPoliciesOutput, error) { - readUrl := url.ReadAccessPolicies(client.BaseUrl(), inp.DomainUid, inp.Limit) + readUrl := url.ReadAccessPolicies(client.BaseUrl(), inp.DomainUid) req := client.NewGet(ctx, readUrl) req.Header.Add("Fmc-Hostname", inp.FmcHostname) // required, otherwise 500 internal server error + req.QueryParams.Add("limit", strconv.Itoa(inp.Limit)) var outp ReadAccessPoliciesOutput if err := req.Send(&outp); err != nil { diff --git a/client/device/cdfmc/readaccesspolicies_test.go b/client/device/cloudfmc/readaccesspolicies_test.go similarity index 83% rename from client/device/cdfmc/readaccesspolicies_test.go rename to client/device/cloudfmc/readaccesspolicies_test.go index b7f287d3..f650cb63 100644 --- a/client/device/cdfmc/readaccesspolicies_test.go +++ b/client/device/cloudfmc/readaccesspolicies_test.go @@ -1,11 +1,11 @@ -package cdfmc_test +package cloudfmc_test import ( "context" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cdfmc/accesspolicies" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -44,7 +44,7 @@ func TestAccessPoliciesRead(t *testing.T) { domainUid string limit int setupFunc func() - assertFunc func(output *cdfmc.ReadAccessPoliciesOutput, err error, t *testing.T) + assertFunc func(output *cloudfmc.ReadAccessPoliciesOutput, err error, t *testing.T) }{ { testName: "successfully read Access Policies", @@ -57,7 +57,7 @@ func TestAccessPoliciesRead(t *testing.T) { httpmock.NewJsonResponderOrPanic(http.StatusOK, validAccessPolicies), ) }, - assertFunc: func(output *cdfmc.ReadAccessPoliciesOutput, err error, t *testing.T) { + assertFunc: func(output *cloudfmc.ReadAccessPoliciesOutput, err error, t *testing.T) { assert.Nil(t, err) assert.NotNil(t, output) assert.Equal(t, validAccessPolicies, *output) @@ -74,7 +74,7 @@ func TestAccessPoliciesRead(t *testing.T) { httpmock.NewStringResponder(http.StatusInternalServerError, "internal server error"), ) }, - assertFunc: func(output *cdfmc.ReadAccessPoliciesOutput, err error, t *testing.T) { + assertFunc: func(output *cloudfmc.ReadAccessPoliciesOutput, err error, t *testing.T) { assert.Nil(t, output) assert.NotNil(t, err) }, @@ -87,10 +87,10 @@ func TestAccessPoliciesRead(t *testing.T) { testCase.setupFunc() - output, err := cdfmc.ReadAccessPolicies( + output, err := cloudfmc.ReadAccessPolicies( context.Background(), *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), - cdfmc.NewReadAccessPoliciesInput(fmcHostname, domainUid, limit), + cloudfmc.NewReadAccessPoliciesInput(fmcHostname, domainUid, limit), ) testCase.assertFunc(output, err, t) diff --git a/client/device/cdfmc/readsmartlicense.go b/client/device/cloudfmc/readsmartlicense.go similarity index 97% rename from client/device/cdfmc/readsmartlicense.go rename to client/device/cloudfmc/readsmartlicense.go index 29b3722b..573e3ac2 100644 --- a/client/device/cdfmc/readsmartlicense.go +++ b/client/device/cloudfmc/readsmartlicense.go @@ -1,4 +1,4 @@ -package cdfmc +package cloudfmc import ( "context" diff --git a/client/device/cdfmc/readsmartlicense_test.go b/client/device/cloudfmc/readsmartlicense_test.go similarity index 85% rename from client/device/cdfmc/readsmartlicense_test.go rename to client/device/cloudfmc/readsmartlicense_test.go index 0dc8bb03..c40b6449 100644 --- a/client/device/cdfmc/readsmartlicense_test.go +++ b/client/device/cloudfmc/readsmartlicense_test.go @@ -1,8 +1,8 @@ -package cdfmc_test +package cloudfmc_test import ( "context" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" @@ -47,7 +47,7 @@ func TestSmartLicenseRead(t *testing.T) { testCases := []struct { testName string setupFunc func() - assertFunc func(output *cdfmc.ReadSmartLicenseOutput, err error, t *testing.T) + assertFunc func(output *cloudfmc.ReadSmartLicenseOutput, err error, t *testing.T) }{ { testName: "successfully read Smart License", @@ -58,7 +58,7 @@ func TestSmartLicenseRead(t *testing.T) { httpmock.NewJsonResponderOrPanic(http.StatusOK, validSmartLicense), ) }, - assertFunc: func(output *cdfmc.ReadSmartLicenseOutput, err error, t *testing.T) { + assertFunc: func(output *cloudfmc.ReadSmartLicenseOutput, err error, t *testing.T) { assert.Nil(t, err) assert.NotNil(t, output) assert.Equal(t, validSmartLicense, *output) @@ -73,7 +73,7 @@ func TestSmartLicenseRead(t *testing.T) { httpmock.NewStringResponder(http.StatusInternalServerError, "internal server error"), ) }, - assertFunc: func(output *cdfmc.ReadSmartLicenseOutput, err error, t *testing.T) { + assertFunc: func(output *cloudfmc.ReadSmartLicenseOutput, err error, t *testing.T) { assert.Nil(t, output) assert.NotNil(t, err) }, @@ -86,10 +86,10 @@ func TestSmartLicenseRead(t *testing.T) { testCase.setupFunc() - output, err := cdfmc.ReadSmartLicense( + output, err := cloudfmc.ReadSmartLicense( context.Background(), *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), - cdfmc.NewReadSmartLicenseInput(), + cloudfmc.NewReadSmartLicenseInput(), ) testCase.assertFunc(output, err, t) diff --git a/client/device/cdfmc/readspecific.go b/client/device/cloudfmc/readspecific.go similarity index 98% rename from client/device/cdfmc/readspecific.go rename to client/device/cloudfmc/readspecific.go index d8d35e56..189b0a85 100644 --- a/client/device/cdfmc/readspecific.go +++ b/client/device/cloudfmc/readspecific.go @@ -1,4 +1,4 @@ -package cdfmc +package cloudfmc import ( "context" diff --git a/client/device/ftdc/create.go b/client/device/cloudftd/create.go similarity index 85% rename from client/device/ftdc/create.go rename to client/device/cloudftd/create.go index 22cb9391..27e99483 100644 --- a/client/device/ftdc/create.go +++ b/client/device/cloudftd/create.go @@ -1,10 +1,10 @@ -package ftdc +package cloudftd import ( "context" "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" @@ -72,24 +72,20 @@ const FmcDomainUid = "e276abec-e0f2-11e3-8169-6d9ed49b625f" func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { - client.Logger.Println("creating ftdc") + client.Logger.Println("creating cloudftd") - // 1. find cdFMC - fmcRes, err := cdfmc.Read(ctx, client, cdfmc.NewReadInput()) + // 1. find Cloud FMC + fmcRes, err := cloudfmc.Read(ctx, client, cloudfmc.NewReadInput()) if err != nil { return nil, err } - // 2. get cdFMC domain id by looking up FMC's specific device - //fmcSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(fmcRes.SpecificUid)) - //if err != nil { - // return nil, err - //} - - // 3. read access policies using cdFMC domain id - accessPoliciesRes, err := cdfmc.ReadAccessPolicies( + // 2. get Cloud FMC domain id by looking up FMC's specific device + + // 3. read access policies using Cloud FMC domain id + accessPoliciesRes, err := cloudfmc.ReadAccessPolicies( ctx, client, - cdfmc.NewReadAccessPoliciesInput(fmcRes.Host, FmcDomainUid, 1000), // 1000 is what CDO UI uses + cloudfmc.NewReadAccessPoliciesInput(fmcRes.Host, FmcDomainUid, 1000), // 1000 is what CDO UI uses ) if err != nil { return nil, err @@ -113,12 +109,12 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr performanceTier = createInp.PerformanceTier } - // 4. create the ftdc device + // 4. create the cloudftd device createUrl := url.CreateDevice(client.BaseUrl()) createBody := createRequestBody{ Name: createInp.Name, FmcId: fmcRes.Uid, - DeviceType: devicetype.Ftdc, + DeviceType: devicetype.CloudFtd, Metadata: metadata{ AccessPolicyName: selectedPolicy.Name, AccessPolicyId: selectedPolicy.Id, @@ -135,13 +131,13 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return nil, err } - // 5. read created ftdc's specific device's uid + // 5. read created cloudftd's specific device's uid readSpecRes, err := device.ReadSpecific(ctx, client, *device.NewReadSpecificInput(createOup.Uid)) if err != nil { return nil, err } - // 6. initiate ftdc onboarding by triggering a weird endpoint using created ftdc's specific uid + // 6. initiate cloudftd onboarding by triggering a weird endpoint using created cloudftd's specific uid _, err = UpdateSpecific(ctx, client, NewUpdateSpecificFtdInput( readSpecRes.SpecificUid, diff --git a/client/device/ftdc/delete.go b/client/device/cloudftd/delete.go similarity index 64% rename from client/device/ftdc/delete.go rename to client/device/cloudftd/delete.go index 0aa983b1..3375163e 100644 --- a/client/device/ftdc/delete.go +++ b/client/device/cloudftd/delete.go @@ -1,9 +1,9 @@ -package ftdc +package cloudftd import ( "context" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cdfmc/fmcappliance" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc/fmcappliance" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/statemachine" @@ -24,21 +24,21 @@ type DeleteOutput struct { func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*DeleteOutput, error) { - // 1. read FMC that manages this FTDc - cdfmcReadRes, err := cdfmc.Read(ctx, client, cdfmc.NewReadInput()) + // 1. read FMC that manages this cloud FTD + cloudFmcReadRes, err := cloudfmc.Read(ctx, client, cloudfmc.NewReadInput()) if err != nil { return nil, err } // 2. read FMC specific device, i.e. the actual FMC - cdfmcReadSpecificRes, err := cdfmc.ReadSpecific(ctx, client, cdfmc.NewReadSpecificInput(cdfmcReadRes.Uid)) + cloudFmcReadSpecificRes, err := cloudfmc.ReadSpecific(ctx, client, cloudfmc.NewReadSpecificInput(cloudFmcReadRes.Uid)) if err != nil { return nil, err } - // 3. schedule a state machine for fmc to delete the FTDc + // 3. schedule a state machine for cloudfmc to delete the cloud FTD _, err = fmcappliance.Update(ctx, client, fmcappliance.NewUpdateInput( - cdfmcReadSpecificRes.SpecificUid, + cloudFmcReadSpecificRes.SpecificUid, "PENDING_DELETE_FTDC", map[string]string{ "ftdCDeviceIDs": deleteInp.Uid, @@ -48,8 +48,8 @@ func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*De return nil, err } - // 4. wait until the delete FTDc state machine has started - err = retry.Do(statemachine.UntilStarted(ctx, client, cdfmcReadSpecificRes.SpecificUid, "fmceDeleteFtdcStateMachine"), *retry.NewOptionsWithLoggerAndRetries(client.Logger, 3)) + // 4. wait until the delete cloud FTD state machine has started + err = retry.Do(statemachine.UntilStarted(ctx, client, cloudFmcReadSpecificRes.SpecificUid, "fmceDeleteFtdcStateMachine"), retry.DefaultOpts) if err != nil { return nil, err } diff --git a/client/device/ftdc/read_by_name.go b/client/device/cloudftd/read_by_name.go similarity index 90% rename from client/device/ftdc/read_by_name.go rename to client/device/cloudftd/read_by_name.go index 102a7941..e16895c1 100644 --- a/client/device/ftdc/read_by_name.go +++ b/client/device/cloudftd/read_by_name.go @@ -1,4 +1,4 @@ -package ftdc +package cloudftd import ( "context" @@ -27,7 +27,7 @@ type ReadByNameOutput struct { func ReadByName(ctx context.Context, client http.Client, readInp ReadByNameInput) (*ReadByNameOutput, error) { - readUrl := url.ReadDeviceByNameAndType(client.BaseUrl(), readInp.Name, devicetype.Ftdc) + readUrl := url.ReadDeviceByNameAndType(client.BaseUrl(), readInp.Name, devicetype.CloudFtd) req := client.NewGet(ctx, readUrl) var readOutp []ReadByNameOutput @@ -36,7 +36,7 @@ func ReadByName(ctx context.Context, client http.Client, readInp ReadByNameInput } if len(readOutp) == 0 { - return nil, fmt.Errorf("ftd with name: \"%s\" not found", readInp.Name) + return nil, fmt.Errorf("cloudftd with name: \"%s\" not found", readInp.Name) } if len(readOutp) > 1 { diff --git a/client/device/ftdc/read_by_uid.go b/client/device/cloudftd/read_by_uid.go similarity index 99% rename from client/device/ftdc/read_by_uid.go rename to client/device/cloudftd/read_by_uid.go index d4264441..00a5cdc5 100644 --- a/client/device/ftdc/read_by_uid.go +++ b/client/device/cloudftd/read_by_uid.go @@ -1,4 +1,4 @@ -package ftdc +package cloudftd import ( "context" diff --git a/client/device/ftdc/retry.go b/client/device/cloudftd/retry.go similarity index 97% rename from client/device/ftdc/retry.go rename to client/device/cloudftd/retry.go index 04f1d5ff..521cb668 100644 --- a/client/device/ftdc/retry.go +++ b/client/device/cloudftd/retry.go @@ -1,4 +1,4 @@ -package ftdc +package cloudftd import ( "context" diff --git a/client/device/ftdc/update.go b/client/device/cloudftd/update.go similarity index 97% rename from client/device/ftdc/update.go rename to client/device/cloudftd/update.go index 0dfdf3a2..04791389 100644 --- a/client/device/ftdc/update.go +++ b/client/device/cloudftd/update.go @@ -1,4 +1,4 @@ -package ftdc +package cloudftd import ( "context" diff --git a/client/device/ftdc/updatespecific.go b/client/device/cloudftd/updatespecific.go similarity index 91% rename from client/device/ftdc/updatespecific.go rename to client/device/cloudftd/updatespecific.go index b96c1084..331dc502 100644 --- a/client/device/ftdc/updatespecific.go +++ b/client/device/cloudftd/updatespecific.go @@ -1,4 +1,4 @@ -package ftdc +package cloudftd import ( "context" @@ -28,7 +28,7 @@ type updateSpecificRequestBody struct { func UpdateSpecific(ctx context.Context, client http.Client, updateInp UpdateSpecificFtdInput) (*UpdateSpecificFtdOutput, error) { - updateUrl := url.UpdateSpecificFtdc(client.BaseUrl(), updateInp.SpecificUid) + updateUrl := url.UpdateSpecificCloudFtd(client.BaseUrl(), updateInp.SpecificUid) updateBody := updateSpecificRequestBody{ QueueTriggerState: updateInp.QueueTriggerState, diff --git a/client/device/read_outputbuilder.go b/client/device/read_outputbuilder.go index 0192afc5..af9f1c8d 100644 --- a/client/device/read_outputbuilder.go +++ b/client/device/read_outputbuilder.go @@ -33,7 +33,7 @@ func (builder *readOutputBuilder) AsIos() *readOutputBuilder { return builder } -func (builder *readOutputBuilder) AsCdfmc() *readOutputBuilder { +func (builder *readOutputBuilder) AsCloudFmc() *readOutputBuilder { builder.readOutput.DeviceType = "FMCE" return builder } diff --git a/client/device/readall_by_type_test.go b/client/device/readall_by_type_test.go index 578779c0..cd4ef8ea 100644 --- a/client/device/readall_by_type_test.go +++ b/client/device/readall_by_type_test.go @@ -19,14 +19,14 @@ func TestDeviceReadAllByType(t *testing.T) { validDevice1 := device. NewReadOutputBuilder(). - AsCdfmc(). + AsCloudFmc(). WithUid(deviceUid1). WithName(deviceName1). Build() validDevice2 := device. NewReadOutputBuilder(). - AsCdfmc(). + AsCloudFmc(). WithUid(deviceUid2). WithName(deviceName2). Build() @@ -44,7 +44,7 @@ func TestDeviceReadAllByType(t *testing.T) { }{ { testName: "successfully read devices by type", - targetType: devicetype.Cdfmc, + targetType: devicetype.CloudFmc, setupFunc: func() { httpmock.RegisterResponder( http.MethodGet, @@ -60,7 +60,7 @@ func TestDeviceReadAllByType(t *testing.T) { }, { testName: "return error when read devices by type error", - targetType: devicetype.Cdfmc, + targetType: devicetype.CloudFmc, setupFunc: func() { httpmock.RegisterResponder( http.MethodGet, diff --git a/client/examples/main.go b/client/examples/main.go new file mode 100644 index 00000000..71aadb33 --- /dev/null +++ b/client/examples/main.go @@ -0,0 +1,19 @@ +package main + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudftd" +) + +func main() { + client, err := client.New("https://ci.dev.lockhart.io", "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXIiOiIwIiwic2NvcGUiOlsidHJ1c3QiLCJhZTk4ZDI1Zi0xMDg5LTQyODYtYTNjNS01MDVkY2I0NDMxYTIiLCJyZWFkIiwid3JpdGUiXSwiYW1yIjoicHdkIiwicm9sZXMiOlsiUk9MRV9BRE1JTiJdLCJpc3MiOiJpdGQiLCJjbHVzdGVySWQiOiIxIiwiaWQiOiI2NzJjMGE0MS1kMjAzLTQ2YzEtYmE5ZS0wNDVmYWUwYTc5ZGQiLCJzdWJqZWN0VHlwZSI6InVzZXIiLCJqdGkiOiI0MzAxNTMxMS1mYTcyLTQ1NDEtYTc4OS0yNGM2M2JmZTU1ZjYiLCJwYXJlbnRJZCI6ImFlOThkMjVmLTEwODktNDI4Ni1hM2M1LTUwNWRjYjQ0MzFhMiIsImNsaWVudF9pZCI6ImFwaS1jbGllbnQifQ.psPRQHG4UKxYxS-xEjlo40_vTnwBkEmKc-7LSoeGxjXWywFNc1cMUCtE7aENIi-HfDertAKfatmr6ZiJE-9F9Xc1etDqv7LAhFNlKtpYiVzSGPkPbfUINuDWt59Ymy3rRA25SJIuesROVx19eXjJF9IxyGMm5sYRS4H24wd50YoMRjuget_92NXeY-XjcmaL9TSGOmO-tfzMaPs2hE7IjXBcTJaI-btA8UJLczQbkmdADnLB9OFJfHArnkgDXF5hNp8JXg3rAM8UWmJrjSnClx7XLruWISaHWGbzWBE5ydGL9egxA-r2SFmoNWyPODkDRHrivL2oEVPyj46nveWjrQ") + if err != nil { + panic(err) + } + ctx := context.Background() + _, err = client.UpdateCloudFtd(ctx, cloudftd.NewUpdateInput("66827980-584b-4ba1-9ee6-a0a1692c640f", "my-new-name")) + if err != nil { + panic(err) + } +} diff --git a/client/internal/url/url.go b/client/internal/url/url.go index a45b63b7..fe72268a 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -73,11 +73,11 @@ func ReadSmartLicense(baseUrl string) string { return fmt.Sprintf("%s/fmc/api/fmc_platform/v1/license/smartlicenses", baseUrl) } -func ReadAccessPolicies(baseUrl string, domainUid string, limit int) string { - return fmt.Sprintf("%s/fmc/api/fmc_config/v1/domain/%s/policy/accesspolicies?limit=%d", baseUrl, domainUid, limit) +func ReadAccessPolicies(baseUrl string, domainUid string) string { + return fmt.Sprintf("%s/fmc/api/fmc_config/v1/domain/%s/policy/accesspolicies?", baseUrl, domainUid) } -func UpdateSpecificFtdc(baseUrl string, ftdSpecificUid string) string { +func UpdateSpecificCloudFtd(baseUrl string, ftdSpecificUid string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/firepower/ftds/%s", baseUrl, ftdSpecificUid) } @@ -85,7 +85,6 @@ func UpdateFmcAppliance(baseUrl string, fmcSpecificUid string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/fmc/appliance/%s", baseUrl, fmcSpecificUid) } -// example: ${baseUrl}/aegis/rest/v1/services/state-machines/instances?limit=1&q=objectReference.uid:11111111-1111-1111-1111-111111111111&sort=lastActiveDate:desc func ReadStateMachineInstance(baseUrl string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/state-machines/instances", baseUrl) } diff --git a/client/model/cdfmc/accesspolicies/accesspolicies.go b/client/model/cloudfmc/accesspolicies/accesspolicies.go similarity index 100% rename from client/model/cdfmc/accesspolicies/accesspolicies.go rename to client/model/cloudfmc/accesspolicies/accesspolicies.go diff --git a/client/model/cdfmc/smartlicense/smartlicense.go b/client/model/cloudfmc/smartlicense/smartlicense.go similarity index 100% rename from client/model/cdfmc/smartlicense/smartlicense.go rename to client/model/cloudfmc/smartlicense/smartlicense.go diff --git a/client/model/devicetype/devicetype.go b/client/model/devicetype/devicetype.go index e249c5f7..53ee6221 100644 --- a/client/model/devicetype/devicetype.go +++ b/client/model/devicetype/devicetype.go @@ -3,8 +3,8 @@ package devicetype type Type string const ( - Asa Type = "ASA" - Ios Type = "IOS" - Cdfmc Type = "FMCE" - Ftdc Type = "FTDC" + Asa Type = "ASA" + Ios Type = "IOS" + CloudFmc Type = "FMCE" + CloudFtd Type = "FTDC" ) diff --git a/provider/internal/device/ftd/operation.go b/provider/internal/device/ftd/operation.go index 10a3b224..c6c88e64 100644 --- a/provider/internal/device/ftd/operation.go +++ b/provider/internal/device/ftd/operation.go @@ -2,7 +2,7 @@ package ftd import ( "context" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/ftdc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudftd" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" "github.com/CiscoDevnet/terraform-provider-cdo/internal/util" @@ -13,8 +13,8 @@ import ( func Read(ctx context.Context, resource *Resource, stateData *ResourceModel) error { // do read - inp := ftdc.NewReadByNameInput(stateData.Name.ValueString()) - res, err := resource.client.ReadFtdcByName(ctx, inp) + inp := cloudftd.NewReadByNameInput(stateData.Name.ValueString()) + res, err := resource.client.ReadCloudFtdByName(ctx, inp) if err != nil { return err } @@ -26,7 +26,7 @@ func Read(ctx context.Context, resource *Resource, stateData *ResourceModel) err stateData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) stateData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) stateData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) - if res.Metadata.PerformanceTier != nil { // nil means physical ftd + if res.Metadata.PerformanceTier != nil { // nil means physical cloudftd stateData.PerformanceTier = types.StringValue(string(*res.Metadata.PerformanceTier)) } stateData.GeneratedCommand = types.StringValue(res.Metadata.GeneratedCommand) @@ -51,15 +51,14 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er if err != nil { return err } - createInp := ftdc.NewCreateInput( + createInp := cloudftd.NewCreateInput( planData.Name.ValueString(), planData.AccessPolicyName.ValueString(), performanceTier, planData.Virtual.ValueBool(), licenses, ) - res, err := resource.client.CreateFtdc(ctx, createInp) - //fmt.Printf("\ncreate FTDc res: %+v\n", res) + res, err := resource.client.CreateCloudFtd(ctx, createInp) if err != nil { return err } @@ -71,7 +70,7 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er planData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) planData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) planData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) - if res.Metadata.PerformanceTier != nil { // nil means physical ftd + if res.Metadata.PerformanceTier != nil { // nil means physical cloud ftd planData.PerformanceTier = types.StringValue(string(*res.Metadata.PerformanceTier)) } planData.GeneratedCommand = types.StringValue(res.Metadata.GeneratedCommand) @@ -82,33 +81,23 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er func Update(ctx context.Context, resource *Resource, planData *ResourceModel, stateData *ResourceModel) error { // do update - inp := ftdc.NewUpdateInput(stateData.ID.ValueString(), stateData.Name.ValueString()) - res, err := resource.client.UpdateFtdc(ctx, inp) + inp := cloudftd.NewUpdateInput(planData.ID.ValueString(), planData.Name.ValueString()) + res, err := resource.client.UpdateCloudFtd(ctx, inp) if err != nil { return err } // map return struct to model - planData.ID = types.StringValue(res.Uid) - planData.Name = types.StringValue(res.Name) - planData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) - planData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) - planData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) - planData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) - if res.Metadata.PerformanceTier != nil { // nil means physical ftd - planData.PerformanceTier = types.StringValue(string(*res.Metadata.PerformanceTier)) - } - planData.GeneratedCommand = types.StringValue(res.Metadata.GeneratedCommand) + stateData.Name = types.StringValue(res.Name) return nil } func Delete(ctx context.Context, resource *Resource, stateData *ResourceModel) error { - // TODO: fill me // do delete - inp := ftdc.NewDeleteInput(stateData.ID.ValueString()) - _, err := resource.client.DeleteFtdc(ctx, inp) + inp := cloudftd.NewDeleteInput(stateData.ID.ValueString()) + _, err := resource.client.DeleteCloudFtd(ctx, inp) return err } diff --git a/provider/internal/device/ftd/resource.go b/provider/internal/device/ftd/resource.go index 745cde93..fbdcce4b 100644 --- a/provider/internal/device/ftd/resource.go +++ b/provider/internal/device/ftd/resource.go @@ -39,7 +39,7 @@ type ResourceModel struct { } func (r *Resource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { - resp.TypeName = req.ProviderTypeName + "_ftd_device" + resp.TypeName = req.ProviderTypeName + "_ftd_device" // TODO: _cloud_ftd_device ? } func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { @@ -59,7 +59,7 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp Required: true, }, "access_policy_name": schema.StringAttribute{ - MarkdownDescription: "The name of the cdFMC access policy that will be used by the FTD", + MarkdownDescription: "The name of the Cloud FMC access policy that will be used by the FTD", Required: true, // TODO: make this optional, and use default access policy when not given PlanModifiers: []planmodifier.String{ @@ -96,7 +96,7 @@ func (r *Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp // TODO: validate the licenses are valid input. }, "generated_command": schema.StringAttribute{ - MarkdownDescription: "The command to run in the FTD to register itself with cdFMC.", + MarkdownDescription: "The command to run in the FTD to register itself with Cloud FMC.", Computed: true, }, "access_policy_id": schema.StringAttribute{ diff --git a/provider/internal/device/ftd/resource_test.go b/provider/internal/device/ftd/resource_test.go index 5828f5f0..c39590b7 100644 --- a/provider/internal/device/ftd/resource_test.go +++ b/provider/internal/device/ftd/resource_test.go @@ -30,7 +30,7 @@ resource "cdo_ftd_device" "test" { }` var testResource = ResourceType{ - Name: "ci-test-ftd-9", + Name: "ci-test-cloudftd-10", AccessPolicyName: "Default Access Control Policy", PerformanceTier: "FTDv5", Virtual: "false", @@ -39,6 +39,12 @@ var testResource = ResourceType{ } var testResourceConfig = acctest.MustParseTemplate(ResourceTemplate, testResource) +var testResource_NewName = acctest.MustOverrideFields(testResource, map[string]any{ + "Name": "ci-test-cloudftd-new-name", +}) + +var testResourceConfig_NewName = acctest.MustParseTemplate(ResourceTemplate, testResource_NewName) + func TestAccFtdResource(t *testing.T) { resource.Test(t, resource.TestCase{ @@ -66,12 +72,12 @@ func TestAccFtdResource(t *testing.T) { ), }, // Update and Read testing - //{ - // Config: acctest.ProviderConfig() + testResourceConfig, - // Check: resource.ComposeAggregateTestCheckFunc( - // resource.TestCheckResourceAttr("cdo_ios_device.test", "name", testResource.Name), - // ), - //}, + { + Config: acctest.ProviderConfig() + testResourceConfig_NewName, + Check: resource.ComposeAggregateTestCheckFunc( + resource.TestCheckResourceAttr("cdo_ftd_device.test", "name", testResource_NewName.Name), + ), + }, // Delete testing automatically occurs in TestCase }, }) From 78878f866c82232ba437ce9a4430e608f46200ba Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 11:51:14 +0100 Subject: [PATCH 21/31] read fmc domain uid --- .../cloudfmc/fmcplatform/readdomaininfo.go | 40 +++++++++++++++ client/device/cloudftd/create.go | 22 +++++---- client/internal/url/url.go | 4 ++ .../cloudfmc/accesspolicies/accesspolicies.go | 46 +++++------------ client/model/cloudfmc/common.go | 32 ++++++++++++ client/model/cloudfmc/fmcdomain/info.go | 15 ++++++ .../cloudfmc/smartlicense/smartlicense.go | 49 ++----------------- 7 files changed, 120 insertions(+), 88 deletions(-) create mode 100644 client/device/cloudfmc/fmcplatform/readdomaininfo.go create mode 100644 client/model/cloudfmc/common.go create mode 100644 client/model/cloudfmc/fmcdomain/info.go diff --git a/client/device/cloudfmc/fmcplatform/readdomaininfo.go b/client/device/cloudfmc/fmcplatform/readdomaininfo.go new file mode 100644 index 00000000..6fdf3d37 --- /dev/null +++ b/client/device/cloudfmc/fmcplatform/readdomaininfo.go @@ -0,0 +1,40 @@ +package fmcplatform + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmcdomain" +) + +// TODO: use this to fetch +// +// curl --request GET \ +// --url https:///api/fmc_platform/v1/info/domain \ +// --header 'Authorization: Bearer ' + +type ReadDomainInfoInput struct { + FmcHost string +} + +func NewReadDomainInfo(fmcHost string) ReadDomainInfoInput { + return ReadDomainInfoInput{ + FmcHost: fmcHost, + } +} + +type ReadDomainInfoOutput = fmcdomain.Info + +func ReadFmcDomainInfo(ctx context.Context, client http.Client, readInp ReadDomainInfoInput) (*ReadDomainInfoOutput, error) { + + readUrl := url.ReadFmcDomainInfo(readInp.FmcHost) + + req := client.NewGet(ctx, readUrl) + + var outp ReadDomainInfoOutput + if err := req.Send(&outp); err != nil { + return nil, err + } + + return &outp, nil +} diff --git a/client/device/cloudftd/create.go b/client/device/cloudftd/create.go index 27e99483..61f681fa 100644 --- a/client/device/cloudftd/create.go +++ b/client/device/cloudftd/create.go @@ -5,6 +5,7 @@ import ( "fmt" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc/fmcplatform" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" @@ -63,12 +64,7 @@ type metadata struct { PerformanceTier *tier.Type `json:"performanceTier"` } -// TODO: use this to fetch -// -// curl --request GET \ -// --url https:///api/fmc_platform/v1/info/domain \ -// --header 'Authorization: Bearer ' -const FmcDomainUid = "e276abec-e0f2-11e3-8169-6d9ed49b625f" +//const FmcDomainUid = "e276abec-e0f2-11e3-8169-6d9ed49b625f" func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { @@ -79,13 +75,21 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr if err != nil { return nil, err } - // 2. get Cloud FMC domain id by looking up FMC's specific device + + // 2. get FMC domain uid by reading Cloud FMC domain info + readFmcDomainRes, err := fmcplatform.ReadFmcDomainInfo(ctx, client, fmcplatform.NewReadDomainInfo(fmcRes.Host)) + if err != nil { + return nil, err + } + if len(readFmcDomainRes.Items) == 0 { + return nil, fmt.Errorf("fmc domain info not found") + } // 3. read access policies using Cloud FMC domain id accessPoliciesRes, err := cloudfmc.ReadAccessPolicies( ctx, client, - cloudfmc.NewReadAccessPoliciesInput(fmcRes.Host, FmcDomainUid, 1000), // 1000 is what CDO UI uses + cloudfmc.NewReadAccessPoliciesInput(fmcRes.Host, readFmcDomainRes.Items[0].Uuid, 1000), // 1000 is what CDO UI uses ) if err != nil { return nil, err @@ -109,7 +113,7 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr performanceTier = createInp.PerformanceTier } - // 4. create the cloudftd device + // 4. create the cloud ftd device createUrl := url.CreateDevice(client.BaseUrl()) createBody := createRequestBody{ Name: createInp.Name, diff --git a/client/internal/url/url.go b/client/internal/url/url.go index fe72268a..92b48113 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -88,3 +88,7 @@ func UpdateFmcAppliance(baseUrl string, fmcSpecificUid string) string { func ReadStateMachineInstance(baseUrl string) string { return fmt.Sprintf("%s/aegis/rest/v1/services/state-machines/instances", baseUrl) } + +func ReadFmcDomainInfo(fmcHost string) string { + return fmt.Sprintf("https://%s/api/fmc_platform/v1/info/domain", fmcHost) +} diff --git a/client/model/cloudfmc/accesspolicies/accesspolicies.go b/client/model/cloudfmc/accesspolicies/accesspolicies.go index 48c02ebd..1c115e47 100644 --- a/client/model/cloudfmc/accesspolicies/accesspolicies.go +++ b/client/model/cloudfmc/accesspolicies/accesspolicies.go @@ -1,12 +1,14 @@ package accesspolicies +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc" + type AccessPolicies struct { - Items []Item `json:"items"` - Links Links `json:"links"` - Paging Paging `json:"paging"` + Items []Item `json:"items"` + Links cloudfmc.Links `json:"links"` + Paging cloudfmc.Paging `json:"paging"` } -func New(items []Item, links Links, paging Paging) AccessPolicies { +func New(items []Item, links cloudfmc.Links, paging cloudfmc.Paging) AccessPolicies { return AccessPolicies{ Items: items, Links: links, @@ -25,13 +27,13 @@ func (policies *AccessPolicies) Find(name string) (item Item, ok bool) { } type Item struct { - Links Links `json:"links"` - Id string `json:"id"` - Name string `json:"name"` - Type string `json:"type"` + Links cloudfmc.Links `json:"links"` + Id string `json:"id"` + Name string `json:"name"` + Type string `json:"type"` } -func NewItem(id, name, type_ string, links Links) Item { +func NewItem(id, name, type_ string, links cloudfmc.Links) Item { return Item{ Id: id, Name: name, @@ -39,29 +41,3 @@ func NewItem(id, name, type_ string, links Links) Item { Links: links, } } - -type Paging struct { - Count int `json:"count"` - Offset int `json:"offset"` - Limit int `json:"limit"` - Pages int `json:"pages"` -} - -func NewPaging(count, offset, limit, pages int) Paging { - return Paging{ - Count: count, - Offset: offset, - Limit: limit, - Pages: pages, - } -} - -type Links struct { - Self string `json:"self"` -} - -func NewLinks(self string) Links { - return Links{ - Self: self, - } -} diff --git a/client/model/cloudfmc/common.go b/client/model/cloudfmc/common.go new file mode 100644 index 00000000..d6d7c151 --- /dev/null +++ b/client/model/cloudfmc/common.go @@ -0,0 +1,32 @@ +package cloudfmc + +type Paging struct { + Count int `json:"count"` + Offset int `json:"offset"` + Limit int `json:"limit"` + Pages int `json:"pages"` +} + +func NewPaging( + count int, + offset int, + limit int, + pages int, +) Paging { + return Paging{ + Count: count, + Offset: offset, + Limit: limit, + Pages: pages, + } +} + +type Links struct { + Self string `json:"self"` +} + +func NewLinks(self string) Links { + return Links{ + Self: self, + } +} diff --git a/client/model/cloudfmc/fmcdomain/info.go b/client/model/cloudfmc/fmcdomain/info.go new file mode 100644 index 00000000..57e91922 --- /dev/null +++ b/client/model/cloudfmc/fmcdomain/info.go @@ -0,0 +1,15 @@ +package fmcdomain + +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc" + +type Info struct { + Links cloudfmc.Links `json:"links"` + Paging cloudfmc.Paging `json:"paging"` + Items []Item `json:"items"` +} + +type Item struct { + Uuid string `json:"uuid"` + Name string `json:"name"` + Type string `json:"type"` +} diff --git a/client/model/cloudfmc/smartlicense/smartlicense.go b/client/model/cloudfmc/smartlicense/smartlicense.go index 40829d36..6f10b72b 100644 --- a/client/model/cloudfmc/smartlicense/smartlicense.go +++ b/client/model/cloudfmc/smartlicense/smartlicense.go @@ -1,9 +1,11 @@ package smartlicense +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc" + type SmartLicense struct { - Items Items `json:"items"` - Links Links `json:"links"` - Paging Paging `json:"paging"` + Items []Item `json:"items"` + Links cloudfmc.Links `json:"links"` + Paging cloudfmc.Paging `json:"paging"` } func NewSmartLicense(items Items, links Links, paging Paging) SmartLicense { @@ -14,16 +16,6 @@ func NewSmartLicense(items Items, links Links, paging Paging) SmartLicense { } } -type Items struct { - Items []Item `json:"items"` -} - -func NewItems(items ...Item) Items { - return Items{ - Items: items, - } -} - type Item struct { Metadata Metadata `json:"metadata"` RegStatus string `json:"regStatus"` @@ -61,34 +53,3 @@ func NewMetadata( VirtualAccount: virtualAccount, } } - -type Paging struct { - Count int `json:"count"` - Offset int `json:"offset"` - Limit int `json:"limit"` - Pages int `json:"pages"` -} - -func NewPaging( - count int, - offset int, - limit int, - pages int, -) Paging { - return Paging{ - Count: count, - Offset: offset, - Limit: limit, - Pages: pages, - } -} - -type Links struct { - Self string `json:"self"` -} - -func NewLinks(self string) Links { - return Links{ - Self: self, - } -} From abbb35f64185c4b3c137e0b7e0f1483cd53140ec Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 16:34:10 +0100 Subject: [PATCH 22/31] fix unit tests --- .../cloudfmc/readaccesspolicies_test.go | 11 ++--- .../device/cloudfmc/readsmartlicense_test.go | 5 ++- client/internal/url/url.go | 2 +- .../cloudfmc/accesspolicies/accesspolicies.go | 22 +++++----- client/model/cloudfmc/{ => common}/common.go | 2 +- client/model/cloudfmc/fmcdomain/info.go | 10 +++-- .../cloudfmc/smartlicense/smartlicense.go | 12 +++--- client/model/smartlicense/smartlicense.go | 43 ++++--------------- 8 files changed, 44 insertions(+), 63 deletions(-) rename client/model/cloudfmc/{ => common}/common.go (96%) diff --git a/client/device/cloudfmc/readaccesspolicies_test.go b/client/device/cloudfmc/readaccesspolicies_test.go index f650cb63..37eb9334 100644 --- a/client/device/cloudfmc/readaccesspolicies_test.go +++ b/client/device/cloudfmc/readaccesspolicies_test.go @@ -6,6 +6,7 @@ import ( internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -22,16 +23,16 @@ func TestAccessPoliciesRead(t *testing.T) { accessPolicyId, accessPolicyName, accessPolicyType, - accesspolicies.NewLinks(accessPolicySelfLink), + common.NewLinks(accessPolicySelfLink), ), } - validAccessPoliciesPaging := accesspolicies.NewPaging( + validAccessPoliciesPaging := common.NewPaging( accessPolicyCount, accessPolicyOffset, accessPolicyLimit, accessPolicyPages, ) - validAccessPoliciesLink := accesspolicies.NewLinks(accessPolicySelfLink) + validAccessPoliciesLink := common.NewLinks(accessPolicySelfLink) validAccessPolicies := accesspolicies.New( validAccessPolicesItems, @@ -53,7 +54,7 @@ func TestAccessPoliciesRead(t *testing.T) { setupFunc: func() { httpmock.RegisterResponder( http.MethodGet, - url.ReadAccessPolicies(baseUrl, domainUid, limit), + url.ReadAccessPolicies(baseUrl, domainUid), httpmock.NewJsonResponderOrPanic(http.StatusOK, validAccessPolicies), ) }, @@ -70,7 +71,7 @@ func TestAccessPoliciesRead(t *testing.T) { setupFunc: func() { httpmock.RegisterResponder( http.MethodGet, - url.ReadAccessPolicies(baseUrl, domainUid, limit), + url.ReadAccessPolicies(baseUrl, domainUid), httpmock.NewStringResponder(http.StatusInternalServerError, "internal server error"), ) }, diff --git a/client/device/cloudfmc/readsmartlicense_test.go b/client/device/cloudfmc/readsmartlicense_test.go index c40b6449..5089908a 100644 --- a/client/device/cloudfmc/readsmartlicense_test.go +++ b/client/device/cloudfmc/readsmartlicense_test.go @@ -5,6 +5,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" @@ -31,8 +32,8 @@ func TestSmartLicenseRead(t *testing.T) { smartLicenseType, ), ) - validSmartLicenseLinks := smartlicense.NewLinks(smartLicenseSelfLink) - validSmartLicensePaging := smartlicense.NewPaging( + validSmartLicenseLinks := common.NewLinks(smartLicenseSelfLink) + validSmartLicensePaging := common.NewPaging( smartLicenseCount, smartLicenseOffset, smartLicenseLimit, diff --git a/client/internal/url/url.go b/client/internal/url/url.go index 92b48113..a86928e0 100644 --- a/client/internal/url/url.go +++ b/client/internal/url/url.go @@ -74,7 +74,7 @@ func ReadSmartLicense(baseUrl string) string { } func ReadAccessPolicies(baseUrl string, domainUid string) string { - return fmt.Sprintf("%s/fmc/api/fmc_config/v1/domain/%s/policy/accesspolicies?", baseUrl, domainUid) + return fmt.Sprintf("%s/fmc/api/fmc_config/v1/domain/%s/policy/accesspolicies", baseUrl, domainUid) } func UpdateSpecificCloudFtd(baseUrl string, ftdSpecificUid string) string { diff --git a/client/model/cloudfmc/accesspolicies/accesspolicies.go b/client/model/cloudfmc/accesspolicies/accesspolicies.go index 1c115e47..9ccfa6a8 100644 --- a/client/model/cloudfmc/accesspolicies/accesspolicies.go +++ b/client/model/cloudfmc/accesspolicies/accesspolicies.go @@ -1,14 +1,16 @@ package accesspolicies -import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc" +import ( + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" +) type AccessPolicies struct { - Items []Item `json:"items"` - Links cloudfmc.Links `json:"links"` - Paging cloudfmc.Paging `json:"paging"` + Items []Item `json:"items"` + Links common.Links `json:"links"` + Paging common.Paging `json:"paging"` } -func New(items []Item, links cloudfmc.Links, paging cloudfmc.Paging) AccessPolicies { +func New(items []Item, links common.Links, paging common.Paging) AccessPolicies { return AccessPolicies{ Items: items, Links: links, @@ -27,13 +29,13 @@ func (policies *AccessPolicies) Find(name string) (item Item, ok bool) { } type Item struct { - Links cloudfmc.Links `json:"links"` - Id string `json:"id"` - Name string `json:"name"` - Type string `json:"type"` + Links common.Links `json:"links"` + Id string `json:"id"` + Name string `json:"name"` + Type string `json:"type"` } -func NewItem(id, name, type_ string, links cloudfmc.Links) Item { +func NewItem(id, name, type_ string, links common.Links) Item { return Item{ Id: id, Name: name, diff --git a/client/model/cloudfmc/common.go b/client/model/cloudfmc/common/common.go similarity index 96% rename from client/model/cloudfmc/common.go rename to client/model/cloudfmc/common/common.go index d6d7c151..58628c7f 100644 --- a/client/model/cloudfmc/common.go +++ b/client/model/cloudfmc/common/common.go @@ -1,4 +1,4 @@ -package cloudfmc +package common type Paging struct { Count int `json:"count"` diff --git a/client/model/cloudfmc/fmcdomain/info.go b/client/model/cloudfmc/fmcdomain/info.go index 57e91922..6cfd2fc7 100644 --- a/client/model/cloudfmc/fmcdomain/info.go +++ b/client/model/cloudfmc/fmcdomain/info.go @@ -1,11 +1,13 @@ package fmcdomain -import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc" +import ( + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" +) type Info struct { - Links cloudfmc.Links `json:"links"` - Paging cloudfmc.Paging `json:"paging"` - Items []Item `json:"items"` + Links common.Links `json:"links"` + Paging common.Paging `json:"paging"` + Items []Item `json:"items"` } type Item struct { diff --git a/client/model/cloudfmc/smartlicense/smartlicense.go b/client/model/cloudfmc/smartlicense/smartlicense.go index 6f10b72b..4c3b7b1a 100644 --- a/client/model/cloudfmc/smartlicense/smartlicense.go +++ b/client/model/cloudfmc/smartlicense/smartlicense.go @@ -1,14 +1,16 @@ package smartlicense -import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc" +import ( + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" +) type SmartLicense struct { - Items []Item `json:"items"` - Links cloudfmc.Links `json:"links"` - Paging cloudfmc.Paging `json:"paging"` + Items []Item `json:"items"` + Links common.Links `json:"links"` + Paging common.Paging `json:"paging"` } -func NewSmartLicense(items Items, links Links, paging Paging) SmartLicense { +func NewSmartLicense(items []Item, links common.Links, paging common.Paging) SmartLicense { return SmartLicense{ Items: items, Links: links, diff --git a/client/model/smartlicense/smartlicense.go b/client/model/smartlicense/smartlicense.go index 40829d36..6c4450e3 100644 --- a/client/model/smartlicense/smartlicense.go +++ b/client/model/smartlicense/smartlicense.go @@ -1,12 +1,16 @@ package smartlicense +import ( + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" +) + type SmartLicense struct { - Items Items `json:"items"` - Links Links `json:"links"` - Paging Paging `json:"paging"` + Items Items `json:"items"` + Links common.Links `json:"links"` + Paging common.Paging `json:"paging"` } -func NewSmartLicense(items Items, links Links, paging Paging) SmartLicense { +func NewSmartLicense(items Items, links common.Links, paging common.Paging) SmartLicense { return SmartLicense{ Items: items, Links: links, @@ -61,34 +65,3 @@ func NewMetadata( VirtualAccount: virtualAccount, } } - -type Paging struct { - Count int `json:"count"` - Offset int `json:"offset"` - Limit int `json:"limit"` - Pages int `json:"pages"` -} - -func NewPaging( - count int, - offset int, - limit int, - pages int, -) Paging { - return Paging{ - Count: count, - Offset: offset, - Limit: limit, - Pages: pages, - } -} - -type Links struct { - Self string `json:"self"` -} - -func NewLinks(self string) Links { - return Links{ - Self: self, - } -} From 1c72d3a2e678ecf462dc5d224575797f08339fbf Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sat, 26 Aug 2023 22:37:28 +0100 Subject: [PATCH 23/31] read fmc domain info test --- .../cloudfmc/fmcplatform/fixture_test.go | 16 ++++ .../fmcplatform/readdomaininfo_test.go | 89 +++++++++++++++++++ .../cloudfmc/readaccesspolicies_test.go | 8 +- .../device/cloudfmc/readsmartlicense_test.go | 6 +- .../cloudfmc/accesspolicies/accesspolicies.go | 20 ++--- .../cloudfmc/{common => fmccommon}/common.go | 2 +- client/model/cloudfmc/fmcdomain/info.go | 24 ++++- .../cloudfmc/smartlicense/smartlicense.go | 10 +-- client/model/smartlicense/smartlicense.go | 10 +-- 9 files changed, 153 insertions(+), 32 deletions(-) create mode 100644 client/device/cloudfmc/fmcplatform/fixture_test.go create mode 100644 client/device/cloudfmc/fmcplatform/readdomaininfo_test.go rename client/model/cloudfmc/{common => fmccommon}/common.go (95%) diff --git a/client/device/cloudfmc/fmcplatform/fixture_test.go b/client/device/cloudfmc/fmcplatform/fixture_test.go new file mode 100644 index 00000000..02f90073 --- /dev/null +++ b/client/device/cloudfmc/fmcplatform/fixture_test.go @@ -0,0 +1,16 @@ +package fmcplatform_test + +const ( + links = "unit-test-links" + count = 123 + offset = 234 + limit = 345 + pages = 456 + uuid = "unit-test-uuid" + name = "unit-test-name" + type_ = "unit-test-type" + + fmcHostname = "unit-test-fmc.com" + + baseUrl = "https://unit-test.cdo.cisco.com" +) diff --git a/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go b/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go new file mode 100644 index 00000000..da2af3d0 --- /dev/null +++ b/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go @@ -0,0 +1,89 @@ +package fmcplatform_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc/fmcplatform" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmcdomain" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" + + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/jarcoal/httpmock" +) + +func TestReadDomainInfo(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + validOutput := &fmcplatform.ReadDomainInfoOutput{ + Links: fmccommon.NewLinks(links), + Paging: fmccommon.NewPaging(count, offset, limit, pages), + Items: []fmcdomain.Item{ + fmcdomain.NewItem(uuid, name, type_), + }, + } + + testCases := []struct { + testName string + fmcHostname string + setupFunc func() + assertFunc func(output *fmcplatform.ReadDomainInfoOutput, err error, t *testing.T) + }{ + { + testName: "successfully read FMC domain info", + fmcHostname: fmcHostname, + + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadFmcDomainInfo(fmcHostname), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validOutput), + ) + }, + + assertFunc: func(output *fmcplatform.ReadDomainInfoOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validOutput, output) + }, + }, + + { + testName: "error when read FMC domain info error", + fmcHostname: fmcHostname, + + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadFmcDomainInfo(fmcHostname), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + }, + + assertFunc: func(output *fmcplatform.ReadDomainInfoOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := fmcplatform.ReadFmcDomainInfo( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + fmcplatform.NewReadDomainInfo(fmcHostname), + ) + + testCase.assertFunc(output, err, t) + }) + } +} diff --git a/client/device/cloudfmc/readaccesspolicies_test.go b/client/device/cloudfmc/readaccesspolicies_test.go index 37eb9334..54657c58 100644 --- a/client/device/cloudfmc/readaccesspolicies_test.go +++ b/client/device/cloudfmc/readaccesspolicies_test.go @@ -6,7 +6,7 @@ import ( internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -23,16 +23,16 @@ func TestAccessPoliciesRead(t *testing.T) { accessPolicyId, accessPolicyName, accessPolicyType, - common.NewLinks(accessPolicySelfLink), + fmccommon.NewLinks(accessPolicySelfLink), ), } - validAccessPoliciesPaging := common.NewPaging( + validAccessPoliciesPaging := fmccommon.NewPaging( accessPolicyCount, accessPolicyOffset, accessPolicyLimit, accessPolicyPages, ) - validAccessPoliciesLink := common.NewLinks(accessPolicySelfLink) + validAccessPoliciesLink := fmccommon.NewLinks(accessPolicySelfLink) validAccessPolicies := accesspolicies.New( validAccessPolicesItems, diff --git a/client/device/cloudfmc/readsmartlicense_test.go b/client/device/cloudfmc/readsmartlicense_test.go index 5089908a..5991f90a 100644 --- a/client/device/cloudfmc/readsmartlicense_test.go +++ b/client/device/cloudfmc/readsmartlicense_test.go @@ -5,7 +5,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" @@ -32,8 +32,8 @@ func TestSmartLicenseRead(t *testing.T) { smartLicenseType, ), ) - validSmartLicenseLinks := common.NewLinks(smartLicenseSelfLink) - validSmartLicensePaging := common.NewPaging( + validSmartLicenseLinks := fmccommon.NewLinks(smartLicenseSelfLink) + validSmartLicensePaging := fmccommon.NewPaging( smartLicenseCount, smartLicenseOffset, smartLicenseLimit, diff --git a/client/model/cloudfmc/accesspolicies/accesspolicies.go b/client/model/cloudfmc/accesspolicies/accesspolicies.go index 9ccfa6a8..1bf1c954 100644 --- a/client/model/cloudfmc/accesspolicies/accesspolicies.go +++ b/client/model/cloudfmc/accesspolicies/accesspolicies.go @@ -1,16 +1,16 @@ package accesspolicies import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" ) type AccessPolicies struct { - Items []Item `json:"items"` - Links common.Links `json:"links"` - Paging common.Paging `json:"paging"` + Items []Item `json:"items"` + Links fmccommon.Links `json:"links"` + Paging fmccommon.Paging `json:"paging"` } -func New(items []Item, links common.Links, paging common.Paging) AccessPolicies { +func New(items []Item, links fmccommon.Links, paging fmccommon.Paging) AccessPolicies { return AccessPolicies{ Items: items, Links: links, @@ -29,13 +29,13 @@ func (policies *AccessPolicies) Find(name string) (item Item, ok bool) { } type Item struct { - Links common.Links `json:"links"` - Id string `json:"id"` - Name string `json:"name"` - Type string `json:"type"` + Links fmccommon.Links `json:"links"` + Id string `json:"id"` + Name string `json:"name"` + Type string `json:"type"` } -func NewItem(id, name, type_ string, links common.Links) Item { +func NewItem(id, name, type_ string, links fmccommon.Links) Item { return Item{ Id: id, Name: name, diff --git a/client/model/cloudfmc/common/common.go b/client/model/cloudfmc/fmccommon/common.go similarity index 95% rename from client/model/cloudfmc/common/common.go rename to client/model/cloudfmc/fmccommon/common.go index 58628c7f..36c71d3e 100644 --- a/client/model/cloudfmc/common/common.go +++ b/client/model/cloudfmc/fmccommon/common.go @@ -1,4 +1,4 @@ -package common +package fmccommon type Paging struct { Count int `json:"count"` diff --git a/client/model/cloudfmc/fmcdomain/info.go b/client/model/cloudfmc/fmcdomain/info.go index 6cfd2fc7..9ffdd7b9 100644 --- a/client/model/cloudfmc/fmcdomain/info.go +++ b/client/model/cloudfmc/fmcdomain/info.go @@ -1,13 +1,21 @@ package fmcdomain import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" ) type Info struct { - Links common.Links `json:"links"` - Paging common.Paging `json:"paging"` - Items []Item `json:"items"` + Links fmccommon.Links `json:"links"` + Paging fmccommon.Paging `json:"paging"` + Items []Item `json:"items"` +} + +func NewInfo(links fmccommon.Links, paging fmccommon.Paging, items []Item) Info { + return Info{ + Links: links, + Paging: paging, + Items: items, + } } type Item struct { @@ -15,3 +23,11 @@ type Item struct { Name string `json:"name"` Type string `json:"type"` } + +func NewItem(uuid, name, type_ string) Item { + return Item{ + Uuid: uuid, + Name: name, + Type: type_, + } +} diff --git a/client/model/cloudfmc/smartlicense/smartlicense.go b/client/model/cloudfmc/smartlicense/smartlicense.go index 4c3b7b1a..442731e0 100644 --- a/client/model/cloudfmc/smartlicense/smartlicense.go +++ b/client/model/cloudfmc/smartlicense/smartlicense.go @@ -1,16 +1,16 @@ package smartlicense import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" ) type SmartLicense struct { - Items []Item `json:"items"` - Links common.Links `json:"links"` - Paging common.Paging `json:"paging"` + Items []Item `json:"items"` + Links fmccommon.Links `json:"links"` + Paging fmccommon.Paging `json:"paging"` } -func NewSmartLicense(items []Item, links common.Links, paging common.Paging) SmartLicense { +func NewSmartLicense(items []Item, links fmccommon.Links, paging fmccommon.Paging) SmartLicense { return SmartLicense{ Items: items, Links: links, diff --git a/client/model/smartlicense/smartlicense.go b/client/model/smartlicense/smartlicense.go index 6c4450e3..fe4f7730 100644 --- a/client/model/smartlicense/smartlicense.go +++ b/client/model/smartlicense/smartlicense.go @@ -1,16 +1,16 @@ package smartlicense import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/common" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" ) type SmartLicense struct { - Items Items `json:"items"` - Links common.Links `json:"links"` - Paging common.Paging `json:"paging"` + Items Items `json:"items"` + Links fmccommon.Links `json:"links"` + Paging fmccommon.Paging `json:"paging"` } -func NewSmartLicense(items Items, links common.Links, paging common.Paging) SmartLicense { +func NewSmartLicense(items Items, links fmccommon.Links, paging fmccommon.Paging) SmartLicense { return SmartLicense{ Items: items, Links: links, From 9e2331e2d882a25d624d4523d3c2e66d569b3775 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Sun, 27 Aug 2023 11:49:11 +0100 Subject: [PATCH 24/31] cloudfmc test --- client/device/cloudfmc/fixture_test.go | 20 +++- client/device/cloudfmc/read.go | 5 +- client/device/cloudfmc/read_test.go | 114 ++++++++++++++++++++ client/device/cloudfmc/readspecific_test.go | 78 ++++++++++++++ 4 files changed, 212 insertions(+), 5 deletions(-) create mode 100644 client/device/cloudfmc/read_test.go create mode 100644 client/device/cloudfmc/readspecific_test.go diff --git a/client/device/cloudfmc/fixture_test.go b/client/device/cloudfmc/fixture_test.go index b26a1bdc..9263ba60 100644 --- a/client/device/cloudfmc/fixture_test.go +++ b/client/device/cloudfmc/fixture_test.go @@ -1,5 +1,7 @@ package cloudfmc_test +import "time" + const ( smartLicenseEvalExpiresInDays = 123456 smartLicenseEvalUsed = false @@ -14,11 +16,22 @@ const ( smartLicenseLimit = 123456 smartLicensePages = 123456 - baseUrl = "https://unit-test.net" + baseUrl = "https://unit-test.net" + fmcHostname = "https://fmc-hostname.unit-test.net" + fmcUid = "unit-test-fmc-uid" domainUid = "unit-test-domain-uid" limit = 123456 + deviceName = "unit-test-device-name" + deviceUid = "unit-test-uid" + deviceHost = "https://unit-test.com" + devicePort = 1234 + deviceCloudConnectorUId = "unit-tets-uid" + + specificDeviceUid = "unit-test-specific-device-uid" + status = "unit-test-status" + accessPolicySelfLink = "https://unit-test.cdo.cisco.com/api/fmc_config/v1/domain/unit-test-domain-uid/policy/accesspolicies/unit-test-uid" accessPolicyName = "Unit Test Access Control Policy" accessPolicyType = "UnitTestAccessPolicy" @@ -28,3 +41,8 @@ const ( accessPolicyLimit = 123456 accessPolicyPages = 123456 ) + +var ( + deviceCreatedDate = time.Date(1999, 1, 1, 0, 0, 0, 0, time.Local) + deviceLastUpdatedDate = time.Date(1999, 1, 1, 0, 0, 0, 0, time.Local) +) diff --git a/client/device/cloudfmc/read.go b/client/device/cloudfmc/read.go index 7575fc43..97cf7bc8 100644 --- a/client/device/cloudfmc/read.go +++ b/client/device/cloudfmc/read.go @@ -17,10 +17,7 @@ func NewReadInput() ReadInput { return ReadInput{} } -type ReadOutput struct { - device.ReadOutput - Host string `json:"host"` -} +type ReadOutput = device.ReadOutput func Read(ctx context.Context, client http.Client, readInp ReadInput) (*ReadOutput, error) { diff --git a/client/device/cloudfmc/read_test.go b/client/device/cloudfmc/read_test.go new file mode 100644 index 00000000..859e30a0 --- /dev/null +++ b/client/device/cloudfmc/read_test.go @@ -0,0 +1,114 @@ +package cloudfmc_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/jarcoal/httpmock" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" +) + +func TestReadCloudFmc(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + validDevice := device.NewReadOutputBuilder(). + AsCloudFmc(). + WithName(deviceName). + WithUid(deviceUid). + WithLocation(deviceHost, devicePort). + WithCreatedDate(deviceCreatedDate). + WithLastUpdatedDate(deviceLastUpdatedDate). + OnboardedUsingCloudConnector(deviceCloudConnectorUId). + Build() + + validReadDeviceOutput := []device.ReadOutput{ + validDevice, + } + validReadFmcOutput := validDevice + + testCases := []struct { + testName string + setupFunc func() + assertFunc func(output *cloudfmc.ReadOutput, err error, t *testing.T) + }{ + { + testName: "successfully read Cloud FMC", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAllDevicesByType(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadDeviceOutput), + ) + }, + assertFunc: func(output *cloudfmc.ReadOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validReadFmcOutput, *output) + }, + }, + { + testName: "error when read Cloud FMC error", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAllDevicesByType(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + }, + assertFunc: func(output *cloudfmc.ReadOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when no Cloud FMC returned", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAllDevicesByType(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, []device.ReadOutput{}), + ) + }, + assertFunc: func(output *cloudfmc.ReadOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when multiple Cloud FMCs returned", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAllDevicesByType(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, []device.ReadOutput{validDevice, validDevice}), + ) + }, + assertFunc: func(output *cloudfmc.ReadOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := cloudfmc.Read( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + cloudfmc.NewReadInput(), + ) + + testCase.assertFunc(output, err, t) + }) + } +} diff --git a/client/device/cloudfmc/readspecific_test.go b/client/device/cloudfmc/readspecific_test.go new file mode 100644 index 00000000..c51d00cc --- /dev/null +++ b/client/device/cloudfmc/readspecific_test.go @@ -0,0 +1,78 @@ +package cloudfmc_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/statemachine/state" + "github.com/jarcoal/httpmock" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" +) + +func TestReadSpecificCloudFmc(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + validReadSpecificOutput := cloudfmc.ReadSpecificOutput{ + SpecificUid: specificDeviceUid, + DomainUid: domainUid, + State: state.DONE, + Status: status, + } + + testCases := []struct { + testName string + setupFunc func() + assertFunc func(output *cloudfmc.ReadSpecificOutput, err error, t *testing.T) + }{ + { + testName: "successfully read Cloud FMC specific device", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadSpecificDevice(baseUrl, fmcUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadSpecificOutput), + ) + }, + assertFunc: func(output *cloudfmc.ReadSpecificOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validReadSpecificOutput, *output) + }, + }, + { + testName: "error when read Cloud FMC specific device error", + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadSpecificDevice(baseUrl, fmcUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + }, + assertFunc: func(output *cloudfmc.ReadSpecificOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := cloudfmc.ReadSpecific( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + cloudfmc.NewReadSpecificInput(fmcUid), + ) + + testCase.assertFunc(output, err, t) + }) + } +} From abfa12cc0812e7593558b9f279fe5938247b56d4 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Mon, 28 Aug 2023 00:40:54 +0100 Subject: [PATCH 25/31] ftd unit test wip --- client/device/cloudftd/create.go | 32 ++--- client/device/cloudftd/create_test.go | 171 +++++++++++++++++++++++++ client/device/cloudftd/fixture_test.go | 5 + client/device/cloudftd/read_by_uid.go | 8 +- client/device/cloudftd/retry.go | 3 +- 5 files changed, 199 insertions(+), 20 deletions(-) create mode 100644 client/device/cloudftd/create_test.go create mode 100644 client/device/cloudftd/fixture_test.go diff --git a/client/device/cloudftd/create.go b/client/device/cloudftd/create.go index 61f681fa..cf96753a 100644 --- a/client/device/cloudftd/create.go +++ b/client/device/cloudftd/create.go @@ -64,13 +64,11 @@ type metadata struct { PerformanceTier *tier.Type `json:"performanceTier"` } -//const FmcDomainUid = "e276abec-e0f2-11e3-8169-6d9ed49b625f" - func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { client.Logger.Println("creating cloudftd") - // 1. find Cloud FMC + // 1. read Cloud FMC fmcRes, err := cloudfmc.Read(ctx, client, cloudfmc.NewReadInput()) if err != nil { return nil, err @@ -85,7 +83,7 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return nil, fmt.Errorf("fmc domain info not found") } - // 3. read access policies using Cloud FMC domain id + // 3. get access policies using Cloud FMC domain uid accessPoliciesRes, err := cloudfmc.ReadAccessPolicies( ctx, client, @@ -105,7 +103,13 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr } // handle selected license caps - licenseCaps := sliceutil.Map(createInp.Licenses, func(l license.Type) string { return string(l) }) + licenseCaps := strings.Join( // join strings by comma + sliceutil.Map( // map license.Type to string + createInp.Licenses, + func(l license.Type) string { return string(l) }, + ), + ",", + ) // handle performance tier var performanceTier *tier.Type = nil // physical is nil @@ -122,7 +126,7 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr Metadata: metadata{ AccessPolicyName: selectedPolicy.Name, AccessPolicyId: selectedPolicy.Id, - LicenseCaps: strings.Join(licenseCaps, ","), + LicenseCaps: licenseCaps, PerformanceTier: performanceTier, }, State: "NEW", @@ -135,13 +139,13 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return nil, err } - // 5. read created cloudftd's specific device's uid + // 5. read created cloud ftd's specific device's uid readSpecRes, err := device.ReadSpecific(ctx, client, *device.NewReadSpecificInput(createOup.Uid)) if err != nil { return nil, err } - // 6. initiate cloudftd onboarding by triggering a weird endpoint using created cloudftd's specific uid + // 6. initiate cloud ftd onboarding by triggering an endpoint at the specific device _, err = UpdateSpecific(ctx, client, NewUpdateSpecificFtdInput( readSpecRes.SpecificUid, @@ -149,13 +153,9 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr ), ) - // 7. get generate command - err = retry.Do(UntilGeneratedCommandAvailable(ctx, client, createOup.Uid), *retry.NewOptionsWithLoggerAndRetries(client.Logger, 3)) - //readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(createOup.SpecificUid)) - if err != nil { - return nil, err - } - readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(createOup.Uid)) + // 8. wait for generate command available + var metadata Metadata + err = retry.Do(UntilGeneratedCommandAvailable(ctx, client, createOup.Uid, &metadata), *retry.NewOptionsWithLoggerAndRetries(client.Logger, 3)) if err != nil { return nil, err } @@ -164,6 +164,6 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return &CreateOutput{ Uid: createOup.Uid, Name: createOup.Name, - Metadata: readOutp.Metadata, + Metadata: metadata, }, nil } diff --git a/client/device/cloudftd/create_test.go b/client/device/cloudftd/create_test.go new file mode 100644 index 00000000..1090fa60 --- /dev/null +++ b/client/device/cloudftd/create_test.go @@ -0,0 +1,171 @@ +package cloudftd_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudftd" + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/jarcoal/httpmock" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" +) + +func TestCreateCloudFtd(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + testCases := []struct { + testName string + input cloudftd.CreateInput + setupFunc func() + assertFunc func(output *cloudftd.CreateOutput, err error, t *testing.T) + }{ + { + testName: "successfully create Cloud FTD", + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcDomainInfoIsSuccessful(true) + readFmcAccessPoliciesIsSuccessful(true) + createFtdIsSuccessful(true) + readFtdSpecificDeviceIsSuccessful(true) + triggerFtdOnboardingIsSuccessful(true) + generateFtdConfigureManagerCommandIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validFtdCreateOutput, *output) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := cloudftd.Create( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + testCase.input, + ) + + testCase.assertFunc(output, err, t) + }) + } +} + +func readFmcIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAllDevicesByType(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadFmcOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAllDevicesByType(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func readFmcDomainInfoIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadFmcDomainInfo(fmcHost), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadFmcDomainInfoOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadFmcDomainInfo(fmcHost), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func readFmcAccessPoliciesIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAccessPolicies(baseUrl, domainUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadAccessPoliciesOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadAccessPolicies(baseUrl, domainUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func createFtdIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodPost, + url.CreateDevice(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validCreateFtdOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodPost, + url.CreateDevice(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func readFtdSpecificDeviceIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadSpecificDevice(baseUrl, createdFtdUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadFtdSpecificDeviceOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadSpecificDevice(baseUrl, createdFtdUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func triggerFtdOnboardingIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodPut, + url.UpdateSpecificCloudFtd(baseUrl, createSpecificFtdUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validUpdateSpecificFtdOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodPut, + url.UpdateSpecificCloudFtd(baseUrl, createSpecificFtdUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func generateFtdConfigureManagerCommandIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadDevice(baseUrl, createdFtdUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadFtdGeneratedCommandOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadDevice(baseUrl, createdFtdUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} diff --git a/client/device/cloudftd/fixture_test.go b/client/device/cloudftd/fixture_test.go new file mode 100644 index 00000000..8c2c961a --- /dev/null +++ b/client/device/cloudftd/fixture_test.go @@ -0,0 +1,5 @@ +package cloudftd_test + +const ( + baseUrl +) diff --git a/client/device/cloudftd/read_by_uid.go b/client/device/cloudftd/read_by_uid.go index 00a5cdc5..1c3d7165 100644 --- a/client/device/cloudftd/read_by_uid.go +++ b/client/device/cloudftd/read_by_uid.go @@ -36,13 +36,15 @@ type Metadata struct { RegKey string `json:"regKey,omitempty"` } +// custom unmarshal json for metadata, because we need to handle license caps differently, +// it is a string containing command separated values, instead of a json list where it can be parsed directly. func (metadata *Metadata) UnmarshalJSON(data []byte) error { var t struct { AccessPolicyName string `json:"accessPolicyName,omitempty"` AccessPolicyUuid string `json:"accessPolicyUuid,omitempty"` CloudManagerDomain string `json:"cloudManagerDomain,omitempty"` GeneratedCommand string `json:"generatedCommand,omitempty"` - LicenseCaps string `json:"license_caps,omitempty"` + LicenseCaps string `json:"license_caps,omitempty"` // first, unmarshal it into string NatID string `json:"natID,omitempty"` PerformanceTier *tier.Type `json:"performanceTier,omitempty"` RegKey string `json:"regKey,omitempty"` @@ -52,7 +54,7 @@ func (metadata *Metadata) UnmarshalJSON(data []byte) error { return err } - licenseCaps, err := license.ParseAll(t.LicenseCaps) + licenseCaps, err := license.ParseAll(t.LicenseCaps) // now parse it into golang type if err != nil { return err } @@ -65,7 +67,7 @@ func (metadata *Metadata) UnmarshalJSON(data []byte) error { (*metadata).PerformanceTier = t.PerformanceTier (*metadata).RegKey = t.RegKey - (*metadata).LicenseCaps = licenseCaps + (*metadata).LicenseCaps = licenseCaps // set it as usual return nil } diff --git a/client/device/cloudftd/retry.go b/client/device/cloudftd/retry.go index 521cb668..c0a5aec3 100644 --- a/client/device/cloudftd/retry.go +++ b/client/device/cloudftd/retry.go @@ -7,7 +7,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" ) -func UntilGeneratedCommandAvailable(ctx context.Context, client http.Client, uid string) retry.Func { +func UntilGeneratedCommandAvailable(ctx context.Context, client http.Client, uid string, metadata *Metadata) retry.Func { return func() (bool, error) { readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(uid)) @@ -18,6 +18,7 @@ func UntilGeneratedCommandAvailable(ctx context.Context, client http.Client, uid client.Logger.Printf("device metadata=%v\n", readOutp.Metadata) if readOutp.Metadata.GeneratedCommand != "" { + *metadata = readOutp.Metadata return true, nil } else { return false, fmt.Errorf("generated command not found in metadata: %+v", readOutp.Metadata) From fc0b52ff9eb2f2a34cacc9a7a2d8dabe9fe15d79 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Mon, 28 Aug 2023 16:34:00 +0100 Subject: [PATCH 26/31] some test utils --- client/device/cloudfmc/fixture_test.go | 4 +- .../device/cloudfmc/fmcappliance/builder.go | 83 +++++++++++++++++++ client/device/cloudfmc/fmcappliance/update.go | 8 +- client/device/cloudfmc/fmcplatform/builder.go | 20 +++++ .../cloudfmc/fmcplatform/readdomaininfo.go | 6 -- client/device/cloudftd/delete.go | 16 ++-- client/device/cloudftd/fixture_test.go | 19 ++++- 7 files changed, 136 insertions(+), 20 deletions(-) create mode 100644 client/device/cloudfmc/fmcappliance/builder.go create mode 100644 client/device/cloudfmc/fmcplatform/builder.go diff --git a/client/device/cloudfmc/fixture_test.go b/client/device/cloudfmc/fixture_test.go index 9263ba60..d2f1f24f 100644 --- a/client/device/cloudfmc/fixture_test.go +++ b/client/device/cloudfmc/fixture_test.go @@ -22,15 +22,15 @@ const ( fmcUid = "unit-test-fmc-uid" domainUid = "unit-test-domain-uid" limit = 123456 + status = "unit-test-status" deviceName = "unit-test-device-name" deviceUid = "unit-test-uid" deviceHost = "https://unit-test.com" devicePort = 1234 - deviceCloudConnectorUId = "unit-tets-uid" + deviceCloudConnectorUId = "unit-test-uid" specificDeviceUid = "unit-test-specific-device-uid" - status = "unit-test-status" accessPolicySelfLink = "https://unit-test.cdo.cisco.com/api/fmc_config/v1/domain/unit-test-domain-uid/policy/accesspolicies/unit-test-uid" accessPolicyName = "Unit Test Access Control Policy" diff --git a/client/device/cloudfmc/fmcappliance/builder.go b/client/device/cloudfmc/fmcappliance/builder.go new file mode 100644 index 00000000..c33859cc --- /dev/null +++ b/client/device/cloudfmc/fmcappliance/builder.go @@ -0,0 +1,83 @@ +package fmcappliance + +type UpdateInputBuilder struct { + updateInput *UpdateInput +} + +func NewUpdateInputBuilder() *UpdateInputBuilder { + updateInput := &UpdateInput{} + b := &UpdateInputBuilder{updateInput: updateInput} + return b +} + +func (b *UpdateInputBuilder) FmcSpecificUid(fmcSpecificUid string) *UpdateInputBuilder { + b.updateInput.FmcSpecificUid = fmcSpecificUid + return b +} + +func (b *UpdateInputBuilder) QueueTriggerState(queueTriggerState string) *UpdateInputBuilder { + b.updateInput.QueueTriggerState = queueTriggerState + return b +} + +func (b *UpdateInputBuilder) StateMachineContext(stateMachineContext map[string]string) *UpdateInputBuilder { + b.updateInput.StateMachineContext = stateMachineContext + return b +} + +func (b *UpdateInputBuilder) Build() UpdateInput { + return *b.updateInput +} + +type UpdateOutputBuilder struct { + updateOutput *UpdateOutput +} + +func NewUpdateOutputBuilder() *UpdateOutputBuilder { + updateOutput := &UpdateOutput{} + b := &UpdateOutputBuilder{updateOutput: updateOutput} + return b +} + +func (b *UpdateOutputBuilder) Uid(uid string) *UpdateOutputBuilder { + b.updateOutput.Uid = uid + return b +} + +func (b *UpdateOutputBuilder) State(state string) *UpdateOutputBuilder { + b.updateOutput.State = state + return b +} + +func (b *UpdateOutputBuilder) DomainUid(domainUid string) *UpdateOutputBuilder { + b.updateOutput.DomainUid = domainUid + return b +} + +func (b *UpdateOutputBuilder) Build() UpdateOutput { + return *b.updateOutput +} + +type updateRequestBodyBuilder struct { + updateRequestBody *updateRequestBody +} + +func newUpdateRequestBodyBuilder() *updateRequestBodyBuilder { + updateRequestBody := &updateRequestBody{} + b := &updateRequestBodyBuilder{updateRequestBody: updateRequestBody} + return b +} + +func (b *updateRequestBodyBuilder) QueueTriggerState(queueTriggerState string) *updateRequestBodyBuilder { + b.updateRequestBody.QueueTriggerState = queueTriggerState + return b +} + +func (b *updateRequestBodyBuilder) StateMachineContext(stateMachineContext map[string]string) *updateRequestBodyBuilder { + b.updateRequestBody.StateMachineContext = stateMachineContext + return b +} + +func (b *updateRequestBodyBuilder) Build() updateRequestBody { + return *b.updateRequestBody +} diff --git a/client/device/cloudfmc/fmcappliance/update.go b/client/device/cloudfmc/fmcappliance/update.go index f079d791..a524a229 100644 --- a/client/device/cloudfmc/fmcappliance/update.go +++ b/client/device/cloudfmc/fmcappliance/update.go @@ -33,10 +33,10 @@ type updateRequestBody struct { func Update(ctx context.Context, client http.Client, updateInp UpdateInput) (*UpdateOutput, error) { updateUrl := url.UpdateFmcAppliance(client.BaseUrl(), updateInp.FmcSpecificUid) - updateBody := updateRequestBody{ - QueueTriggerState: updateInp.QueueTriggerState, - StateMachineContext: updateInp.StateMachineContext, - } + updateBody := newUpdateRequestBodyBuilder(). + QueueTriggerState(updateInp.QueueTriggerState). + StateMachineContext(updateInp.StateMachineContext). + Build() req := client.NewPut(ctx, updateUrl, updateBody) var updateOup UpdateOutput if err := req.Send(&updateOup); err != nil { diff --git a/client/device/cloudfmc/fmcplatform/builder.go b/client/device/cloudfmc/fmcplatform/builder.go new file mode 100644 index 00000000..87a6b9f3 --- /dev/null +++ b/client/device/cloudfmc/fmcplatform/builder.go @@ -0,0 +1,20 @@ +package fmcplatform + +type ReadDomainInfoInputBuilder struct { + readDomainInfoInput *ReadDomainInfoInput +} + +func NewReadDomainInfoInputBuilder() *ReadDomainInfoInputBuilder { + readDomainInfoInput := &ReadDomainInfoInput{} + b := &ReadDomainInfoInputBuilder{readDomainInfoInput: readDomainInfoInput} + return b +} + +func (b *ReadDomainInfoInputBuilder) FmcHost(fmcHost string) *ReadDomainInfoInputBuilder { + b.readDomainInfoInput.FmcHost = fmcHost + return b +} + +func (b *ReadDomainInfoInputBuilder) Build() ReadDomainInfoInput { + return *b.readDomainInfoInput +} diff --git a/client/device/cloudfmc/fmcplatform/readdomaininfo.go b/client/device/cloudfmc/fmcplatform/readdomaininfo.go index 6fdf3d37..1880860d 100644 --- a/client/device/cloudfmc/fmcplatform/readdomaininfo.go +++ b/client/device/cloudfmc/fmcplatform/readdomaininfo.go @@ -7,12 +7,6 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmcdomain" ) -// TODO: use this to fetch -// -// curl --request GET \ -// --url https:///api/fmc_platform/v1/info/domain \ -// --header 'Authorization: Bearer ' - type ReadDomainInfoInput struct { FmcHost string } diff --git a/client/device/cloudftd/delete.go b/client/device/cloudftd/delete.go index 3375163e..d6e5bcf9 100644 --- a/client/device/cloudftd/delete.go +++ b/client/device/cloudftd/delete.go @@ -37,13 +37,15 @@ func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*De } // 3. schedule a state machine for cloudfmc to delete the cloud FTD - _, err = fmcappliance.Update(ctx, client, fmcappliance.NewUpdateInput( - cloudFmcReadSpecificRes.SpecificUid, - "PENDING_DELETE_FTDC", - map[string]string{ - "ftdCDeviceIDs": deleteInp.Uid, - }, - )) + _, err = fmcappliance.Update( + ctx, + client, + fmcappliance.NewUpdateInputBuilder(). + FmcSpecificUid(cloudFmcReadSpecificRes.SpecificUid). + QueueTriggerState("PENDING_DELETE_FTDC"). + StateMachineContext(map[string]string{"ftdCDeviceIDs": deleteInp.Uid}). + Build(), + ) if err != nil { return nil, err } diff --git a/client/device/cloudftd/fixture_test.go b/client/device/cloudftd/fixture_test.go index 8c2c961a..d5d6f909 100644 --- a/client/device/cloudftd/fixture_test.go +++ b/client/device/cloudftd/fixture_test.go @@ -1,5 +1,22 @@ package cloudftd_test +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + const ( - baseUrl + baseUrl = "https://unit-test.net" + deviceName = "unit-test-device-name" + deviceUid = "unit-test-uid" + deviceHost = "https://unit-test.com" + devicePort = 1234 + deviceCloudConnectorUId = "unit-test-uid" +) + +var ( + validReadFmcOutput = device.NewReadOutputBuilder(). + AsCloudFmc(). + WithName(deviceName). + WithUid(deviceUid). + WithLocation(deviceHost, devicePort). + OnboardedUsingCloudConnector(deviceCloudConnectorUId). + Build() ) From 27490469318ba99e8d6430ae7dfff330ebea5694 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 29 Aug 2023 11:10:07 +0100 Subject: [PATCH 27/31] ftd unit test wip --- client/client.go | 4 +- .../fmcplatform/readdomaininfo_test.go | 6 +- .../cloudfmc/readaccesspolicies_test.go | 8 +- .../device/cloudfmc/readsmartlicense_test.go | 6 +- .../cloudfmc/readspecific_outputbuilder.go | 35 ++++++ .../device/cloudftd/create_metadatabuilder.go | 60 ++++++++++ .../device/cloudftd/create_outputbuilder.go | 30 +++++ client/device/cloudftd/create_test.go | 8 +- client/device/cloudftd/fixture_test.go | 104 ++++++++++++++++-- client/device/cloudftd/read_by_name.go | 10 +- client/device/cloudftd/read_by_uid.go | 6 +- client/device/cloudftd/read_outputbuilder.go | 30 +++++ client/device/cloudftd/readspecific.go | 13 +++ client/device/cloudftd/update.go | 2 +- .../cloudftd/updatespecific_outputbuilder.go | 20 ++++ client/device/create_outputbuilder.go | 3 + client/device/readspecific_inputbuilder.go | 20 ++++ client/device/readspecific_outputbuilder.go | 35 ++++++ .../cloudfmc/accesspolicies/accesspolicies.go | 28 +++-- .../model/cloudfmc/accesspolicies/builder.go | 30 +++++ client/model/cloudfmc/fmcdomain/builder.go | 30 +++++ client/model/cloudfmc/fmcdomain/info.go | 16 ++- .../{fmccommon => internal}/common.go | 2 +- .../cloudfmc/smartlicense/smartlicense.go | 10 +- client/model/smartlicense/smartlicense.go | 10 +- 25 files changed, 462 insertions(+), 64 deletions(-) create mode 100644 client/device/cloudfmc/readspecific_outputbuilder.go create mode 100644 client/device/cloudftd/create_metadatabuilder.go create mode 100644 client/device/cloudftd/create_outputbuilder.go create mode 100644 client/device/cloudftd/read_outputbuilder.go create mode 100644 client/device/cloudftd/readspecific.go create mode 100644 client/device/cloudftd/updatespecific_outputbuilder.go create mode 100644 client/device/create_outputbuilder.go create mode 100644 client/device/readspecific_inputbuilder.go create mode 100644 client/device/readspecific_outputbuilder.go create mode 100644 client/model/cloudfmc/accesspolicies/builder.go create mode 100644 client/model/cloudfmc/fmcdomain/builder.go rename client/model/cloudfmc/{fmccommon => internal}/common.go (95%) diff --git a/client/client.go b/client/client.go index 9672bc4d..b14b58e4 100644 --- a/client/client.go +++ b/client/client.go @@ -122,11 +122,11 @@ func (c *Client) DeleteGenericSSH(ctx context.Context, inp genericssh.DeleteInpu return genericssh.Delete(ctx, c.client, inp) } -func (c *Client) ReadCloudFtdByUid(ctx context.Context, inp cloudftd.ReadByUidInput) (*cloudftd.ReadByUidOutput, error) { +func (c *Client) ReadCloudFtdByUid(ctx context.Context, inp cloudftd.ReadByUidInput) (*cloudftd.ReadOutput, error) { return cloudftd.ReadByUid(ctx, c.client, inp) } -func (c *Client) ReadCloudFtdByName(ctx context.Context, inp cloudftd.ReadByNameInput) (*cloudftd.ReadByNameOutput, error) { +func (c *Client) ReadCloudFtdByName(ctx context.Context, inp cloudftd.ReadByNameInput) (*cloudftd.ReadOutput, error) { return cloudftd.ReadByName(ctx, c.client, inp) } diff --git a/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go b/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go index da2af3d0..dd47cf47 100644 --- a/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go +++ b/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go @@ -4,8 +4,8 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc/fmcplatform" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmcdomain" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" "github.com/stretchr/testify/assert" "net/http" "testing" @@ -20,8 +20,8 @@ func TestReadDomainInfo(t *testing.T) { defer httpmock.DeactivateAndReset() validOutput := &fmcplatform.ReadDomainInfoOutput{ - Links: fmccommon.NewLinks(links), - Paging: fmccommon.NewPaging(count, offset, limit, pages), + Links: internal.NewLinks(links), + Paging: internal.NewPaging(count, offset, limit, pages), Items: []fmcdomain.Item{ fmcdomain.NewItem(uuid, name, type_), }, diff --git a/client/device/cloudfmc/readaccesspolicies_test.go b/client/device/cloudfmc/readaccesspolicies_test.go index 54657c58..4c565311 100644 --- a/client/device/cloudfmc/readaccesspolicies_test.go +++ b/client/device/cloudfmc/readaccesspolicies_test.go @@ -6,7 +6,7 @@ import ( internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -23,16 +23,16 @@ func TestAccessPoliciesRead(t *testing.T) { accessPolicyId, accessPolicyName, accessPolicyType, - fmccommon.NewLinks(accessPolicySelfLink), + internal.NewLinks(accessPolicySelfLink), ), } - validAccessPoliciesPaging := fmccommon.NewPaging( + validAccessPoliciesPaging := internal.NewPaging( accessPolicyCount, accessPolicyOffset, accessPolicyLimit, accessPolicyPages, ) - validAccessPoliciesLink := fmccommon.NewLinks(accessPolicySelfLink) + validAccessPoliciesLink := internal.NewLinks(accessPolicySelfLink) validAccessPolicies := accesspolicies.New( validAccessPolicesItems, diff --git a/client/device/cloudfmc/readsmartlicense_test.go b/client/device/cloudfmc/readsmartlicense_test.go index 5991f90a..272456a8 100644 --- a/client/device/cloudfmc/readsmartlicense_test.go +++ b/client/device/cloudfmc/readsmartlicense_test.go @@ -5,7 +5,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" @@ -32,8 +32,8 @@ func TestSmartLicenseRead(t *testing.T) { smartLicenseType, ), ) - validSmartLicenseLinks := fmccommon.NewLinks(smartLicenseSelfLink) - validSmartLicensePaging := fmccommon.NewPaging( + validSmartLicenseLinks := internal.NewLinks(smartLicenseSelfLink) + validSmartLicensePaging := internal.NewPaging( smartLicenseCount, smartLicenseOffset, smartLicenseLimit, diff --git a/client/device/cloudfmc/readspecific_outputbuilder.go b/client/device/cloudfmc/readspecific_outputbuilder.go new file mode 100644 index 00000000..d8cd6eea --- /dev/null +++ b/client/device/cloudfmc/readspecific_outputbuilder.go @@ -0,0 +1,35 @@ +package cloudfmc + +type ReadSpecificOutputBuilder struct { + readSpecificOutput *ReadSpecificOutput +} + +func NewReadSpecificOutputBuilder() *ReadSpecificOutputBuilder { + readSpecificOutput := &ReadSpecificOutput{} + b := &ReadSpecificOutputBuilder{readSpecificOutput: readSpecificOutput} + return b +} + +func (b *ReadSpecificOutputBuilder) SpecificUid(specificUid string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.SpecificUid = specificUid + return b +} + +func (b *ReadSpecificOutputBuilder) DomainUid(domainUid string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.DomainUid = domainUid + return b +} + +func (b *ReadSpecificOutputBuilder) State(state string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.State = state + return b +} + +func (b *ReadSpecificOutputBuilder) Status(status string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.Status = status + return b +} + +func (b *ReadSpecificOutputBuilder) Build() ReadSpecificOutput { + return *b.readSpecificOutput +} diff --git a/client/device/cloudftd/create_metadatabuilder.go b/client/device/cloudftd/create_metadatabuilder.go new file mode 100644 index 00000000..ae52d343 --- /dev/null +++ b/client/device/cloudftd/create_metadatabuilder.go @@ -0,0 +1,60 @@ +package cloudftd + +import ( + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" +) + +type MetadataBuilder struct { + metadata *Metadata +} + +func NewMetadataBuilder() *MetadataBuilder { + metadata := &Metadata{} + b := &MetadataBuilder{metadata: metadata} + return b +} + +func (b *MetadataBuilder) AccessPolicyName(accessPolicyName string) *MetadataBuilder { + b.metadata.AccessPolicyName = accessPolicyName + return b +} + +func (b *MetadataBuilder) AccessPolicyUuid(accessPolicyUuid string) *MetadataBuilder { + b.metadata.AccessPolicyUuid = accessPolicyUuid + return b +} + +func (b *MetadataBuilder) CloudManagerDomain(cloudManagerDomain string) *MetadataBuilder { + b.metadata.CloudManagerDomain = cloudManagerDomain + return b +} + +func (b *MetadataBuilder) GeneratedCommand(generatedCommand string) *MetadataBuilder { + b.metadata.GeneratedCommand = generatedCommand + return b +} + +func (b *MetadataBuilder) LicenseCaps(licenseCaps []license.Type) *MetadataBuilder { + b.metadata.LicenseCaps = licenseCaps + return b +} + +func (b *MetadataBuilder) NatID(natID string) *MetadataBuilder { + b.metadata.NatID = natID + return b +} + +func (b *MetadataBuilder) PerformanceTier(performanceTier *tier.Type) *MetadataBuilder { + b.metadata.PerformanceTier = performanceTier + return b +} + +func (b *MetadataBuilder) RegKey(regKey string) *MetadataBuilder { + b.metadata.RegKey = regKey + return b +} + +func (b *MetadataBuilder) Build() Metadata { + return *b.metadata +} diff --git a/client/device/cloudftd/create_outputbuilder.go b/client/device/cloudftd/create_outputbuilder.go new file mode 100644 index 00000000..029c1794 --- /dev/null +++ b/client/device/cloudftd/create_outputbuilder.go @@ -0,0 +1,30 @@ +package cloudftd + +type CreateOutputBuilder struct { + createOutput *CreateOutput +} + +func NewCreateOutputBuilder() *CreateOutputBuilder { + createOutput := &CreateOutput{} + b := &CreateOutputBuilder{createOutput: createOutput} + return b +} + +func (b *CreateOutputBuilder) Uid(uid string) *CreateOutputBuilder { + b.createOutput.Uid = uid + return b +} + +func (b *CreateOutputBuilder) Name(name string) *CreateOutputBuilder { + b.createOutput.Name = name + return b +} + +func (b *CreateOutputBuilder) Metadata(metadata Metadata) *CreateOutputBuilder { + b.createOutput.Metadata = metadata + return b +} + +func (b *CreateOutputBuilder) Build() CreateOutput { + return *b.createOutput +} diff --git a/client/device/cloudftd/create_test.go b/client/device/cloudftd/create_test.go index 1090fa60..ede60174 100644 --- a/client/device/cloudftd/create_test.go +++ b/client/device/cloudftd/create_test.go @@ -94,13 +94,13 @@ func readFmcAccessPoliciesIsSuccessful(success bool) { if success { httpmock.RegisterResponder( http.MethodGet, - url.ReadAccessPolicies(baseUrl, domainUid), + url.ReadAccessPolicies(baseUrl, fmcDomainUid), httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadAccessPoliciesOutput), ) } else { httpmock.RegisterResponder( http.MethodGet, - url.ReadAccessPolicies(baseUrl, domainUid), + url.ReadAccessPolicies(baseUrl, fmcDomainUid), httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), ) } @@ -126,13 +126,13 @@ func readFtdSpecificDeviceIsSuccessful(success bool) { if success { httpmock.RegisterResponder( http.MethodGet, - url.ReadSpecificDevice(baseUrl, createdFtdUid), + url.ReadSpecificDevice(baseUrl, ftdUid), httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadFtdSpecificDeviceOutput), ) } else { httpmock.RegisterResponder( http.MethodGet, - url.ReadSpecificDevice(baseUrl, createdFtdUid), + url.ReadSpecificDevice(baseUrl, ftdUid), httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), ) } diff --git a/client/device/cloudftd/fixture_test.go b/client/device/cloudftd/fixture_test.go index d5d6f909..916bb69f 100644 --- a/client/device/cloudftd/fixture_test.go +++ b/client/device/cloudftd/fixture_test.go @@ -1,22 +1,110 @@ package cloudftd_test -import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" +import ( + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudftd" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmcdomain" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" +) const ( - baseUrl = "https://unit-test.net" + baseUrl = "https://unit-test.net" + deviceName = "unit-test-device-name" deviceUid = "unit-test-uid" deviceHost = "https://unit-test.com" devicePort = 1234 - deviceCloudConnectorUId = "unit-test-uid" + deviceCloudConnectorUId = "unit-test-device-connector-uid" + + fmcDomainUid = "unit-test-domain-uid" + fmcHost = "unit-test-fmc-host.com" + fmcLink = "unit-test-fmc-link" + + fmcDomainPages = 123 + fmcDomainCount = 123 + fmcDomainOffset = 123 + fmcDomainLimit = 123 + fmcDomainItemName = "unit-test-fmcDomainItemName" + fmcDomainItemType = "unit-test-fmcDomainItemType" + fmcDomainItemUid = "unit-test-fmcDomainItemUid" + + fmcAccessPolicyPages = 123 + fmcAccessPolicyCount = 123 + fmcAccessPolicyOffset = 123 + fmcAccessPolicyLimit = 123 + fmcAccessPolicyItemName = "unit-test-access-policy-item-name" + fmcAccessPolicyItemType = "unit-test-access-policy-item-type" + fmcAccessPolicyItemUid = "unit-test-access-policy-item-uid" + + ftdName = "unit-test-ftdName" + ftdUid = "unit-test-ftdUid" + + ftdGeneratedCommand = "unit-test-ftdGeneratedCommand" + ftdAccessPolicyName = "unit-test-ftdAccessPolicyName" + ftdNatID = "unit-test-ftdNatID" + ftdCloudManagerDomain = "unit-test-ftdCloudManagerDomain" + ftdRegKey = "unit-test-ftdRegKey" +) + +var ( + ftdLicenseCaps = []license.Type{license.Base, license.Carrier} + ftdPerformanceTier = tier.FTDv5 ) var ( validReadFmcOutput = device.NewReadOutputBuilder(). - AsCloudFmc(). - WithName(deviceName). - WithUid(deviceUid). - WithLocation(deviceHost, devicePort). - OnboardedUsingCloudConnector(deviceCloudConnectorUId). + AsCloudFmc(). + WithName(deviceName). + WithUid(deviceUid). + WithLocation(deviceHost, devicePort). + OnboardedUsingCloudConnector(deviceCloudConnectorUId). + Build() + + validReadFmcDomainInfoOutput = fmcdomain.NewInfoBuilder(). + Links(fmcdomain.NewLinks(fmcLink)). + Paging(fmcdomain.NewPaging(fmcDomainCount, fmcDomainOffset, fmcDomainLimit, fmcDomainPages)). + Items([]fmcdomain.Item{ + fmcdomain.NewItem( + fmcDomainItemUid, + fmcDomainItemName, + fmcDomainItemType, + ), + }). Build() + + validReadAccessPoliciesOutput = accesspolicies.NewAccessPoliciesBuilder(). + Links(accesspolicies.NewLinks(fmcLink)). + Paging(accesspolicies.NewPaging( + fmcAccessPolicyPages, + fmcAccessPolicyCount, + fmcAccessPolicyOffset, + fmcAccessPolicyLimit, + )). + Items([]accesspolicies.Item{accesspolicies.NewItem( + fmcAccessPolicyItemUid, + fmcAccessPolicyItemName, + fmcAccessPolicyItemType, + accesspolicies.NewLinks(fmcLink), + )}). + Build() + + validCreateFtdOutput = cloudftd.NewCreateOutputBuilder(). + Name(ftdName). + Uid(ftdUid). + Metadata(cloudftd.NewMetadataBuilder(). + LicenseCaps(ftdLicenseCaps). + GeneratedCommand(ftdGeneratedCommand). + AccessPolicyName(ftdAccessPolicyName). + PerformanceTier(&ftdPerformanceTier). + NatID(ftdNatID). + CloudManagerDomain(ftdCloudManagerDomain). + RegKey(ftdRegKey). + Build()). + Build() + + validUpdateSpecificFtdOutput = cloudftd.NewUpdateSpecificFtdOutputBuilder(). + SpecificUid(ftdSpecificUid). + Build() ) diff --git a/client/device/cloudftd/read_by_name.go b/client/device/cloudftd/read_by_name.go index e16895c1..f105c0a2 100644 --- a/client/device/cloudftd/read_by_name.go +++ b/client/device/cloudftd/read_by_name.go @@ -19,18 +19,12 @@ func NewReadByNameInput(name string) ReadByNameInput { } } -type ReadByNameOutput struct { - Uid string `json:"uid"` - Name string `json:"name"` - Metadata Metadata `json:"metadata,omitempty"` -} - -func ReadByName(ctx context.Context, client http.Client, readInp ReadByNameInput) (*ReadByNameOutput, error) { +func ReadByName(ctx context.Context, client http.Client, readInp ReadByNameInput) (*ReadOutput, error) { readUrl := url.ReadDeviceByNameAndType(client.BaseUrl(), readInp.Name, devicetype.CloudFtd) req := client.NewGet(ctx, readUrl) - var readOutp []ReadByNameOutput + var readOutp []ReadOutput if err := req.Send(&readOutp); err != nil { return nil, err } diff --git a/client/device/cloudftd/read_by_uid.go b/client/device/cloudftd/read_by_uid.go index 1c3d7165..ede6b9a9 100644 --- a/client/device/cloudftd/read_by_uid.go +++ b/client/device/cloudftd/read_by_uid.go @@ -19,7 +19,7 @@ func NewReadByUidInput(uid string) ReadByUidInput { } } -type ReadByUidOutput struct { +type ReadOutput struct { Uid string `json:"uid"` Name string `json:"name"` Metadata Metadata `json:"metadata,omitempty"` @@ -72,12 +72,12 @@ func (metadata *Metadata) UnmarshalJSON(data []byte) error { return nil } -func ReadByUid(ctx context.Context, client http.Client, readInp ReadByUidInput) (*ReadByUidOutput, error) { +func ReadByUid(ctx context.Context, client http.Client, readInp ReadByUidInput) (*ReadOutput, error) { readUrl := url.ReadDevice(client.BaseUrl(), readInp.Uid) req := client.NewGet(ctx, readUrl) - var readOutp ReadByUidOutput + var readOutp ReadOutput if err := req.Send(&readOutp); err != nil { return nil, err } diff --git a/client/device/cloudftd/read_outputbuilder.go b/client/device/cloudftd/read_outputbuilder.go new file mode 100644 index 00000000..ee752b56 --- /dev/null +++ b/client/device/cloudftd/read_outputbuilder.go @@ -0,0 +1,30 @@ +package cloudftd + +type ReadOutputBuilder struct { + readOutput *ReadOutput +} + +func NewReadOutputBuilder() *ReadOutputBuilder { + readOutput := &ReadOutput{} + b := &ReadOutputBuilder{readOutput: readOutput} + return b +} + +func (b *ReadOutputBuilder) Uid(uid string) *ReadOutputBuilder { + b.readOutput.Uid = uid + return b +} + +func (b *ReadOutputBuilder) Name(name string) *ReadOutputBuilder { + b.readOutput.Name = name + return b +} + +func (b *ReadOutputBuilder) Metadata(metadata Metadata) *ReadOutputBuilder { + b.readOutput.Metadata = metadata + return b +} + +func (b *ReadOutputBuilder) Build() ReadOutput { + return *b.readOutput +} diff --git a/client/device/cloudftd/readspecific.go b/client/device/cloudftd/readspecific.go new file mode 100644 index 00000000..2134c241 --- /dev/null +++ b/client/device/cloudftd/readspecific.go @@ -0,0 +1,13 @@ +package cloudftd + +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + +var ReadSpecific = device.ReadSpecific + +type ReadSpecificInput = device.ReadSpecificInput + +type ReadSpecificOutput = device.ReadSpecificOutput + +var NewReadSpecificInputBuilder = device.NewReadSpecificInputBuilder + +var NewReadSpecificOutputBuilder = device.NewReadSpecificOutputBuilder diff --git a/client/device/cloudftd/update.go b/client/device/cloudftd/update.go index 04791389..6f324fbd 100644 --- a/client/device/cloudftd/update.go +++ b/client/device/cloudftd/update.go @@ -22,7 +22,7 @@ type updateRequestBody struct { Name string `json:"name"` } -type UpdateOutput = ReadByUidOutput +type UpdateOutput = ReadOutput func Update(ctx context.Context, client http.Client, updateInp UpdateInput) (*UpdateOutput, error) { diff --git a/client/device/cloudftd/updatespecific_outputbuilder.go b/client/device/cloudftd/updatespecific_outputbuilder.go new file mode 100644 index 00000000..4efe2573 --- /dev/null +++ b/client/device/cloudftd/updatespecific_outputbuilder.go @@ -0,0 +1,20 @@ +package cloudftd + +type UpdateSpecificFtdOutputBuilder struct { + updateSpecificFtdOutput *UpdateSpecificFtdOutput +} + +func NewUpdateSpecificFtdOutputBuilder() *UpdateSpecificFtdOutputBuilder { + updateSpecificFtdOutput := &UpdateSpecificFtdOutput{} + b := &UpdateSpecificFtdOutputBuilder{updateSpecificFtdOutput: updateSpecificFtdOutput} + return b +} + +func (b *UpdateSpecificFtdOutputBuilder) SpecificUid(specificUid string) *UpdateSpecificFtdOutputBuilder { + b.updateSpecificFtdOutput.SpecificUid = specificUid + return b +} + +func (b *UpdateSpecificFtdOutputBuilder) Build() UpdateSpecificFtdOutput { + return *b.updateSpecificFtdOutput +} diff --git a/client/device/create_outputbuilder.go b/client/device/create_outputbuilder.go new file mode 100644 index 00000000..6ea7e9bc --- /dev/null +++ b/client/device/create_outputbuilder.go @@ -0,0 +1,3 @@ +package device + +var NewCreateOutputBuilder = NewReadOutputBuilder diff --git a/client/device/readspecific_inputbuilder.go b/client/device/readspecific_inputbuilder.go new file mode 100644 index 00000000..86f304ec --- /dev/null +++ b/client/device/readspecific_inputbuilder.go @@ -0,0 +1,20 @@ +package device + +type ReadSpecificInputBuilder struct { + readSpecificInput *ReadSpecificInput +} + +func NewReadSpecificInputBuilder() *ReadSpecificInputBuilder { + readSpecificInput := &ReadSpecificInput{} + b := &ReadSpecificInputBuilder{readSpecificInput: readSpecificInput} + return b +} + +func (b *ReadSpecificInputBuilder) Uid(uid string) *ReadSpecificInputBuilder { + b.readSpecificInput.Uid = uid + return b +} + +func (b *ReadSpecificInputBuilder) Build() ReadSpecificInput { + return *b.readSpecificInput +} diff --git a/client/device/readspecific_outputbuilder.go b/client/device/readspecific_outputbuilder.go new file mode 100644 index 00000000..a46cbfe8 --- /dev/null +++ b/client/device/readspecific_outputbuilder.go @@ -0,0 +1,35 @@ +package device + +type ReadSpecificOutputBuilder struct { + readSpecificOutput *ReadSpecificOutput +} + +func NewReadSpecificOutputBuilder() *ReadSpecificOutputBuilder { + readSpecificOutput := &ReadSpecificOutput{} + b := &ReadSpecificOutputBuilder{readSpecificOutput: readSpecificOutput} + return b +} + +func (b *ReadSpecificOutputBuilder) SpecificUid(specificUid string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.SpecificUid = specificUid + return b +} + +func (b *ReadSpecificOutputBuilder) State(state string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.State = state + return b +} + +func (b *ReadSpecificOutputBuilder) Namespace(namespace string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.Namespace = namespace + return b +} + +func (b *ReadSpecificOutputBuilder) Type(type_ string) *ReadSpecificOutputBuilder { + b.readSpecificOutput.Type = type_ + return b +} + +func (b *ReadSpecificOutputBuilder) Build() ReadSpecificOutput { + return *b.readSpecificOutput +} diff --git a/client/model/cloudfmc/accesspolicies/accesspolicies.go b/client/model/cloudfmc/accesspolicies/accesspolicies.go index 1bf1c954..d385b56c 100644 --- a/client/model/cloudfmc/accesspolicies/accesspolicies.go +++ b/client/model/cloudfmc/accesspolicies/accesspolicies.go @@ -1,16 +1,14 @@ package accesspolicies -import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" -) +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" type AccessPolicies struct { - Items []Item `json:"items"` - Links fmccommon.Links `json:"links"` - Paging fmccommon.Paging `json:"paging"` + Items []Item `json:"items"` + Links Links `json:"links"` + Paging Paging `json:"paging"` } -func New(items []Item, links fmccommon.Links, paging fmccommon.Paging) AccessPolicies { +func New(items []Item, links Links, paging Paging) AccessPolicies { return AccessPolicies{ Items: items, Links: links, @@ -29,13 +27,13 @@ func (policies *AccessPolicies) Find(name string) (item Item, ok bool) { } type Item struct { - Links fmccommon.Links `json:"links"` - Id string `json:"id"` - Name string `json:"name"` - Type string `json:"type"` + Links Links `json:"links"` + Id string `json:"id"` + Name string `json:"name"` + Type string `json:"type"` } -func NewItem(id, name, type_ string, links fmccommon.Links) Item { +func NewItem(id, name, type_ string, links Links) Item { return Item{ Id: id, Name: name, @@ -43,3 +41,9 @@ func NewItem(id, name, type_ string, links fmccommon.Links) Item { Links: links, } } + +type Links = internal.Links +type Paging = internal.Paging + +var NewLinks = internal.NewLinks +var NewPaging = internal.NewPaging diff --git a/client/model/cloudfmc/accesspolicies/builder.go b/client/model/cloudfmc/accesspolicies/builder.go new file mode 100644 index 00000000..d9064644 --- /dev/null +++ b/client/model/cloudfmc/accesspolicies/builder.go @@ -0,0 +1,30 @@ +package accesspolicies + +type Builder struct { + accessPolicies *AccessPolicies +} + +func NewAccessPoliciesBuilder() *Builder { + accessPolicies := &AccessPolicies{} + b := &Builder{accessPolicies: accessPolicies} + return b +} + +func (b *Builder) Items(items []Item) *Builder { + b.accessPolicies.Items = items + return b +} + +func (b *Builder) Links(links Links) *Builder { + b.accessPolicies.Links = links + return b +} + +func (b *Builder) Paging(paging Paging) *Builder { + b.accessPolicies.Paging = paging + return b +} + +func (b *Builder) Build() AccessPolicies { + return *b.accessPolicies +} diff --git a/client/model/cloudfmc/fmcdomain/builder.go b/client/model/cloudfmc/fmcdomain/builder.go new file mode 100644 index 00000000..d64f2cbb --- /dev/null +++ b/client/model/cloudfmc/fmcdomain/builder.go @@ -0,0 +1,30 @@ +package fmcdomain + +type InfoBuilder struct { + info *Info +} + +func NewInfoBuilder() *InfoBuilder { + info := &Info{} + b := &InfoBuilder{info: info} + return b +} + +func (b *InfoBuilder) Links(links Links) *InfoBuilder { + b.info.Links = links + return b +} + +func (b *InfoBuilder) Paging(paging Paging) *InfoBuilder { + b.info.Paging = paging + return b +} + +func (b *InfoBuilder) Items(items []Item) *InfoBuilder { + b.info.Items = items + return b +} + +func (b *InfoBuilder) Build() Info { + return *b.info +} diff --git a/client/model/cloudfmc/fmcdomain/info.go b/client/model/cloudfmc/fmcdomain/info.go index 9ffdd7b9..96236b92 100644 --- a/client/model/cloudfmc/fmcdomain/info.go +++ b/client/model/cloudfmc/fmcdomain/info.go @@ -1,16 +1,16 @@ package fmcdomain import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" ) type Info struct { - Links fmccommon.Links `json:"links"` - Paging fmccommon.Paging `json:"paging"` - Items []Item `json:"items"` + Links Links `json:"links"` + Paging Paging `json:"paging"` + Items []Item `json:"items"` } -func NewInfo(links fmccommon.Links, paging fmccommon.Paging, items []Item) Info { +func NewInfo(links Links, paging Paging, items []Item) Info { return Info{ Links: links, Paging: paging, @@ -31,3 +31,9 @@ func NewItem(uuid, name, type_ string) Item { Type: type_, } } + +type Links = internal.Links +type Paging = internal.Paging + +var NewLinks = internal.NewLinks +var NewPaging = internal.NewPaging diff --git a/client/model/cloudfmc/fmccommon/common.go b/client/model/cloudfmc/internal/common.go similarity index 95% rename from client/model/cloudfmc/fmccommon/common.go rename to client/model/cloudfmc/internal/common.go index 36c71d3e..8a5bfd80 100644 --- a/client/model/cloudfmc/fmccommon/common.go +++ b/client/model/cloudfmc/internal/common.go @@ -1,4 +1,4 @@ -package fmccommon +package internal type Paging struct { Count int `json:"count"` diff --git a/client/model/cloudfmc/smartlicense/smartlicense.go b/client/model/cloudfmc/smartlicense/smartlicense.go index 442731e0..706cd626 100644 --- a/client/model/cloudfmc/smartlicense/smartlicense.go +++ b/client/model/cloudfmc/smartlicense/smartlicense.go @@ -1,16 +1,16 @@ package smartlicense import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" ) type SmartLicense struct { - Items []Item `json:"items"` - Links fmccommon.Links `json:"links"` - Paging fmccommon.Paging `json:"paging"` + Items []Item `json:"items"` + Links internal.Links `json:"links"` + Paging internal.Paging `json:"paging"` } -func NewSmartLicense(items []Item, links fmccommon.Links, paging fmccommon.Paging) SmartLicense { +func NewSmartLicense(items []Item, links internal.Links, paging internal.Paging) SmartLicense { return SmartLicense{ Items: items, Links: links, diff --git a/client/model/smartlicense/smartlicense.go b/client/model/smartlicense/smartlicense.go index fe4f7730..40550e34 100644 --- a/client/model/smartlicense/smartlicense.go +++ b/client/model/smartlicense/smartlicense.go @@ -1,16 +1,16 @@ package smartlicense import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmccommon" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" ) type SmartLicense struct { - Items Items `json:"items"` - Links fmccommon.Links `json:"links"` - Paging fmccommon.Paging `json:"paging"` + Items Items `json:"items"` + Links internal.Links `json:"links"` + Paging internal.Paging `json:"paging"` } -func NewSmartLicense(items Items, links fmccommon.Links, paging fmccommon.Paging) SmartLicense { +func NewSmartLicense(items Items, links internal.Links, paging internal.Paging) SmartLicense { return SmartLicense{ Items: items, Links: links, From a7fc37e068846816be2d388b6309e966bb296f08 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 29 Aug 2023 15:25:56 +0100 Subject: [PATCH 28/31] create unit test done --- .../cloudfmc/fmcplatform/readdomaininfo.go | 2 + .../fmcplatform/readdomaininfo_test.go | 5 +- client/device/cloudfmc/readaccesspolicies.go | 2 + .../cloudfmc/readaccesspolicies_test.go | 7 +- client/device/cloudfmc/readsmartlicense.go | 2 +- .../device/cloudfmc/readsmartlicense_test.go | 11 ++- client/device/cloudftd/create.go | 40 ++++------ .../device/cloudftd/create_metadatabuilder.go | 2 +- .../device/cloudftd/create_outputbuilder.go | 2 +- client/device/cloudftd/create_test.go | 11 +-- client/device/cloudftd/fixture_test.go | 64 ++++++++++------ client/device/cloudftd/metadata.go | 75 +++++++++++++++++++ client/device/cloudftd/read_by_uid.go | 50 ------------- client/device/cloudftd/retry.go | 2 + client/device/cloudftd/updatespecific.go | 2 + .../cloudfmc/smartlicense/smartlicense.go | 18 +++-- client/model/ftd/license/license.go | 49 +++--------- client/model/smartlicense/smartlicense.go | 67 ----------------- 18 files changed, 181 insertions(+), 230 deletions(-) create mode 100644 client/device/cloudftd/metadata.go delete mode 100644 client/model/smartlicense/smartlicense.go diff --git a/client/device/cloudfmc/fmcplatform/readdomaininfo.go b/client/device/cloudfmc/fmcplatform/readdomaininfo.go index 1880860d..5df3a7bf 100644 --- a/client/device/cloudfmc/fmcplatform/readdomaininfo.go +++ b/client/device/cloudfmc/fmcplatform/readdomaininfo.go @@ -21,6 +21,8 @@ type ReadDomainInfoOutput = fmcdomain.Info func ReadFmcDomainInfo(ctx context.Context, client http.Client, readInp ReadDomainInfoInput) (*ReadDomainInfoOutput, error) { + client.Logger.Println("reading FMC domain info") + readUrl := url.ReadFmcDomainInfo(readInp.FmcHost) req := client.NewGet(ctx, readUrl) diff --git a/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go b/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go index dd47cf47..dc02fa67 100644 --- a/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go +++ b/client/device/cloudfmc/fmcplatform/readdomaininfo_test.go @@ -5,7 +5,6 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc/fmcplatform" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmcdomain" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" "github.com/stretchr/testify/assert" "net/http" "testing" @@ -20,8 +19,8 @@ func TestReadDomainInfo(t *testing.T) { defer httpmock.DeactivateAndReset() validOutput := &fmcplatform.ReadDomainInfoOutput{ - Links: internal.NewLinks(links), - Paging: internal.NewPaging(count, offset, limit, pages), + Links: fmcdomain.NewLinks(links), + Paging: fmcdomain.NewPaging(count, offset, limit, pages), Items: []fmcdomain.Item{ fmcdomain.NewItem(uuid, name, type_), }, diff --git a/client/device/cloudfmc/readaccesspolicies.go b/client/device/cloudfmc/readaccesspolicies.go index ed019355..166ca29e 100644 --- a/client/device/cloudfmc/readaccesspolicies.go +++ b/client/device/cloudfmc/readaccesspolicies.go @@ -26,6 +26,8 @@ type ReadAccessPoliciesOutput = accesspolicies.AccessPolicies func ReadAccessPolicies(ctx context.Context, client http.Client, inp ReadAccessPoliciesInput) (*ReadAccessPoliciesOutput, error) { + client.Logger.Println("reading FMC Access Policies") + readUrl := url.ReadAccessPolicies(client.BaseUrl(), inp.DomainUid) req := client.NewGet(ctx, readUrl) diff --git a/client/device/cloudfmc/readaccesspolicies_test.go b/client/device/cloudfmc/readaccesspolicies_test.go index 4c565311..6aef754e 100644 --- a/client/device/cloudfmc/readaccesspolicies_test.go +++ b/client/device/cloudfmc/readaccesspolicies_test.go @@ -6,7 +6,6 @@ import ( internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -23,16 +22,16 @@ func TestAccessPoliciesRead(t *testing.T) { accessPolicyId, accessPolicyName, accessPolicyType, - internal.NewLinks(accessPolicySelfLink), + accesspolicies.NewLinks(accessPolicySelfLink), ), } - validAccessPoliciesPaging := internal.NewPaging( + validAccessPoliciesPaging := accesspolicies.NewPaging( accessPolicyCount, accessPolicyOffset, accessPolicyLimit, accessPolicyPages, ) - validAccessPoliciesLink := internal.NewLinks(accessPolicySelfLink) + validAccessPoliciesLink := accesspolicies.NewLinks(accessPolicySelfLink) validAccessPolicies := accesspolicies.New( validAccessPolicesItems, diff --git a/client/device/cloudfmc/readsmartlicense.go b/client/device/cloudfmc/readsmartlicense.go index 573e3ac2..502df010 100644 --- a/client/device/cloudfmc/readsmartlicense.go +++ b/client/device/cloudfmc/readsmartlicense.go @@ -4,7 +4,7 @@ import ( "context" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/smartlicense" ) type ReadSmartLicenseInput struct{} diff --git a/client/device/cloudfmc/readsmartlicense_test.go b/client/device/cloudfmc/readsmartlicense_test.go index 272456a8..c65e8c5f 100644 --- a/client/device/cloudfmc/readsmartlicense_test.go +++ b/client/device/cloudfmc/readsmartlicense_test.go @@ -5,8 +5,7 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/smartlicense" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/smartlicense" "github.com/jarcoal/httpmock" "github.com/stretchr/testify/assert" "net/http" @@ -25,15 +24,15 @@ func TestSmartLicenseRead(t *testing.T) { smartLicenseExportControl, smartLicenseVirtualAccount, ) - validSmartLicenseItems := smartlicense.NewItems( + validSmartLicenseItems := []smartlicense.Item{ smartlicense.NewItem( validSmartLicenseMetadata, smartLicenseRegStatus, smartLicenseType, ), - ) - validSmartLicenseLinks := internal.NewLinks(smartLicenseSelfLink) - validSmartLicensePaging := internal.NewPaging( + } + validSmartLicenseLinks := smartlicense.NewLinks(smartLicenseSelfLink) + validSmartLicensePaging := smartlicense.NewPaging( smartLicenseCount, smartLicenseOffset, smartLicenseLimit, diff --git a/client/device/cloudftd/create.go b/client/device/cloudftd/create.go index cf96753a..c3ba22ea 100644 --- a/client/device/cloudftd/create.go +++ b/client/device/cloudftd/create.go @@ -9,12 +9,10 @@ import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/cdo" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/retry" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/sliceutil" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/devicetype" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" - "strings" ) type CreateInput struct { @@ -26,9 +24,9 @@ type CreateInput struct { } type CreateOutput struct { - Uid string `json:"uid"` - Name string `json:"name"` - Metadata Metadata `json:"metadata"` + Uid string `json:"uid"` + Name string `json:"name"` + Metadata *Metadata `json:"metadata"` } func NewCreateInput( @@ -50,23 +48,16 @@ func NewCreateInput( type createRequestBody struct { FmcId string `json:"associatedDeviceUid"` DeviceType devicetype.Type `json:"deviceType"` - Metadata metadata `json:"metadata"` + Metadata *Metadata `json:"metadata"` Name string `json:"name"` State string `json:"state"` // TODO: use queueTriggerState? Type string `json:"type"` Model bool `json:"model"` } -type metadata struct { - AccessPolicyName string `json:"accessPolicyName"` - AccessPolicyId string `json:"accessPolicyUuid"` - LicenseCaps string `json:"license_caps"` - PerformanceTier *tier.Type `json:"performanceTier"` -} - func Create(ctx context.Context, client http.Client, createInp CreateInput) (*CreateOutput, error) { - client.Logger.Println("creating cloudftd") + client.Logger.Println("creating cloud ftd") // 1. read Cloud FMC fmcRes, err := cloudfmc.Read(ctx, client, cloudfmc.NewReadInput()) @@ -102,31 +93,24 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr ) } - // handle selected license caps - licenseCaps := strings.Join( // join strings by comma - sliceutil.Map( // map license.Type to string - createInp.Licenses, - func(l license.Type) string { return string(l) }, - ), - ",", - ) - // handle performance tier var performanceTier *tier.Type = nil // physical is nil if createInp.Virtual { performanceTier = createInp.PerformanceTier } + client.Logger.Println("posting FTD device") + // 4. create the cloud ftd device createUrl := url.CreateDevice(client.BaseUrl()) createBody := createRequestBody{ Name: createInp.Name, FmcId: fmcRes.Uid, DeviceType: devicetype.CloudFtd, - Metadata: metadata{ + Metadata: &Metadata{ AccessPolicyName: selectedPolicy.Name, - AccessPolicyId: selectedPolicy.Id, - LicenseCaps: licenseCaps, + AccessPolicyUid: selectedPolicy.Id, + LicenseCaps: createInp.Licenses, PerformanceTier: performanceTier, }, State: "NEW", @@ -139,6 +123,8 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return nil, err } + client.Logger.Println("reading FTD specific device") + // 5. read created cloud ftd's specific device's uid readSpecRes, err := device.ReadSpecific(ctx, client, *device.NewReadSpecificInput(createOup.Uid)) if err != nil { @@ -164,6 +150,6 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr return &CreateOutput{ Uid: createOup.Uid, Name: createOup.Name, - Metadata: metadata, + Metadata: &metadata, }, nil } diff --git a/client/device/cloudftd/create_metadatabuilder.go b/client/device/cloudftd/create_metadatabuilder.go index ae52d343..34c0e986 100644 --- a/client/device/cloudftd/create_metadatabuilder.go +++ b/client/device/cloudftd/create_metadatabuilder.go @@ -21,7 +21,7 @@ func (b *MetadataBuilder) AccessPolicyName(accessPolicyName string) *MetadataBui } func (b *MetadataBuilder) AccessPolicyUuid(accessPolicyUuid string) *MetadataBuilder { - b.metadata.AccessPolicyUuid = accessPolicyUuid + b.metadata.AccessPolicyUid = accessPolicyUuid return b } diff --git a/client/device/cloudftd/create_outputbuilder.go b/client/device/cloudftd/create_outputbuilder.go index 029c1794..c22a9c3d 100644 --- a/client/device/cloudftd/create_outputbuilder.go +++ b/client/device/cloudftd/create_outputbuilder.go @@ -21,7 +21,7 @@ func (b *CreateOutputBuilder) Name(name string) *CreateOutputBuilder { } func (b *CreateOutputBuilder) Metadata(metadata Metadata) *CreateOutputBuilder { - b.createOutput.Metadata = metadata + b.createOutput.Metadata = &metadata return b } diff --git a/client/device/cloudftd/create_test.go b/client/device/cloudftd/create_test.go index ede60174..f3e4b22b 100644 --- a/client/device/cloudftd/create_test.go +++ b/client/device/cloudftd/create_test.go @@ -24,6 +24,7 @@ func TestCreateCloudFtd(t *testing.T) { }{ { testName: "successfully create Cloud FTD", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), setupFunc: func() { readFmcIsSuccessful(true) readFmcDomainInfoIsSuccessful(true) @@ -36,7 +37,7 @@ func TestCreateCloudFtd(t *testing.T) { assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { assert.Nil(t, err) assert.NotNil(t, output) - assert.Equal(t, validFtdCreateOutput, *output) + assert.Equal(t, validReadFtdGeneratedCommandOutput, *output) }, }, } @@ -142,13 +143,13 @@ func triggerFtdOnboardingIsSuccessful(success bool) { if success { httpmock.RegisterResponder( http.MethodPut, - url.UpdateSpecificCloudFtd(baseUrl, createSpecificFtdUid), + url.UpdateSpecificCloudFtd(baseUrl, ftdSpecificUid), httpmock.NewJsonResponderOrPanic(http.StatusOK, validUpdateSpecificFtdOutput), ) } else { httpmock.RegisterResponder( http.MethodPut, - url.UpdateSpecificCloudFtd(baseUrl, createSpecificFtdUid), + url.UpdateSpecificCloudFtd(baseUrl, ftdSpecificUid), httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), ) } @@ -158,13 +159,13 @@ func generateFtdConfigureManagerCommandIsSuccessful(success bool) { if success { httpmock.RegisterResponder( http.MethodGet, - url.ReadDevice(baseUrl, createdFtdUid), + url.ReadDevice(baseUrl, ftdUid), httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadFtdGeneratedCommandOutput), ) } else { httpmock.RegisterResponder( http.MethodGet, - url.ReadDevice(baseUrl, createdFtdUid), + url.ReadDevice(baseUrl, ftdUid), httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), ) } diff --git a/client/device/cloudftd/fixture_test.go b/client/device/cloudftd/fixture_test.go index 916bb69f..91df0fe8 100644 --- a/client/device/cloudftd/fixture_test.go +++ b/client/device/cloudftd/fixture_test.go @@ -12,14 +12,11 @@ import ( const ( baseUrl = "https://unit-test.net" - deviceName = "unit-test-device-name" - deviceUid = "unit-test-uid" - deviceHost = "https://unit-test.com" - devicePort = 1234 - deviceCloudConnectorUId = "unit-test-device-connector-uid" - + fmcName = "unit-test-device-name" + fmcUid = "unit-test-uid" fmcDomainUid = "unit-test-domain-uid" fmcHost = "unit-test-fmc-host.com" + fmcPort = 1234 fmcLink = "unit-test-fmc-link" fmcDomainPages = 123 @@ -28,7 +25,7 @@ const ( fmcDomainLimit = 123 fmcDomainItemName = "unit-test-fmcDomainItemName" fmcDomainItemType = "unit-test-fmcDomainItemType" - fmcDomainItemUid = "unit-test-fmcDomainItemUid" + fmcDomainItemUid = fmcDomainUid fmcAccessPolicyPages = 123 fmcAccessPolicyCount = 123 @@ -38,14 +35,20 @@ const ( fmcAccessPolicyItemType = "unit-test-access-policy-item-type" fmcAccessPolicyItemUid = "unit-test-access-policy-item-uid" - ftdName = "unit-test-ftdName" - ftdUid = "unit-test-ftdUid" + ftdName = "unit-test-ftdName" + ftdUid = "unit-test-ftdUid" + ftdVirtual = true ftdGeneratedCommand = "unit-test-ftdGeneratedCommand" - ftdAccessPolicyName = "unit-test-ftdAccessPolicyName" + ftdAccessPolicyName = fmcAccessPolicyItemName ftdNatID = "unit-test-ftdNatID" - ftdCloudManagerDomain = "unit-test-ftdCloudManagerDomain" + ftdCloudManagerDomain = "unit-test-ftdCloudManagerDomain.com" ftdRegKey = "unit-test-ftdRegKey" + + ftdSpecificUid = "unit-test-ftd-specific-uid" + ftdSpecificType = "unit-test-ftd-specific-type" + ftdSpecificState = "unit-test-ftd-specific-state" + ftdSpecificNamespace = "unit-test-ftd-specific-namespace" ) var ( @@ -54,13 +57,14 @@ var ( ) var ( - validReadFmcOutput = device.NewReadOutputBuilder(). - AsCloudFmc(). - WithName(deviceName). - WithUid(deviceUid). - WithLocation(deviceHost, devicePort). - OnboardedUsingCloudConnector(deviceCloudConnectorUId). - Build() + validReadFmcOutput = []device.ReadOutput{ + device.NewReadOutputBuilder(). + AsCloudFmc(). + WithName(fmcName). + WithUid(fmcUid). + WithLocation(fmcHost, fmcPort). + Build(), + } validReadFmcDomainInfoOutput = fmcdomain.NewInfoBuilder(). Links(fmcdomain.NewLinks(fmcLink)). @@ -95,16 +99,34 @@ var ( Uid(ftdUid). Metadata(cloudftd.NewMetadataBuilder(). LicenseCaps(ftdLicenseCaps). - GeneratedCommand(ftdGeneratedCommand). AccessPolicyName(ftdAccessPolicyName). PerformanceTier(&ftdPerformanceTier). - NatID(ftdNatID). CloudManagerDomain(ftdCloudManagerDomain). - RegKey(ftdRegKey). Build()). Build() validUpdateSpecificFtdOutput = cloudftd.NewUpdateSpecificFtdOutputBuilder(). SpecificUid(ftdSpecificUid). Build() + + validReadFtdSpecificDeviceOutput = cloudftd.NewReadSpecificOutputBuilder(). + SpecificUid(ftdSpecificUid). + Type(ftdSpecificType). + State(ftdSpecificState). + Namespace(ftdSpecificNamespace). + Build() + + validReadFtdGeneratedCommandOutput = cloudftd.NewCreateOutputBuilder(). + Name(ftdName). + Uid(ftdUid). + Metadata(cloudftd.NewMetadataBuilder(). + LicenseCaps(ftdLicenseCaps). + GeneratedCommand(ftdGeneratedCommand). + AccessPolicyName(ftdAccessPolicyName). + PerformanceTier(&ftdPerformanceTier). + NatID(ftdNatID). + CloudManagerDomain(ftdCloudManagerDomain). + RegKey(ftdRegKey). + Build()). + Build() ) diff --git a/client/device/cloudftd/metadata.go b/client/device/cloudftd/metadata.go new file mode 100644 index 00000000..a0eb313e --- /dev/null +++ b/client/device/cloudftd/metadata.go @@ -0,0 +1,75 @@ +package cloudftd + +import ( + "encoding/json" + "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" +) + +type Metadata struct { + AccessPolicyName string `json:"accessPolicyName,omitempty"` + AccessPolicyUid string `json:"accessPolicyUuid,omitempty"` + CloudManagerDomain string `json:"cloudManagerDomain,omitempty"` + GeneratedCommand string `json:"generatedCommand,omitempty"` + LicenseCaps []license.Type `json:"license_caps,omitempty"` + NatID string `json:"natID,omitempty"` + PerformanceTier *tier.Type `json:"performanceTier,omitempty"` + RegKey string `json:"regKey,omitempty"` +} + +type internalMetadata struct { + AccessPolicyName string `json:"accessPolicyName,omitempty"` + AccessPolicyUuid string `json:"accessPolicyUuid,omitempty"` + CloudManagerDomain string `json:"cloudManagerDomain,omitempty"` + GeneratedCommand string `json:"generatedCommand,omitempty"` + LicenseCaps string `json:"license_caps,omitempty"` // first, unmarshal it into string + NatID string `json:"natID,omitempty"` + PerformanceTier *tier.Type `json:"performanceTier,omitempty"` + RegKey string `json:"regKey,omitempty"` +} + +// UnmarshalJSON defines custom unmarshal json for metadata, because we need to handle license caps differently, +// it is a string containing command separated values, instead of a json list where it can be parsed directly. +// Note that this method is defined on the *Metadata type, so if you unmarshal or marshal a Metadata without pointer, +// it will not be called. +func (metadata *Metadata) UnmarshalJSON(data []byte) error { + fmt.Printf("\nunmarshalling Metadata: %s\n", string(data)) + var internalMeta internalMetadata + err := json.Unmarshal(data, &internalMeta) + if err != nil { + return err + } + + licenseCaps, err := license.DeserializeAll(internalMeta.LicenseCaps) // now parse it into golang type + if err != nil { + return err + } + + (*metadata).AccessPolicyName = internalMeta.AccessPolicyName + (*metadata).AccessPolicyUid = internalMeta.AccessPolicyUuid + (*metadata).CloudManagerDomain = internalMeta.CloudManagerDomain + (*metadata).GeneratedCommand = internalMeta.GeneratedCommand + (*metadata).NatID = internalMeta.NatID + (*metadata).PerformanceTier = internalMeta.PerformanceTier + (*metadata).RegKey = internalMeta.RegKey + + (*metadata).LicenseCaps = licenseCaps // set it as usual + + return nil +} + +func (metadata *Metadata) MarshalJSON() ([]byte, error) { + fmt.Printf("\nmarshalling Metadata: %+v\n", metadata) + var internalMeta internalMetadata + internalMeta.AccessPolicyName = metadata.AccessPolicyName + internalMeta.AccessPolicyUuid = metadata.AccessPolicyUid + internalMeta.CloudManagerDomain = metadata.CloudManagerDomain + internalMeta.GeneratedCommand = metadata.GeneratedCommand + internalMeta.LicenseCaps = license.SerializeAll(metadata.LicenseCaps) + internalMeta.NatID = metadata.NatID + internalMeta.PerformanceTier = metadata.PerformanceTier + internalMeta.RegKey = metadata.RegKey + + return json.Marshal(internalMeta) +} diff --git a/client/device/cloudftd/read_by_uid.go b/client/device/cloudftd/read_by_uid.go index ede6b9a9..bd002a0f 100644 --- a/client/device/cloudftd/read_by_uid.go +++ b/client/device/cloudftd/read_by_uid.go @@ -2,11 +2,8 @@ package cloudftd import ( "context" - "encoding/json" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" ) type ReadByUidInput struct { @@ -25,53 +22,6 @@ type ReadOutput struct { Metadata Metadata `json:"metadata,omitempty"` } -type Metadata struct { - AccessPolicyName string `json:"accessPolicyName,omitempty"` - AccessPolicyUuid string `json:"accessPolicyUuid,omitempty"` - CloudManagerDomain string `json:"cloudManagerDomain,omitempty"` - GeneratedCommand string `json:"generatedCommand,omitempty"` - LicenseCaps []license.Type `json:"license_caps,omitempty"` - NatID string `json:"natID,omitempty"` - PerformanceTier *tier.Type `json:"performanceTier,omitempty"` - RegKey string `json:"regKey,omitempty"` -} - -// custom unmarshal json for metadata, because we need to handle license caps differently, -// it is a string containing command separated values, instead of a json list where it can be parsed directly. -func (metadata *Metadata) UnmarshalJSON(data []byte) error { - var t struct { - AccessPolicyName string `json:"accessPolicyName,omitempty"` - AccessPolicyUuid string `json:"accessPolicyUuid,omitempty"` - CloudManagerDomain string `json:"cloudManagerDomain,omitempty"` - GeneratedCommand string `json:"generatedCommand,omitempty"` - LicenseCaps string `json:"license_caps,omitempty"` // first, unmarshal it into string - NatID string `json:"natID,omitempty"` - PerformanceTier *tier.Type `json:"performanceTier,omitempty"` - RegKey string `json:"regKey,omitempty"` - } - err := json.Unmarshal(data, &t) - if err != nil { - return err - } - - licenseCaps, err := license.ParseAll(t.LicenseCaps) // now parse it into golang type - if err != nil { - return err - } - - (*metadata).AccessPolicyName = t.AccessPolicyName - (*metadata).AccessPolicyUuid = t.AccessPolicyUuid - (*metadata).CloudManagerDomain = t.CloudManagerDomain - (*metadata).GeneratedCommand = t.GeneratedCommand - (*metadata).NatID = t.NatID - (*metadata).PerformanceTier = t.PerformanceTier - (*metadata).RegKey = t.RegKey - - (*metadata).LicenseCaps = licenseCaps // set it as usual - - return nil -} - func ReadByUid(ctx context.Context, client http.Client, readInp ReadByUidInput) (*ReadOutput, error) { readUrl := url.ReadDevice(client.BaseUrl(), readInp.Uid) diff --git a/client/device/cloudftd/retry.go b/client/device/cloudftd/retry.go index c0a5aec3..75878b22 100644 --- a/client/device/cloudftd/retry.go +++ b/client/device/cloudftd/retry.go @@ -10,6 +10,8 @@ import ( func UntilGeneratedCommandAvailable(ctx context.Context, client http.Client, uid string, metadata *Metadata) retry.Func { return func() (bool, error) { + client.Logger.Println("checking if FTD generated command is available") + readOutp, err := ReadByUid(ctx, client, NewReadByUidInput(uid)) if err != nil { return false, err diff --git a/client/device/cloudftd/updatespecific.go b/client/device/cloudftd/updatespecific.go index 331dc502..9c1d9b23 100644 --- a/client/device/cloudftd/updatespecific.go +++ b/client/device/cloudftd/updatespecific.go @@ -28,6 +28,8 @@ type updateSpecificRequestBody struct { func UpdateSpecific(ctx context.Context, client http.Client, updateInp UpdateSpecificFtdInput) (*UpdateSpecificFtdOutput, error) { + client.Logger.Println("updating FTD specific device") + updateUrl := url.UpdateSpecificCloudFtd(client.BaseUrl(), updateInp.SpecificUid) updateBody := updateSpecificRequestBody{ diff --git a/client/model/cloudfmc/smartlicense/smartlicense.go b/client/model/cloudfmc/smartlicense/smartlicense.go index 706cd626..8127f725 100644 --- a/client/model/cloudfmc/smartlicense/smartlicense.go +++ b/client/model/cloudfmc/smartlicense/smartlicense.go @@ -1,16 +1,14 @@ package smartlicense -import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" -) +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" type SmartLicense struct { - Items []Item `json:"items"` - Links internal.Links `json:"links"` - Paging internal.Paging `json:"paging"` + Items []Item `json:"items"` + Links Links `json:"links"` + Paging Paging `json:"paging"` } -func NewSmartLicense(items []Item, links internal.Links, paging internal.Paging) SmartLicense { +func NewSmartLicense(items []Item, links Links, paging Paging) SmartLicense { return SmartLicense{ Items: items, Links: links, @@ -55,3 +53,9 @@ func NewMetadata( VirtualAccount: virtualAccount, } } + +type Links = internal.Links +type Paging = internal.Paging + +var NewLinks = internal.NewLinks +var NewPaging = internal.NewPaging diff --git a/client/model/ftd/license/license.go b/client/model/ftd/license/license.go index cb1943a5..71a9e13d 100644 --- a/client/model/ftd/license/license.go +++ b/client/model/ftd/license/license.go @@ -2,45 +2,12 @@ package license import ( "fmt" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/sliceutil" "strings" ) type Type string -//type TypeSlice []Type - -//func (t *Type) UnmarshalJSON(data []byte) error { -// if len(data) == 0 || string(data) == "null" { -// return nil -// } -// dataStr := string(data) -// for _, l := range licenseMap { -// if string(l) == dataStr { -// *t = l -// } -// } -// return fmt.Errorf("cannot unmarshal json: \"%s\" to type license.Type, it should be one of %s", string(data), licenseMap) -//} -// -//func (ts *TypeSlice) UnmarshalJSON(data []byte) error { -// if len(data) == 0 || string(data) == "null" { -// return nil -// } -// dataStr := string(data) -// licenseStrs := strings.Split(dataStr, ",") -// licenseSlice := make([]Type, len(licenseStrs)) -// for i, licenseStr := range licenseStrs { -// license, ok := licenseMap[licenseStr] -// if !ok { -// return fmt.Errorf("cannot unmarshal json, license: \"%s\" is not a valid license, valid licenses: %+v", license, licenseMap) -// } -// licenseSlice[i] = license -// } -// -// *ts = licenseSlice -// return nil -//} - // https://www.cisco.com/c/en/us/td/docs/security/firepower/70/fdm/fptd-fdm-config-guide-700/fptd-fdm-license.html const ( Base Type = "BASE" @@ -66,7 +33,7 @@ func MustParse(name string) Type { return l } -func Parse(name string) (Type, error) { +func Deserialize(name string) (Type, error) { l, ok := licenseMap[name] if !ok { return "", fmt.Errorf("FTD License of name: \"%s\" not found, should be one of: %+v", name, licenseMap) @@ -74,11 +41,11 @@ func Parse(name string) (Type, error) { return l, nil } -func ParseAll(names string) ([]Type, error) { +func DeserializeAll(names string) ([]Type, error) { licenseStrs := strings.Split(names, ",") licenses := make([]Type, len(licenseStrs)) for i, name := range licenseStrs { - t, err := Parse(name) + t, err := Deserialize(name) if err != nil { return nil, err } @@ -86,3 +53,11 @@ func ParseAll(names string) ([]Type, error) { } return licenses, nil } + +func SerializeAll(licenses []Type) string { + return strings.Join(sliceutil.Map(licenses, func(l Type) string { return Serialize(l) }), ",") +} + +func Serialize(license Type) string { + return string(license) +} diff --git a/client/model/smartlicense/smartlicense.go b/client/model/smartlicense/smartlicense.go deleted file mode 100644 index 40550e34..00000000 --- a/client/model/smartlicense/smartlicense.go +++ /dev/null @@ -1,67 +0,0 @@ -package smartlicense - -import ( - "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/internal" -) - -type SmartLicense struct { - Items Items `json:"items"` - Links internal.Links `json:"links"` - Paging internal.Paging `json:"paging"` -} - -func NewSmartLicense(items Items, links internal.Links, paging internal.Paging) SmartLicense { - return SmartLicense{ - Items: items, - Links: links, - Paging: paging, - } -} - -type Items struct { - Items []Item `json:"items"` -} - -func NewItems(items ...Item) Items { - return Items{ - Items: items, - } -} - -type Item struct { - Metadata Metadata `json:"metadata"` - RegStatus string `json:"regStatus"` - Type string `json:"type"` -} - -func NewItem(metadata Metadata, regStatus string, type_ string) Item { - return Item{ - Metadata: metadata, - RegStatus: regStatus, - Type: type_, - } -} - -type Metadata struct { - AuthStatus string `json:"authStatus"` - EvalExpiresInDays int `json:"evalExpiresInDays"` - EvalUsed bool `json:"evalUsed"` - ExportControl bool `json:"exportControl"` - VirtualAccount string `json:"virtualAccount"` -} - -func NewMetadata( - authStatus string, - evalExpiresInDays int, - evalUsed bool, - exportControl bool, - virtualAccount string, -) Metadata { - return Metadata{ - AuthStatus: authStatus, - EvalExpiresInDays: evalExpiresInDays, - EvalUsed: evalUsed, - ExportControl: exportControl, - VirtualAccount: virtualAccount, - } -} From 77a226d00aa58774993e3422ecb9b358261481d2 Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 29 Aug 2023 16:00:52 +0100 Subject: [PATCH 29/31] create unit tests failure cases --- client/device/cloudftd/create.go | 3 + client/device/cloudftd/create_test.go | 113 ++++++++++++++++++++++++++ 2 files changed, 116 insertions(+) diff --git a/client/device/cloudftd/create.go b/client/device/cloudftd/create.go index c3ba22ea..11adedbd 100644 --- a/client/device/cloudftd/create.go +++ b/client/device/cloudftd/create.go @@ -138,6 +138,9 @@ func Create(ctx context.Context, client http.Client, createInp CreateInput) (*Cr "INITIATE_FTDC_ONBOARDING", ), ) + if err != nil { + return nil, err + } // 8. wait for generate command available var metadata Metadata diff --git a/client/device/cloudftd/create_test.go b/client/device/cloudftd/create_test.go index f3e4b22b..7ceec933 100644 --- a/client/device/cloudftd/create_test.go +++ b/client/device/cloudftd/create_test.go @@ -40,6 +40,119 @@ func TestCreateCloudFtd(t *testing.T) { assert.Equal(t, validReadFtdGeneratedCommandOutput, *output) }, }, + { + testName: "error when failed to read FMC", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), + setupFunc: func() { + readFmcIsSuccessful(false) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to read FMC domain info", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcDomainInfoIsSuccessful(false) + readFmcAccessPoliciesIsSuccessful(true) + createFtdIsSuccessful(true) + readFtdSpecificDeviceIsSuccessful(true) + triggerFtdOnboardingIsSuccessful(true) + generateFtdConfigureManagerCommandIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to read FMC Access Policy", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcDomainInfoIsSuccessful(true) + readFmcAccessPoliciesIsSuccessful(false) + createFtdIsSuccessful(true) + readFtdSpecificDeviceIsSuccessful(true) + triggerFtdOnboardingIsSuccessful(true) + generateFtdConfigureManagerCommandIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to create FTD", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcDomainInfoIsSuccessful(true) + readFmcAccessPoliciesIsSuccessful(true) + createFtdIsSuccessful(false) + readFtdSpecificDeviceIsSuccessful(true) + triggerFtdOnboardingIsSuccessful(true) + generateFtdConfigureManagerCommandIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to read FTD specific device", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcDomainInfoIsSuccessful(true) + readFmcAccessPoliciesIsSuccessful(true) + createFtdIsSuccessful(true) + readFtdSpecificDeviceIsSuccessful(false) + triggerFtdOnboardingIsSuccessful(true) + generateFtdConfigureManagerCommandIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to read trigger FTD onboarding", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcDomainInfoIsSuccessful(true) + readFmcAccessPoliciesIsSuccessful(true) + createFtdIsSuccessful(true) + readFtdSpecificDeviceIsSuccessful(true) + triggerFtdOnboardingIsSuccessful(false) + generateFtdConfigureManagerCommandIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to read retrieve FTD configure manager command", + input: cloudftd.NewCreateInput(ftdName, ftdAccessPolicyName, &ftdPerformanceTier, ftdVirtual, ftdLicenseCaps), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcDomainInfoIsSuccessful(true) + readFmcAccessPoliciesIsSuccessful(true) + createFtdIsSuccessful(true) + readFtdSpecificDeviceIsSuccessful(true) + triggerFtdOnboardingIsSuccessful(true) + generateFtdConfigureManagerCommandIsSuccessful(false) + }, + assertFunc: func(output *cloudftd.CreateOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, } for _, testCase := range testCases { From bdb871d9e91da6ed2717ae43cff6d4e824d1b45b Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 29 Aug 2023 17:37:57 +0100 Subject: [PATCH 30/31] ftd delete tests --- .../fmcappliance/update_inputbuilder.go | 30 +++ .../{builder.go => update_outputbuilder.go} | 29 --- .../cloudfmc/fmcappliance/update_test.go | 10 +- client/device/cloudftd/delete.go | 10 +- client/device/cloudftd/delete_test.go | 207 ++++++++++++++++++ client/device/cloudftd/fixture_test.go | 27 +++ client/device/cloudftd/read_by_name.go | 2 +- client/internal/statemachine/fixture_test.go | 12 + .../statemachine/readinstance_by_deviceuid.go | 2 + .../readinstance_by_deviceuid_test.go | 75 +++++++ client/model/statemachine/details.go | 1 - client/model/statemachine/instance.go | 94 ++++++++ 12 files changed, 458 insertions(+), 41 deletions(-) create mode 100644 client/device/cloudfmc/fmcappliance/update_inputbuilder.go rename client/device/cloudfmc/fmcappliance/{builder.go => update_outputbuilder.go} (64%) create mode 100644 client/device/cloudftd/delete_test.go create mode 100644 client/internal/statemachine/fixture_test.go create mode 100644 client/internal/statemachine/readinstance_by_deviceuid_test.go diff --git a/client/device/cloudfmc/fmcappliance/update_inputbuilder.go b/client/device/cloudfmc/fmcappliance/update_inputbuilder.go new file mode 100644 index 00000000..723614e6 --- /dev/null +++ b/client/device/cloudfmc/fmcappliance/update_inputbuilder.go @@ -0,0 +1,30 @@ +package fmcappliance + +type UpdateInputBuilder struct { + updateInput *UpdateInput +} + +func NewUpdateInputBuilder() *UpdateInputBuilder { + updateInput := &UpdateInput{} + b := &UpdateInputBuilder{updateInput: updateInput} + return b +} + +func (b *UpdateInputBuilder) FmcSpecificUid(fmcSpecificUid string) *UpdateInputBuilder { + b.updateInput.FmcSpecificUid = fmcSpecificUid + return b +} + +func (b *UpdateInputBuilder) QueueTriggerState(queueTriggerState string) *UpdateInputBuilder { + b.updateInput.QueueTriggerState = queueTriggerState + return b +} + +func (b *UpdateInputBuilder) StateMachineContext(stateMachineContext map[string]string) *UpdateInputBuilder { + b.updateInput.StateMachineContext = stateMachineContext + return b +} + +func (b *UpdateInputBuilder) Build() UpdateInput { + return *b.updateInput +} diff --git a/client/device/cloudfmc/fmcappliance/builder.go b/client/device/cloudfmc/fmcappliance/update_outputbuilder.go similarity index 64% rename from client/device/cloudfmc/fmcappliance/builder.go rename to client/device/cloudfmc/fmcappliance/update_outputbuilder.go index c33859cc..455a473e 100644 --- a/client/device/cloudfmc/fmcappliance/builder.go +++ b/client/device/cloudfmc/fmcappliance/update_outputbuilder.go @@ -1,34 +1,5 @@ package fmcappliance -type UpdateInputBuilder struct { - updateInput *UpdateInput -} - -func NewUpdateInputBuilder() *UpdateInputBuilder { - updateInput := &UpdateInput{} - b := &UpdateInputBuilder{updateInput: updateInput} - return b -} - -func (b *UpdateInputBuilder) FmcSpecificUid(fmcSpecificUid string) *UpdateInputBuilder { - b.updateInput.FmcSpecificUid = fmcSpecificUid - return b -} - -func (b *UpdateInputBuilder) QueueTriggerState(queueTriggerState string) *UpdateInputBuilder { - b.updateInput.QueueTriggerState = queueTriggerState - return b -} - -func (b *UpdateInputBuilder) StateMachineContext(stateMachineContext map[string]string) *UpdateInputBuilder { - b.updateInput.StateMachineContext = stateMachineContext - return b -} - -func (b *UpdateInputBuilder) Build() UpdateInput { - return *b.updateInput -} - type UpdateOutputBuilder struct { updateOutput *UpdateOutput } diff --git a/client/device/cloudfmc/fmcappliance/update_test.go b/client/device/cloudfmc/fmcappliance/update_test.go index a8a6cb48..420fc67c 100644 --- a/client/device/cloudfmc/fmcappliance/update_test.go +++ b/client/device/cloudfmc/fmcappliance/update_test.go @@ -17,11 +17,11 @@ func TestUpdate(t *testing.T) { httpmock.Activate() defer httpmock.DeactivateAndReset() - validUpdateOutput := fmcappliance.UpdateOutput{ - Uid: uid, - State: state, - DomainUid: domainUid, - } + validUpdateOutput := fmcappliance.NewUpdateOutputBuilder(). + Uid(uid). + State(state). + DomainUid(domainUid). + Build() testCases := []struct { testName string diff --git a/client/device/cloudftd/delete.go b/client/device/cloudftd/delete.go index d6e5bcf9..18177b86 100644 --- a/client/device/cloudftd/delete.go +++ b/client/device/cloudftd/delete.go @@ -25,23 +25,23 @@ type DeleteOutput struct { func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*DeleteOutput, error) { // 1. read FMC that manages this cloud FTD - cloudFmcReadRes, err := cloudfmc.Read(ctx, client, cloudfmc.NewReadInput()) + fmcReadRes, err := cloudfmc.Read(ctx, client, cloudfmc.NewReadInput()) if err != nil { return nil, err } // 2. read FMC specific device, i.e. the actual FMC - cloudFmcReadSpecificRes, err := cloudfmc.ReadSpecific(ctx, client, cloudfmc.NewReadSpecificInput(cloudFmcReadRes.Uid)) + fmcReadSpecificRes, err := cloudfmc.ReadSpecific(ctx, client, cloudfmc.NewReadSpecificInput(fmcReadRes.Uid)) if err != nil { return nil, err } - // 3. schedule a state machine for cloudfmc to delete the cloud FTD + // 3. schedule a state machine for cloud fmc to delete the cloud FTD _, err = fmcappliance.Update( ctx, client, fmcappliance.NewUpdateInputBuilder(). - FmcSpecificUid(cloudFmcReadSpecificRes.SpecificUid). + FmcSpecificUid(fmcReadSpecificRes.SpecificUid). QueueTriggerState("PENDING_DELETE_FTDC"). StateMachineContext(map[string]string{"ftdCDeviceIDs": deleteInp.Uid}). Build(), @@ -51,7 +51,7 @@ func Delete(ctx context.Context, client http.Client, deleteInp DeleteInput) (*De } // 4. wait until the delete cloud FTD state machine has started - err = retry.Do(statemachine.UntilStarted(ctx, client, cloudFmcReadSpecificRes.SpecificUid, "fmceDeleteFtdcStateMachine"), retry.DefaultOpts) + err = retry.Do(statemachine.UntilStarted(ctx, client, fmcReadSpecificRes.SpecificUid, "fmceDeleteFtdcStateMachine"), retry.DefaultOpts) if err != nil { return nil, err } diff --git a/client/device/cloudftd/delete_test.go b/client/device/cloudftd/delete_test.go new file mode 100644 index 00000000..f201299f --- /dev/null +++ b/client/device/cloudftd/delete_test.go @@ -0,0 +1,207 @@ +package cloudftd_test + +import ( + "context" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudftd" + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/statemachine" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/jarcoal/httpmock" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" +) + +func TestDeleteCloudFtd(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + testCases := []struct { + testName string + input cloudftd.DeleteInput + setupFunc func() + assertFunc func(output *cloudftd.DeleteOutput, err error, t *testing.T) + }{ + { + testName: "successfully create Cloud FTD", + input: cloudftd.NewDeleteInput(ftdUid), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcSpecificIsSuccessful(true) + triggerFtdDeleteOnFmcIsSuccessful(true) + waitForFtdDeleteStateMachineTriggeredIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.DeleteOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validDeleteOutput, *output) + }, + }, + { + testName: "successfully create Cloud FTD, and waited for delete state machine", + input: cloudftd.NewDeleteInput(ftdUid), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcSpecificIsSuccessful(true) + triggerFtdDeleteOnFmcIsSuccessful(true) + waitForFtdDeleteStateMachineTriggeredReturnedNotFound() + waitForFtdDeleteStateMachineTriggeredReturnedNotFound() + waitForFtdDeleteStateMachineTriggeredReturnedNotFound() + waitForFtdDeleteStateMachineTriggeredIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.DeleteOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validDeleteOutput, *output) + }, + }, + { + testName: "error when failed to read FMC", + input: cloudftd.NewDeleteInput(ftdUid), + setupFunc: func() { + readFmcIsSuccessful(false) + readFmcSpecificIsSuccessful(true) + triggerFtdDeleteOnFmcIsSuccessful(true) + waitForFtdDeleteStateMachineTriggeredIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.DeleteOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to read FMC specific", + input: cloudftd.NewDeleteInput(ftdUid), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcSpecificIsSuccessful(false) + triggerFtdDeleteOnFmcIsSuccessful(true) + waitForFtdDeleteStateMachineTriggeredIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.DeleteOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to trigger delete FTD state machine", + input: cloudftd.NewDeleteInput(ftdUid), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcSpecificIsSuccessful(true) + triggerFtdDeleteOnFmcIsSuccessful(false) + waitForFtdDeleteStateMachineTriggeredIsSuccessful(true) + }, + assertFunc: func(output *cloudftd.DeleteOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to wait for FTD delete state machine starts", + input: cloudftd.NewDeleteInput(ftdUid), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcSpecificIsSuccessful(true) + triggerFtdDeleteOnFmcIsSuccessful(true) + waitForFtdDeleteStateMachineTriggeredIsSuccessful(false) + }, + assertFunc: func(output *cloudftd.DeleteOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + { + testName: "error when failed to wait for FTD delete state machine starts, and waited before error", + input: cloudftd.NewDeleteInput(ftdUid), + setupFunc: func() { + readFmcIsSuccessful(true) + readFmcSpecificIsSuccessful(true) + triggerFtdDeleteOnFmcIsSuccessful(true) + waitForFtdDeleteStateMachineTriggeredReturnedNotFound() + waitForFtdDeleteStateMachineTriggeredReturnedNotFound() + waitForFtdDeleteStateMachineTriggeredReturnedNotFound() + waitForFtdDeleteStateMachineTriggeredIsSuccessful(false) + }, + assertFunc: func(output *cloudftd.DeleteOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := cloudftd.Delete( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + testCase.input, + ) + + testCase.assertFunc(output, err, t) + }) + } +} + +func waitForFtdDeleteStateMachineTriggeredIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadStateMachineInstance(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, []statemachine.ReadInstanceByDeviceUidOutput{ + validReadStateMachineOutput, + }), + ) + } else { + httpmock.RegisterResponder( + http.MethodPut, + url.UpdateFmcAppliance(baseUrl, fmcSpecificUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func waitForFtdDeleteStateMachineTriggeredReturnedNotFound() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadStateMachineInstance(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusNotFound, statemachine.StateMachineNotFoundError), + ) +} + +func triggerFtdDeleteOnFmcIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodPut, + url.UpdateFmcAppliance(baseUrl, fmcSpecificUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validUpdateFmcSpecificOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodPut, + url.UpdateFmcAppliance(baseUrl, fmcSpecificUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} + +func readFmcSpecificIsSuccessful(success bool) { + if success { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadSpecificDevice(baseUrl, fmcUid), + httpmock.NewJsonResponderOrPanic(http.StatusOK, validReadSpecificOutput), + ) + } else { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadSpecificDevice(baseUrl, fmcUid), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + } +} diff --git a/client/device/cloudftd/fixture_test.go b/client/device/cloudftd/fixture_test.go index 91df0fe8..b3770562 100644 --- a/client/device/cloudftd/fixture_test.go +++ b/client/device/cloudftd/fixture_test.go @@ -2,11 +2,15 @@ package cloudftd_test import ( "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudfmc/fmcappliance" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/device/cloudftd" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/statemachine" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/accesspolicies" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/cloudfmc/fmcdomain" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/license" "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/ftd/tier" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/model/statemachine/state" ) const ( @@ -35,6 +39,10 @@ const ( fmcAccessPolicyItemType = "unit-test-access-policy-item-type" fmcAccessPolicyItemUid = "unit-test-access-policy-item-uid" + fmcSpecificUid = "unit-test-fmc-specific-uid" + fmcSpecificStatus = "unit-test-fmc-specific-status" + fmcSpecificState = "unit-test-fmc-specific-state" + ftdName = "unit-test-ftdName" ftdUid = "unit-test-ftdUid" ftdVirtual = true @@ -129,4 +137,23 @@ var ( RegKey(ftdRegKey). Build()). Build() + + validReadSpecificOutput = cloudfmc.ReadSpecificOutput{ + SpecificUid: fmcSpecificUid, + DomainUid: fmcDomainUid, + State: state.DONE, + Status: fmcSpecificStatus, + } + + validUpdateFmcSpecificOutput = fmcappliance.NewUpdateOutputBuilder(). + Uid(fmcSpecificUid). + State(fmcSpecificState). + DomainUid(fmcDomainUid). + Build() + + validReadStateMachineOutput = statemachine.NewReadInstanceByDeviceUidOutputBuilder(). + StateMachineIdentifier("fmceDeleteFtdcStateMachine"). + Build() + + validDeleteOutput = cloudftd.DeleteOutput{} ) diff --git a/client/device/cloudftd/read_by_name.go b/client/device/cloudftd/read_by_name.go index f105c0a2..bca67ead 100644 --- a/client/device/cloudftd/read_by_name.go +++ b/client/device/cloudftd/read_by_name.go @@ -18,7 +18,7 @@ func NewReadByNameInput(name string) ReadByNameInput { Name: name, } } - +g func ReadByName(ctx context.Context, client http.Client, readInp ReadByNameInput) (*ReadOutput, error) { readUrl := url.ReadDeviceByNameAndType(client.BaseUrl(), readInp.Name, devicetype.CloudFtd) diff --git a/client/internal/statemachine/fixture_test.go b/client/internal/statemachine/fixture_test.go new file mode 100644 index 00000000..62c4bca7 --- /dev/null +++ b/client/internal/statemachine/fixture_test.go @@ -0,0 +1,12 @@ +package statemachine_test + +import "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/statemachine" + +const ( + baseUrl = "https://unit-test.cdo.cisco.com" + deviceUid = "unit-test-device-uid" +) + +var ( + validReadStateMachineOutput = statemachine.NewReadInstanceByDeviceUidOutputBuilder().Build() +) diff --git a/client/internal/statemachine/readinstance_by_deviceuid.go b/client/internal/statemachine/readinstance_by_deviceuid.go index 1aa337a0..53bb7c93 100644 --- a/client/internal/statemachine/readinstance_by_deviceuid.go +++ b/client/internal/statemachine/readinstance_by_deviceuid.go @@ -20,6 +20,8 @@ func NewReadInstanceByDeviceUidInput(deviceUid string) ReadInstanceByDeviceUidIn type ReadInstanceByDeviceUidOutput = statemachine.Instance +var NewReadInstanceByDeviceUidOutputBuilder = statemachine.NewInstanceBuilder + func ReadInstanceByDeviceUid(ctx context.Context, client http.Client, readInp ReadInstanceByDeviceUidInput) (*ReadInstanceByDeviceUidOutput, error) { readUrl := url.ReadStateMachineInstance(client.BaseUrl()) diff --git a/client/internal/statemachine/readinstance_by_deviceuid_test.go b/client/internal/statemachine/readinstance_by_deviceuid_test.go new file mode 100644 index 00000000..ce59e3b6 --- /dev/null +++ b/client/internal/statemachine/readinstance_by_deviceuid_test.go @@ -0,0 +1,75 @@ +package statemachine_test + +import ( + "context" + internalHttp "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/http" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/statemachine" + "github.com/CiscoDevnet/terraform-provider-cdo/go-client/internal/url" + "github.com/jarcoal/httpmock" + "github.com/stretchr/testify/assert" + "net/http" + "testing" + "time" +) + +func TestReadInstanceByDeviceUid(t *testing.T) { + httpmock.Activate() + defer httpmock.DeactivateAndReset() + + testCases := []struct { + testName string + input statemachine.ReadInstanceByDeviceUidInput + setupFunc func() + assertFunc func(output *statemachine.ReadInstanceByDeviceUidOutput, err error, t *testing.T) + }{ + { + testName: "successfully read state machine instance by uid", + input: statemachine.NewReadInstanceByDeviceUidInput(deviceUid), + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadStateMachineInstance(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusOK, []statemachine.ReadInstanceByDeviceUidOutput{ + validReadStateMachineOutput, + }), + ) + }, + assertFunc: func(output *statemachine.ReadInstanceByDeviceUidOutput, err error, t *testing.T) { + assert.Nil(t, err) + assert.NotNil(t, output) + assert.Equal(t, validReadStateMachineOutput, *output) + }, + }, + { + testName: "error when read state machine instance by uid error", + input: statemachine.NewReadInstanceByDeviceUidInput(deviceUid), + setupFunc: func() { + httpmock.RegisterResponder( + http.MethodGet, + url.ReadStateMachineInstance(baseUrl), + httpmock.NewJsonResponderOrPanic(http.StatusInternalServerError, "internal server error"), + ) + }, + assertFunc: func(output *statemachine.ReadInstanceByDeviceUidOutput, err error, t *testing.T) { + assert.NotNil(t, err) + assert.Nil(t, output) + }, + }, + } + + for _, testCase := range testCases { + t.Run(testCase.testName, func(t *testing.T) { + httpmock.Reset() + + testCase.setupFunc() + + output, err := statemachine.ReadInstanceByDeviceUid( + context.Background(), + *internalHttp.MustNewWithConfig(baseUrl, "a_valid_token", 0, 0, time.Minute), + testCase.input, + ) + + testCase.assertFunc(output, err, t) + }) + } +} diff --git a/client/model/statemachine/details.go b/client/model/statemachine/details.go index ce04dc7e..b39e1b9a 100644 --- a/client/model/statemachine/details.go +++ b/client/model/statemachine/details.go @@ -1,7 +1,6 @@ package statemachine type Details struct { - //stateMachineDetails CurrentDataRequirements *string `json:"currentDataRequirements,omitempty"` Identifier string `json:"identifier"` LastActiveDate int `json:"lastActiveDate"` diff --git a/client/model/statemachine/instance.go b/client/model/statemachine/instance.go index 7711b5ba..1a53b3f7 100644 --- a/client/model/statemachine/instance.go +++ b/client/model/statemachine/instance.go @@ -18,3 +18,97 @@ type Instance struct { Status string `json:"status"` Uid string `json:"uid"` } + +type InstanceBuilder struct { + instance *Instance +} + +func NewInstanceBuilder() *InstanceBuilder { + instance := &Instance{} + b := &InstanceBuilder{instance: instance} + return b +} + +func (b *InstanceBuilder) Actions(actions []Action) *InstanceBuilder { + b.instance.Actions = actions + return b +} + +func (b *InstanceBuilder) ActiveStateMachineContext(activeStateMachineContext map[string]string) *InstanceBuilder { + b.instance.ActiveStateMachineContext = activeStateMachineContext + return b +} + +func (b *InstanceBuilder) AfterHooks(afterHooks []Hook) *InstanceBuilder { + b.instance.AfterHooks = afterHooks + return b +} + +func (b *InstanceBuilder) BeforeHooks(beforeHooks []Hook) *InstanceBuilder { + b.instance.BeforeHooks = beforeHooks + return b +} + +func (b *InstanceBuilder) CreatedDate(createdDate int) *InstanceBuilder { + b.instance.CreatedDate = createdDate + return b +} + +func (b *InstanceBuilder) CurrentState(currentState string) *InstanceBuilder { + b.instance.CurrentState = currentState + return b +} + +func (b *InstanceBuilder) EndDate(endDate int) *InstanceBuilder { + b.instance.EndDate = endDate + return b +} + +func (b *InstanceBuilder) HasErrors(hasErrors bool) *InstanceBuilder { + b.instance.HasErrors = hasErrors + return b +} + +func (b *InstanceBuilder) ObjectReference(objectReference ObjectReference) *InstanceBuilder { + b.instance.ObjectReference = objectReference + return b +} + +func (b *InstanceBuilder) StateMachineDetails(stateMachineDetails Details) *InstanceBuilder { + b.instance.StateMachineDetails = stateMachineDetails + return b +} + +func (b *InstanceBuilder) StateMachineIdentifier(stateMachineIdentifier string) *InstanceBuilder { + b.instance.StateMachineIdentifier = stateMachineIdentifier + return b +} + +func (b *InstanceBuilder) StateMachineInstanceCondition(stateMachineInstanceCondition string) *InstanceBuilder { + b.instance.StateMachineInstanceCondition = stateMachineInstanceCondition + return b +} + +func (b *InstanceBuilder) StateMachinePriority(stateMachinePriority string) *InstanceBuilder { + b.instance.StateMachinePriority = stateMachinePriority + return b +} + +func (b *InstanceBuilder) StateMachineType(stateMachineType string) *InstanceBuilder { + b.instance.StateMachineType = stateMachineType + return b +} + +func (b *InstanceBuilder) Status(status string) *InstanceBuilder { + b.instance.Status = status + return b +} + +func (b *InstanceBuilder) Uid(uid string) *InstanceBuilder { + b.instance.Uid = uid + return b +} + +func (b *InstanceBuilder) Build() Instance { + return *b.instance +} From 44e332ce8642bae972916659cb173f71c0e660ec Mon Sep 17 00:00:00 2001 From: Weilue Luo Date: Tue, 29 Aug 2023 17:38:33 +0100 Subject: [PATCH 31/31] minor cleanup --- provider/internal/device/ftd/operation.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/provider/internal/device/ftd/operation.go b/provider/internal/device/ftd/operation.go index c6c88e64..4474f4e9 100644 --- a/provider/internal/device/ftd/operation.go +++ b/provider/internal/device/ftd/operation.go @@ -23,7 +23,7 @@ func Read(ctx context.Context, resource *Resource, stateData *ResourceModel) err stateData.ID = types.StringValue(res.Uid) stateData.Name = types.StringValue(res.Name) stateData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) - stateData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) + stateData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUid) stateData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) stateData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) if res.Metadata.PerformanceTier != nil { // nil means physical cloudftd @@ -47,7 +47,7 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er } licensesGoList := util.TFStringListToGoStringList(planData.Licenses) - licenses, err := sliceutil.MapWithError(licensesGoList, func(s string) (license.Type, error) { return license.Parse(s) }) + licenses, err := sliceutil.MapWithError(licensesGoList, func(s string) (license.Type, error) { return license.Deserialize(s) }) if err != nil { return err } @@ -67,7 +67,7 @@ func Create(ctx context.Context, resource *Resource, planData *ResourceModel) er planData.ID = types.StringValue(res.Uid) planData.Name = types.StringValue(res.Name) planData.AccessPolicyName = types.StringValue(res.Metadata.AccessPolicyName) - planData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUuid) + planData.AccessPolicyUid = types.StringValue(res.Metadata.AccessPolicyUid) planData.Virtual = types.BoolValue(res.Metadata.PerformanceTier != nil) planData.Licenses = util.GoStringSliceToTFStringList(sliceutil.Map(res.Metadata.LicenseCaps, func(l license.Type) string { return string(l) })) if res.Metadata.PerformanceTier != nil { // nil means physical cloud ftd