Resource Orchestration Service (ROS) allows you to manage resources by using Terraform. This topic describes the ROS features and resources supported by Terraform.

ROS updates Terraform and provider versions on a regular basis. Current versions:

  • Terraform: 0.12.28
  • Provider:
    • alicloud: 1.90.0
    • aws: 2.70.0
    • azurerm: 2.20.0

ROS console features supported by Terraform

Feature Description
Stack
  • You can preview, create, update, delete, and query stacks.
  • You can query resources, events, outputs, and templates.
  • You can configure the timeout period, status notification, deletion protection, and tag management settings. The timeout period can range from 10 minutes to 120 minutes. You can enable Deletion Protection to retain all resources of a stack when the stack is deleted.
  • You cannot configure template parameters or specify stack parameters such as Rollback on Failure, Stack Policy, and RAM Role. You cannot retain some resources of a stack when the stack is deleted or create a new stack based on the template of the previous stack that fails to be created. You cannot perform replacement update or drift detection, create change sets, cancel the update of a stack, signal the occurrence of an event, import resources, or check for risks. We recommend that you use a .tf file to replace the parameter configuration feature in the ROS console.
Template
  • You can create, update, delete, query, and validate templates.
  • You cannot query the prices of paid resources in templates.
Others You cannot create stack groups, query resource types, or use Security Token Service (STS).

ROS API operations supported by Terraform

Feature Description
Stack PreviewStack, CreateStack, UpdateStack, DeleteStack, GetStack, ListStacks, ListStackResources, GetStackResource, ListStackEvents, and SetDeletionProtection are supported.
Note When Terraform is returned for the StackType parameter in GetStack or ListStacks, Terraform stacks are queried.
Template CreateTemplate, UpdateTemplate, DeleteTemplate, GetTemplate, ListTemplates, and ValidateTemplate are supported.
Tag TagResources, UntagResources, ListTagKeys, ListTagValues, and ListTagResources are supported.

Resources supported by Terraform

The following resources are supported by Terraform in ROS:

  • Alibaba Cloud resources. For more information, visit Alibaba Cloud Provider.
    Note
    • Alicloud Terraform modules are provided for online debugging. For more information, see Alicloud Terraform Modules.
    • ROS provides a default provider that uses the temporary AccessKey pair of the current account and the region ID of a stack.
  • AWS resources. For more information, visit AWS Provider.
  • Azure resources. For more information, visit Azure Provider.