terraform-provider-commercetools
terraform-provider-commercetools copied to clipboard
Wanted to quickly check if there is resource for importing products with Commercetools Terraform or any plans of introducing that.
Currently it gives the below error
Expecting the this would be introduced soon and also there will be a provision to give a csv/xls file for products alone as this can be a big file
Hi @tabsheerabdullla apologies for the late reply.
To answer your question: we don't support this resource indeed. It has a low priority for us, as we generally don't set products in configuration for our own customers because these tend to change too much over time.
I am however not opposed to it so if you have the time feel free to shoot in a PR with the resource added. There is a PR open in the repo someone else has been working on, if you need some inspiration.
I don't think we will ever add an import from file, as this veers quickly into something terraform providers are not really made to do. However Commercetools Impex does support this exact feature, so I would check it out there