Install and configure the Terraform provisioning engine - Amazon Service Catalog
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Install and configure the Terraform provisioning engine

To successfully use Terraform products with Amazon Service Catalog, you must install and configure a Terraform provisioning engine in the same account where you will be administering Terraform products. To get started, you can use the Terraform provisioning engine provided by Amazon, which installs and configures the code and infrastructure required for the Terraform provisioning engine to work with Amazon Service Catalog. This one-time setup takes approximately 30 minutes. Amazon Service Catalog provides a GitHub repository with instructions on installing and configuring the Terraform provisioning engine.

Queue determination

When you call a provisioning operation, Amazon Service Catalog prepares a payload message to send to the relevant queue in the provisioning engine. In order to build the ARN for the queue, Amazon Service Catalog makes a the following assumptions:

  • The provisioning engine is located in the account of the product owner

  • The provisioning engine is located in the same region in which the call to Amazon Service Catalog was made

  • The provisioning engine queues follows the documented naming schema detailed below

For example, if ProvisionProduct is called in us-east-1 from account 1111111111 using a product created by account 0000000000000, Amazon Service Catalog assumes the correct SQS ARN is arn:aws:sqs:us-east-1:0000000000000:ServiceCatalogTerraformOSProvisionOperationQueue.

The same logic applies for the Lambda function called by DescribeProvisioningParameters.