@@ -12,6 +12,8 @@ import (
1212 "github.com/labd/commercetools-go-sdk/ctutils"
1313 "github.com/labd/commercetools-go-sdk/platform"
1414 "golang.org/x/oauth2/clientcredentials"
15+
16+ "github.com/labd/terraform-provider-commercetools/internal/utils"
1517)
1618
1719func init () {
@@ -81,12 +83,14 @@ func New(version string) func() *schema.Provider {
8183 "commercetools_state" : resourceState (),
8284 "commercetools_state_transitions" : resourceStateTransitions (),
8385 "commercetools_store" : resourceStore (),
84- "commercetools_subscription" : resourceSubscription (),
8586 "commercetools_tax_category_rate" : resourceTaxCategoryRate (),
8687 "commercetools_tax_category" : resourceTaxCategory (),
8788 "commercetools_category" : resourceCategory (),
8889 "commercetools_type" : resourceType (),
8990 "commercetools_product_discount" : resourceProductDiscount (),
91+
92+ // Following items are moved to new terraform-plugin-framework
93+ // "commercetools_subscription": resourceSubscription(),
9094 },
9195 }
9296 p .ConfigureContextFunc = providerConfigure (version , p )
@@ -135,4 +139,4 @@ func providerConfigure(version string, p *schema.Provider) func(context.Context,
135139}
136140
137141// This is a global MutexKV for use within this plugin.
138- var ctMutexKV = NewMutexKV ()
142+ var ctMutexKV = utils . NewMutexKV ()
0 commit comments