Comments (3)
This is no bug. According to the code, this is just not implemented. We only respect enum changes not type changes from X to Y. In your example, the actions are zero.
terraform-provider-commercetools/commercetools/resource_type.go
Lines 471 to 508 in 7ae634e
Besides that, it's important no note that in commercetools, custom field definitions(identified by its name) are "singletons". As soon as a field definition is used by more than one custom type it's not possible to change the type of the field without changing the name.
Therefore in that scenario, it's always required to create a new field if we want to update the type.
This could be tricky to check. WDYT?
from terraform-provider-commercetools.
Commercetools doesn't support changing the type of a field. I think we now show an error in terraform that you need to delete the field and add it again. We need to check this
from terraform-provider-commercetools.
Just checked; we are raising an error
from terraform-provider-commercetools.
Related Issues (20)
- Update to latest commercetools-go-sdk
- Wanted to quickly check if there is resource for importing products with Commercetools Terraform or any plans of introducing that. HOT 1
- Tax Category Rate Resource without State HOT 2
- Discrepancy in different CI pipeline when it comes to adding category HOT 2
- Terraform apply is failing with duplicate key issue with commercetools_product_type resource. HOT 1
- New TaxRates are being created by ignoring existing TaxRates HOT 2
- A duplicate value '"category-root-kw"' exists for field 'key'. errors getting HOT 1
- Error when using es-419 language code on localized_value (does not allow numbers) HOT 1
- dynamic values causes huge diff without real changes after upgrade HOT 1
- "invalid_client" "Please provide valid client credentials using HTTP Basic Authentication." HOT 1
- while applying terraform for update getting error HOT 1
- Can we have confluent cloud option integrated for Subscription same like Google Pub/Sub HOT 2
- Request for support for cart discount target HOT 2
- Error when trying to import shipping zone rates HOT 3
- CT project settings version mismatch HOT 2
- Allow custom api extension resource type
- How to import resources to terraform state HOT 2
- Ignore values in enums types in product type, named attributes HOT 3
- update custom fields attributes in custom types - reference object custom attribute data wiped out HOT 1
- commercetools_cart_discount to support stores HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-commercetools.