Use with Commercetools
This provider use the terraform-provider-commercetools. The terraformer provider was build by Dustin Deus.
Example:
Export required variables:
export CTP_PROJECT_KEY=key
export CTP_CLIENT_ID=foo
export CTP_CLIENT_SECRET=bar
export CTP_CLIENT_SCOPE=scopeExport optional variables in case default values are not appropriate:
export CTP_BASE_URL=base_url # default: https://api.sphere.io
export CTP_TOKEN_URL=token_url # default: https://auth.sphere.ioRun terraformer
./terraformer plan commercetools -r=types # Only planning
./terraformer import commercetools -r=types # Import commercetools typesList of supported commercetools resources:
api_extensioncommercetools_api_extension
channelcommercetools_channel
custom_objectcommercetools_custom_object
product_typecommercetools_product_type
shipping_methodcommercetools_shipping_method
shipping_zonecommercetools_shipping_zone
statecommercetools_state
storecommercetools_store
subscriptioncommercetools_subscription
tax_categorycommercetools_tax_category
typescommercetools_type