Step 10: Monitoring Terraform provisioning operations - 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).

Step 10: Monitoring Terraform provisioning operations

If you want to monitor provisioning operations, you can review Amazon CloudWatch logs and Amazon Step Functions for any provisioning workflow.

There are two state machines for the provisioning workflow:

  • ManageProvisionedProductStateMachine — Amazon Service Catalog invokes this state machine when provisioning a new Terraform product and when updating an existing Terraform provisioned product.

  • TerminateProvisionedProductStateMachine — Amazon Service Catalog invokes this state machine when terminating an existing Terraform provisioned product.

To execute the monitoring state machine
  1. Open the Amazon management console and log in as an administrator in the admin hub account where the Terraform provisioning engine is installed.

  2. Open Amazon Step Functions.

  3. In the left navigation panel, choose State machines.

  4. Choose ManageProvisionedProductStateMachine.

  5. In the Executions list, enter the provisioned product ID to locate your execution.

    Note

    Amazon Service Catalog creates the provisioned product ID when you provision the product. The provisioned product ID is formatted as follows: pp-1111pwtn[ID number].

  6. Choose the execution ID.

On the resulting Execution details page, you can view all of the steps in the provisioning workflow. You can also review any failed steps to identify the cause of the failure.