diff --git a/CHANGELOG.md b/CHANGELOG.md index deeaaae5..4e4f75d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ - Add `sdwan_system_feature_profile` resource and data source - Add `sdwan_service_feature_profile` resource and data source +- Add `sdwan_transport_feature_profile` resource and data source ## 0.2.11 diff --git a/docs/data-sources/transport_feature_profile.md b/docs/data-sources/transport_feature_profile.md new file mode 100644 index 00000000..11eb4b67 --- /dev/null +++ b/docs/data-sources/transport_feature_profile.md @@ -0,0 +1,31 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "sdwan_transport_feature_profile Data Source - terraform-provider-sdwan" +subcategory: "Feature Profiles" +description: |- + This data source can read the Transport Feature Profile . +--- + +# sdwan_transport_feature_profile (Data Source) + +This data source can read the Transport Feature Profile . + +## Example Usage + +```terraform +data "sdwan_transport_feature_profile" "example" { + id = "f6b2c44c-693c-4763-b010-895aa3d236bd" +} +``` + + +## Schema + +### Required + +- `id` (String) The id of the object + +### Read-Only + +- `description` (String) Description +- `name` (String) The name of the transport feature profile diff --git a/docs/guides/changelog.md b/docs/guides/changelog.md index 40d177ad..98b18f56 100644 --- a/docs/guides/changelog.md +++ b/docs/guides/changelog.md @@ -11,6 +11,7 @@ description: |- - Add `sdwan_system_feature_profile` resource and data source - Add `sdwan_service_feature_profile` resource and data source +- Add `sdwan_transport_feature_profile` resource and data source ## 0.2.11 diff --git a/docs/resources/transport_feature_profile.md b/docs/resources/transport_feature_profile.md new file mode 100644 index 00000000..0bebb15d --- /dev/null +++ b/docs/resources/transport_feature_profile.md @@ -0,0 +1,43 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "sdwan_transport_feature_profile Resource - terraform-provider-sdwan" +subcategory: "Feature Profiles" +description: |- + This resource can manage a Transport Feature Profile . +--- + +# sdwan_transport_feature_profile (Resource) + +This resource can manage a Transport Feature Profile . + +## Example Usage + +```terraform +resource "sdwan_transport_feature_profile" "example" { + name = "TRANSPORT_FP_1" + description = "My transport feature profile 1" +} +``` + + +## Schema + +### Required + +- `name` (String) The name of the transport feature profile + +### Optional + +- `description` (String) Description + +### Read-Only + +- `id` (String) The id of the object + +## Import + +Import is supported using the following syntax: + +```shell +terraform import sdwan_transport_feature_profile.example "f6b2c44c-693c-4763-b010-895aa3d236bd" +``` diff --git a/examples/data-sources/sdwan_transport_feature_profile/data-source.tf b/examples/data-sources/sdwan_transport_feature_profile/data-source.tf new file mode 100644 index 00000000..c91ffd09 --- /dev/null +++ b/examples/data-sources/sdwan_transport_feature_profile/data-source.tf @@ -0,0 +1,3 @@ +data "sdwan_transport_feature_profile" "example" { + id = "f6b2c44c-693c-4763-b010-895aa3d236bd" +} diff --git a/examples/resources/sdwan_transport_feature_profile/import.sh b/examples/resources/sdwan_transport_feature_profile/import.sh new file mode 100644 index 00000000..ebaac69a --- /dev/null +++ b/examples/resources/sdwan_transport_feature_profile/import.sh @@ -0,0 +1 @@ +terraform import sdwan_transport_feature_profile.example "f6b2c44c-693c-4763-b010-895aa3d236bd" diff --git a/examples/resources/sdwan_transport_feature_profile/resource.tf b/examples/resources/sdwan_transport_feature_profile/resource.tf new file mode 100644 index 00000000..42c746d1 --- /dev/null +++ b/examples/resources/sdwan_transport_feature_profile/resource.tf @@ -0,0 +1,4 @@ +resource "sdwan_transport_feature_profile" "example" { + name = "TRANSPORT_FP_1" + description = "My transport feature profile 1" +} diff --git a/gen/definitions/generic/transport_feature_profile.yaml b/gen/definitions/generic/transport_feature_profile.yaml new file mode 100644 index 00000000..cb97fe68 --- /dev/null +++ b/gen/definitions/generic/transport_feature_profile.yaml @@ -0,0 +1,16 @@ +--- +name: Transport Feature Profile +rest_endpoint: /v1/feature-profile/sdwan/transport/ +id_attribute: id +doc_category: Feature Profiles +attributes: + - model_name: name + response_model_name: profileName + type: String + mandatory: true + description: The name of the transport feature profile + example: TRANSPORT_FP_1 + - model_name: description + type: String + description: Description + example: My transport feature profile 1 diff --git a/internal/provider/data_source_sdwan_transport_feature_profile.go b/internal/provider/data_source_sdwan_transport_feature_profile.go new file mode 100644 index 00000000..927c64e8 --- /dev/null +++ b/internal/provider/data_source_sdwan_transport_feature_profile.go @@ -0,0 +1,104 @@ +// Copyright © 2023 Cisco Systems, Inc. and its affiliates. +// All rights reserved. +// +// Licensed under the Mozilla Public License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://mozilla.org/MPL/2.0/ +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: MPL-2.0 + +// Code generated by "gen/generator.go"; DO NOT EDIT. + +package provider + +import ( + "context" + "fmt" + + "github.com/hashicorp/terraform-plugin-framework/datasource" + "github.com/hashicorp/terraform-plugin-framework/datasource/schema" + "github.com/hashicorp/terraform-plugin-log/tflog" + "github.com/netascode/go-sdwan" +) + +// Ensure the implementation satisfies the expected interfaces. +var ( + _ datasource.DataSource = &TransportFeatureProfileDataSource{} + _ datasource.DataSourceWithConfigure = &TransportFeatureProfileDataSource{} +) + +func NewTransportFeatureProfileDataSource() datasource.DataSource { + return &TransportFeatureProfileDataSource{} +} + +type TransportFeatureProfileDataSource struct { + client *sdwan.Client +} + +func (d *TransportFeatureProfileDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse) { + resp.TypeName = req.ProviderTypeName + "_transport_feature_profile" +} + +func (d *TransportFeatureProfileDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse) { + resp.Schema = schema.Schema{ + // This description is used by the documentation generator and the language server. + MarkdownDescription: "This data source can read the Transport Feature Profile .", + + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + MarkdownDescription: "The id of the object", + Required: true, + }, + "name": schema.StringAttribute{ + MarkdownDescription: "The name of the transport feature profile", + Computed: true, + }, + "description": schema.StringAttribute{ + MarkdownDescription: "Description", + Computed: true, + }, + }, + } +} + +func (d *TransportFeatureProfileDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, _ *datasource.ConfigureResponse) { + if req.ProviderData == nil { + return + } + + d.client = req.ProviderData.(*SdwanProviderData).Client +} + +func (d *TransportFeatureProfileDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) { + var config TransportFeatureProfile + + // Read config + diags := req.Config.Get(ctx, &config) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + tflog.Debug(ctx, fmt.Sprintf("%s: Beginning Read", config.Id.String())) + + res, err := d.client.Get("/v1/feature-profile/sdwan/transport/" + config.Id.ValueString()) + if err != nil { + resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to retrieve object, got error: %s", err)) + return + } + + config.fromBody(ctx, res) + + tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", config.Id.ValueString())) + + diags = resp.State.Set(ctx, &config) + resp.Diagnostics.Append(diags...) +} diff --git a/internal/provider/data_source_sdwan_transport_feature_profile_test.go b/internal/provider/data_source_sdwan_transport_feature_profile_test.go new file mode 100644 index 00000000..0c71174a --- /dev/null +++ b/internal/provider/data_source_sdwan_transport_feature_profile_test.go @@ -0,0 +1,54 @@ +// Copyright © 2023 Cisco Systems, Inc. and its affiliates. +// All rights reserved. +// +// Licensed under the Mozilla Public License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://mozilla.org/MPL/2.0/ +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: MPL-2.0 + +// Code generated by "gen/generator.go"; DO NOT EDIT. + +package provider + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +func TestAccDataSourceSdwanTransportFeatureProfile(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + Steps: []resource.TestStep{ + { + Config: testAccDataSourceSdwanTransportFeatureProfileConfig, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("data.sdwan_transport_feature_profile.test", "name", "TRANSPORT_FP_1"), + resource.TestCheckResourceAttr("data.sdwan_transport_feature_profile.test", "description", "My transport feature profile 1"), + ), + }, + }, + }) +} + +const testAccDataSourceSdwanTransportFeatureProfileConfig = ` + +resource "sdwan_transport_feature_profile" "test" { + name = "TRANSPORT_FP_1" + description = "My transport feature profile 1" +} + +data "sdwan_transport_feature_profile" "test" { + id = sdwan_transport_feature_profile.test.id +} +` diff --git a/internal/provider/model_sdwan_transport_feature_profile.go b/internal/provider/model_sdwan_transport_feature_profile.go new file mode 100644 index 00000000..f9cdd37d --- /dev/null +++ b/internal/provider/model_sdwan_transport_feature_profile.go @@ -0,0 +1,69 @@ +// Copyright © 2023 Cisco Systems, Inc. and its affiliates. +// All rights reserved. +// +// Licensed under the Mozilla Public License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://mozilla.org/MPL/2.0/ +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: MPL-2.0 + +// Code generated by "gen/generator.go"; DO NOT EDIT. + +package provider + +import ( + "context" + + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/tidwall/gjson" + "github.com/tidwall/sjson" +) + +type TransportFeatureProfile struct { + Id types.String `tfsdk:"id"` + Name types.String `tfsdk:"name"` + Description types.String `tfsdk:"description"` +} + +func (data TransportFeatureProfile) toBody(ctx context.Context) string { + body := "" + if !data.Name.IsNull() { + body, _ = sjson.Set(body, "name", data.Name.ValueString()) + } + if !data.Description.IsNull() { + body, _ = sjson.Set(body, "description", data.Description.ValueString()) + } + return body +} + +func (data *TransportFeatureProfile) fromBody(ctx context.Context, res gjson.Result) { + if value := res.Get("profileName"); value.Exists() { + data.Name = types.StringValue(value.String()) + } else { + data.Name = types.StringNull() + } + if value := res.Get("description"); value.Exists() { + data.Description = types.StringValue(value.String()) + } else { + data.Description = types.StringNull() + } +} + +func (data *TransportFeatureProfile) hasChanges(ctx context.Context, state *TransportFeatureProfile) bool { + hasChanges := false + if !data.Name.Equal(state.Name) { + hasChanges = true + } + if !data.Description.Equal(state.Description) { + hasChanges = true + } + return hasChanges +} diff --git a/internal/provider/provider.go b/internal/provider/provider.go index acfea7db..7f26a10c 100644 --- a/internal/provider/provider.go +++ b/internal/provider/provider.go @@ -313,6 +313,7 @@ func (p *SdwanProvider) Resources(ctx context.Context) []func() resource.Resourc NewTLSSSLDecryptionPolicyDefinitionResource, NewTLSSSLProfilePolicyDefinitionResource, NewTrafficDataPolicyDefinitionResource, + NewTransportFeatureProfileResource, NewURLFilteringPolicyDefinitionResource, NewVPNListPolicyObjectResource, NewVPNMembershipPolicyDefinitionResource, @@ -397,6 +398,7 @@ func (p *SdwanProvider) DataSources(ctx context.Context) []func() datasource.Dat NewTLSSSLDecryptionPolicyDefinitionDataSource, NewTLSSSLProfilePolicyDefinitionDataSource, NewTrafficDataPolicyDefinitionDataSource, + NewTransportFeatureProfileDataSource, NewURLFilteringPolicyDefinitionDataSource, NewVEdgeInventoryDataSource, NewVPNListPolicyObjectDataSource, diff --git a/internal/provider/resource_sdwan_transport_feature_profile.go b/internal/provider/resource_sdwan_transport_feature_profile.go new file mode 100644 index 00000000..66f78fa6 --- /dev/null +++ b/internal/provider/resource_sdwan_transport_feature_profile.go @@ -0,0 +1,214 @@ +// Copyright © 2023 Cisco Systems, Inc. and its affiliates. +// All rights reserved. +// +// Licensed under the Mozilla Public License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://mozilla.org/MPL/2.0/ +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: MPL-2.0 + +// Code generated by "gen/generator.go"; DO NOT EDIT. + +package provider + +import ( + "context" + "fmt" + "strings" + "sync" + + "github.com/CiscoDevNet/terraform-provider-sdwan/internal/provider/helpers" + "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" + "github.com/netascode/go-sdwan" +) + +// Ensure provider defined types fully satisfy framework interfaces +var _ resource.Resource = &TransportFeatureProfileResource{} +var _ resource.ResourceWithImportState = &TransportFeatureProfileResource{} + +func NewTransportFeatureProfileResource() resource.Resource { + return &TransportFeatureProfileResource{} +} + +type TransportFeatureProfileResource struct { + client *sdwan.Client + updateMutex *sync.Mutex +} + +func (r *TransportFeatureProfileResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse) { + resp.TypeName = req.ProviderTypeName + "_transport_feature_profile" +} + +func (r *TransportFeatureProfileResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse) { + resp.Schema = schema.Schema{ + // This description is used by the documentation generator and the language server. + MarkdownDescription: helpers.NewAttributeDescription("This resource can manage a Transport Feature Profile .").String, + + Attributes: map[string]schema.Attribute{ + "id": schema.StringAttribute{ + MarkdownDescription: "The id of the object", + Computed: true, + PlanModifiers: []planmodifier.String{ + stringplanmodifier.UseStateForUnknown(), + }, + }, + "name": schema.StringAttribute{ + MarkdownDescription: helpers.NewAttributeDescription("The name of the transport feature profile").String, + Required: true, + }, + "description": schema.StringAttribute{ + MarkdownDescription: helpers.NewAttributeDescription("Description").String, + Optional: true, + }, + }, + } +} + +func (r *TransportFeatureProfileResource) Configure(_ context.Context, req resource.ConfigureRequest, _ *resource.ConfigureResponse) { + if req.ProviderData == nil { + return + } + + r.client = req.ProviderData.(*SdwanProviderData).Client + r.updateMutex = req.ProviderData.(*SdwanProviderData).UpdateMutex +} + +func (r *TransportFeatureProfileResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) { + var plan TransportFeatureProfile + + // Read plan + diags := req.Plan.Get(ctx, &plan) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + tflog.Debug(ctx, fmt.Sprintf("%s: Beginning Create", plan.Name.ValueString())) + + // Create object + body := plan.toBody(ctx) + + res, err := r.client.Post("/v1/feature-profile/sdwan/transport/", body) + if err != nil { + resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to configure object (POST), got error: %s, %s", err, res.String())) + return + } + + plan.Id = types.StringValue(res.Get("id").String()) + + tflog.Debug(ctx, fmt.Sprintf("%s: Create finished successfully", plan.Name.ValueString())) + + diags = resp.State.Set(ctx, &plan) + resp.Diagnostics.Append(diags...) +} + +func (r *TransportFeatureProfileResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) { + var state TransportFeatureProfile + + // Read state + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + tflog.Debug(ctx, fmt.Sprintf("%s: Beginning Read", state.Name.String())) + + res, err := r.client.Get("/v1/feature-profile/sdwan/transport/" + state.Id.ValueString()) + if strings.Contains(res.Get("error.message").String(), "Failed to find specified resource") || strings.Contains(res.Get("error.message").String(), "Invalid template type") || strings.Contains(res.Get("error.message").String(), "Template definition not found") { + resp.State.RemoveResource(ctx) + return + } else if err != nil { + resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to retrieve object (GET), got error: %s, %s", err, res.String())) + return + } + + state.fromBody(ctx, res) + + tflog.Debug(ctx, fmt.Sprintf("%s: Read finished successfully", state.Name.ValueString())) + + diags = resp.State.Set(ctx, &state) + resp.Diagnostics.Append(diags...) +} + +func (r *TransportFeatureProfileResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse) { + var plan, state TransportFeatureProfile + + // Read plan + diags := req.Plan.Get(ctx, &plan) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + // Read state + diags = req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + tflog.Debug(ctx, fmt.Sprintf("%s: Beginning Update", plan.Name.ValueString())) + + if plan.hasChanges(ctx, &state) { + body := plan.toBody(ctx) + r.updateMutex.Lock() + res, err := r.client.Put("/v1/feature-profile/sdwan/transport/"+plan.Id.ValueString(), body) + r.updateMutex.Unlock() + if err != nil { + if strings.Contains(res.Get("error.message").String(), "Failed to acquire lock") { + resp.Diagnostics.AddWarning("Client Warning", "Failed to modify policy due to policy being locked by another change. Policy changes will not be applied. Re-run 'terraform apply' to try again.") + } else { + resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to configure object (PUT), got error: %s, %s", err, res.String())) + return + } + } + } else { + tflog.Debug(ctx, fmt.Sprintf("%s: No changes detected", plan.Name.ValueString())) + } + + tflog.Debug(ctx, fmt.Sprintf("%s: Update finished successfully", plan.Name.ValueString())) + + diags = resp.State.Set(ctx, &plan) + resp.Diagnostics.Append(diags...) +} + +func (r *TransportFeatureProfileResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) { + var state TransportFeatureProfile + + // Read state + diags := req.State.Get(ctx, &state) + resp.Diagnostics.Append(diags...) + if resp.Diagnostics.HasError() { + return + } + + tflog.Debug(ctx, fmt.Sprintf("%s: Beginning Delete", state.Name.ValueString())) + + res, err := r.client.Delete("/v1/feature-profile/sdwan/transport/" + state.Id.ValueString()) + if err != nil { + resp.Diagnostics.AddError("Client Error", fmt.Sprintf("Failed to delete object (DELETE), got error: %s, %s", err, res.String())) + return + } + + tflog.Debug(ctx, fmt.Sprintf("%s: Delete finished successfully", state.Name.ValueString())) + + resp.State.RemoveResource(ctx) +} + +func (r *TransportFeatureProfileResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse) { + resource.ImportStatePassthroughID(ctx, path.Root("id"), req, resp) +} diff --git a/internal/provider/resource_sdwan_transport_feature_profile_test.go b/internal/provider/resource_sdwan_transport_feature_profile_test.go new file mode 100644 index 00000000..68408244 --- /dev/null +++ b/internal/provider/resource_sdwan_transport_feature_profile_test.go @@ -0,0 +1,51 @@ +// Copyright © 2023 Cisco Systems, Inc. and its affiliates. +// All rights reserved. +// +// Licensed under the Mozilla Public License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// https://mozilla.org/MPL/2.0/ +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: MPL-2.0 + +// Code generated by "gen/generator.go"; DO NOT EDIT. + +package provider + +import ( + "testing" + + "github.com/hashicorp/terraform-plugin-testing/helper/resource" +) + +func TestAccSdwanTransportFeatureProfile(t *testing.T) { + resource.Test(t, resource.TestCase{ + PreCheck: func() { testAccPreCheck(t) }, + ProtoV6ProviderFactories: testAccProtoV6ProviderFactories, + Steps: []resource.TestStep{ + { + Config: testAccSdwanTransportFeatureProfileConfig, + Check: resource.ComposeTestCheckFunc( + resource.TestCheckResourceAttr("sdwan_transport_feature_profile.test", "name", "TRANSPORT_FP_1"), + resource.TestCheckResourceAttr("sdwan_transport_feature_profile.test", "description", "My transport feature profile 1"), + ), + }, + }, + }) +} + +const testAccSdwanTransportFeatureProfileConfig = ` + + +resource "sdwan_transport_feature_profile" "test" { + name = "TRANSPORT_FP_1" + description = "My transport feature profile 1" +} +` diff --git a/templates/guides/changelog.md.tmpl b/templates/guides/changelog.md.tmpl index 40d177ad..98b18f56 100644 --- a/templates/guides/changelog.md.tmpl +++ b/templates/guides/changelog.md.tmpl @@ -11,6 +11,7 @@ description: |- - Add `sdwan_system_feature_profile` resource and data source - Add `sdwan_service_feature_profile` resource and data source +- Add `sdwan_transport_feature_profile` resource and data source ## 0.2.11