You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an issue with the terraform apply command during the GitHub action execution if some entity was already manually created in the commercetools with the same "key".
Is it possible automatically import entity by key into the terraform state if is was already created in the commercetools manually?
The text was updated successfully, but these errors were encountered:
Hi @roman-sokolovych-valtech did you run an import for that same resource beforehand? Like terraform import commercetools_product_type.test_type_creation? This way terraform will take the existing type into state.
Commercetools does not allow multiple entities with the same key, so the error happens because terraform tries to create a new resource based on it missing in state, but encounters an error in CT because the key exists
I have an issue with the terraform apply command during the GitHub action execution if some entity was already manually created in the commercetools with the same "key".
Is it possible automatically import entity by key into the terraform state if is was already created in the commercetools manually?
The text was updated successfully, but these errors were encountered: