Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions mso/resource_mso_schema_template_contract_filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/helper/validation"
)

// This resource could be deprecated because a contract must always be associated with at least one filter.
// Since mso_schema_template_contract cannot be created without a filter_relationship, this resource cannot be used
// independently without conflicting with the inline filter_relationship attribute of mso_schema_template_contract.
// Currently keeping the resource because there is a warning in the resource documentation

func resourceMSOTemplateContractFilter() *schema.Resource {
return &schema.Resource{
Create: resourceMSOTemplateContractFilterCreate,
Expand Down
2 changes: 2 additions & 0 deletions mso/resource_mso_schema_template_contract_filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import (
"github.com/hashicorp/terraform-plugin-sdk/terraform"
)

// Skipped updating tests, see resource comments

func TestAccMSOSchemaTemplateContractFilter_Basic(t *testing.T) {
var tc TemplateContractFilter
resource.Test(t, resource.TestCase{
Expand Down
Loading