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

Terraform and provider versions supported by ROS

The following table lists current Terraform and provider versions supported by ROS.

Terraform version Provider version
0.12.28
  • alicloud: 1.121.2
  • aws: 3.37.0
  • azurerm: 2.56.0
  • random: 3.1.0
  • template: 2.2.0
  • time: 0.7.0
0.15.3
  • alicloud: 1.123.0
  • aws: 3.42.0
  • azurerm: 2.59.0
  • random: 3.1.0
  • template: 2.2.0
  • time: 0.7.1
1.0.4
  • alicloud: 1.131.0
  • aws: 3.54.0
  • azurerm: 2.72.0
  • random: 3.1.0
  • template: 2.2.0
  • time: 0.7.2
  • fortios: 1.13.1
  • fortimanager: 1.3.4
Note ROS updates the supported Terraform and provider versions on a regular basis.

ROS console features supported by Terraform

Feature Supported Unsupported
Stack
  • You can preview, create, update, delete, and query stacks.
  • You can query resources, events, outputs, and templates.
  • You can configure a timeout period from 10 to 120 minutes and specify values for Parameters and Outputs. If a stack fails to be created, you can recreate the stack. You can also set up resource status notifications and enable the deletion protection feature to retain all resources of a stack when the stack is deleted. You can also manage RAM roles, tags, and resource groups.
You cannot specify parameters such as Rollback on Failure and Stack Policy, or retain some resources for a stack when the stack is deleted. You also 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.
Template
  • You can create, update, delete, query, share, and validate templates.
  • You can manage tags and resource groups.
You cannot query the prices of billed resources in templates or create RAM policies for templates.
Others You can use Alibaba Cloud Security Token Service. You cannot query stack groups or resource types.

ROS API operations supported by Terraform

Category API operation
Stack PreviewStack, CreateStack, ContinueCreateStack, UpdateStack, DeleteStack, GetStack, ListStacks, ListStackResources, GetStackResource, ListStackEvents, and SetDeletionProtection
Note When Terraform is returned for the StackType parameter in GetStack or ListStacks, Terraform stacks are queried.
Template CreateTemplate, UpdateTemplate, DeleteTemplate, GetTemplate, ListTemplates, ListTemplateVersions, SetTemplatePermission, and ValidateTemplate
Tag TagResources, UntagResources, ListTagKeys, ListTagValues, and ListTagResources
Resource group MoveResourceGroup

ROS resources supported by Terraform

The following resources are supported by Terraform in ROS: