published on Thursday, Jun 25, 2026 by Pulumi
published on Thursday, Jun 25, 2026 by Pulumi
Provides a ROS Stack Instances resource that allows you to deploy, update, or remove stack instances in bulk across multiple target regions and Alibaba Cloud accounts within a Stack Group. It supports both self-managed and service-managed permission models.
For information about ROS Stack Instances and how to use it, see What is Stack Instance.
NOTE: Available since v1.279.0.
Note: Stack Groups and Stack Instances rely on asynchronous batch operations. Partial failures do not trigger automatic rollback. See the Important Notes section for operational guidance.
Example Usage
Basic Usage - Self-Managed Permissions
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "tf-example";
const _this = alicloud.getAccount({});
const _default = alicloud.ros.getRegions({});
const defaultStackGroup = new alicloud.ros.StackGroup("default", {
stackGroupName: name,
templateBody: "{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}",
description: "test for stack groups",
parameters: [
{
parameterKey: "VpcName",
parameterValue: "VpcName",
},
{
parameterKey: "InstanceType",
parameterValue: "InstanceType",
},
],
});
const selfManaged = new alicloud.ros.StackInstances("self_managed", {
stackGroupName: defaultStackGroup.stackGroupName,
regionIds: [_default.then(_default => _default.regions?.[0]?.regionId)],
accountIds: [_this.then(_this => _this.id)],
parameterOverrides: [{
parameterValue: "VpcName",
parameterKey: "VpcName",
}],
timeoutInMinutes: 45,
operationDescription: "Batch deployment for production environment",
disableRollback: false,
});
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
name = "tf-example"
this = alicloud.get_account()
default = alicloud.ros.get_regions()
default_stack_group = alicloud.ros.StackGroup("default",
stack_group_name=name,
template_body="{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}",
description="test for stack groups",
parameters=[
{
"parameter_key": "VpcName",
"parameter_value": "VpcName",
},
{
"parameter_key": "InstanceType",
"parameter_value": "InstanceType",
},
])
self_managed = alicloud.ros.StackInstances("self_managed",
stack_group_name=default_stack_group.stack_group_name,
region_ids=[default.regions[0].region_id],
account_ids=[this.id],
parameter_overrides=[{
"parameter_value": "VpcName",
"parameter_key": "VpcName",
}],
timeout_in_minutes=45,
operation_description="Batch deployment for production environment",
disable_rollback=False)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ros"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
name := "tf-example"
if param := cfg.Get("name"); param != "" {
name = param
}
this, err := alicloud.GetAccount(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
_default, err := ros.GetRegions(ctx, &ros.GetRegionsArgs{}, nil)
if err != nil {
return err
}
defaultStackGroup, err := ros.NewStackGroup(ctx, "default", &ros.StackGroupArgs{
StackGroupName: pulumi.String(name),
TemplateBody: pulumi.String("{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}"),
Description: pulumi.String("test for stack groups"),
Parameters: ros.StackGroupParameterArray{
&ros.StackGroupParameterArgs{
ParameterKey: pulumi.String("VpcName"),
ParameterValue: pulumi.String("VpcName"),
},
&ros.StackGroupParameterArgs{
ParameterKey: pulumi.String("InstanceType"),
ParameterValue: pulumi.String("InstanceType"),
},
},
})
if err != nil {
return err
}
_, err = ros.NewStackInstances(ctx, "self_managed", &ros.StackInstancesArgs{
StackGroupName: defaultStackGroup.StackGroupName,
RegionIds: pulumi.StringArray{
pulumi.String(_default.Regions[0].RegionId),
},
AccountIds: pulumi.StringArray{
pulumi.String(this.Id),
},
ParameterOverrides: ros.StackInstancesParameterOverrideArray{
&ros.StackInstancesParameterOverrideArgs{
ParameterValue: pulumi.String("VpcName"),
ParameterKey: pulumi.String("VpcName"),
},
},
TimeoutInMinutes: pulumi.Int(45),
OperationDescription: pulumi.String("Batch deployment for production environment"),
DisableRollback: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var name = config.Get("name") ?? "tf-example";
var @this = AliCloud.GetAccount.Invoke();
var @default = AliCloud.Ros.GetRegions.Invoke();
var defaultStackGroup = new AliCloud.Ros.StackGroup("default", new()
{
StackGroupName = name,
TemplateBody = "{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}",
Description = "test for stack groups",
Parameters = new[]
{
new AliCloud.Ros.Inputs.StackGroupParameterArgs
{
ParameterKey = "VpcName",
ParameterValue = "VpcName",
},
new AliCloud.Ros.Inputs.StackGroupParameterArgs
{
ParameterKey = "InstanceType",
ParameterValue = "InstanceType",
},
},
});
var selfManaged = new AliCloud.Ros.StackInstances("self_managed", new()
{
StackGroupName = defaultStackGroup.StackGroupName,
RegionIds = new[]
{
@default.Apply(@default => @default.Apply(getRegionsResult => getRegionsResult.Regions[0]?.RegionId)),
},
AccountIds = new[]
{
@this.Apply(@this => @this.Apply(getAccountResult => getAccountResult.Id)),
},
ParameterOverrides = new[]
{
new AliCloud.Ros.Inputs.StackInstancesParameterOverrideArgs
{
ParameterValue = "VpcName",
ParameterKey = "VpcName",
},
},
TimeoutInMinutes = 45,
OperationDescription = "Batch deployment for production environment",
DisableRollback = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.AlicloudFunctions;
import com.pulumi.alicloud.ros.RosFunctions;
import com.pulumi.alicloud.ros.inputs.GetRegionsArgs;
import com.pulumi.alicloud.ros.StackGroup;
import com.pulumi.alicloud.ros.StackGroupArgs;
import com.pulumi.alicloud.ros.inputs.StackGroupParameterArgs;
import com.pulumi.alicloud.ros.StackInstances;
import com.pulumi.alicloud.ros.StackInstancesArgs;
import com.pulumi.alicloud.ros.inputs.StackInstancesParameterOverrideArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var config = ctx.config();
final var name = config.get("name").orElse("tf-example");
final var this = AlicloudFunctions.getAccount(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
final var default = RosFunctions.getRegions(GetRegionsArgs.builder()
.build());
var defaultStackGroup = new StackGroup("defaultStackGroup", StackGroupArgs.builder()
.stackGroupName(name)
.templateBody("{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}")
.description("test for stack groups")
.parameters(
StackGroupParameterArgs.builder()
.parameterKey("VpcName")
.parameterValue("VpcName")
.build(),
StackGroupParameterArgs.builder()
.parameterKey("InstanceType")
.parameterValue("InstanceType")
.build())
.build());
var selfManaged = new StackInstances("selfManaged", StackInstancesArgs.builder()
.stackGroupName(defaultStackGroup.stackGroupName())
.regionIds(default_.regions()[0].regionId())
.accountIds(this_.id())
.parameterOverrides(StackInstancesParameterOverrideArgs.builder()
.parameterValue("VpcName")
.parameterKey("VpcName")
.build())
.timeoutInMinutes(45)
.operationDescription("Batch deployment for production environment")
.disableRollback(false)
.build());
}
}
configuration:
name:
type: string
default: tf-example
resources:
defaultStackGroup:
type: alicloud:ros:StackGroup
name: default
properties:
stackGroupName: ${name}
templateBody: '{"ROSTemplateFormatVersion":"2015-09-01", "Parameters": {"VpcName": {"Type": "String"},"InstanceType": {"Type": "String"}}}'
description: test for stack groups
parameters:
- parameterKey: VpcName
parameterValue: VpcName
- parameterKey: InstanceType
parameterValue: InstanceType
selfManaged:
type: alicloud:ros:StackInstances
name: self_managed
properties:
stackGroupName: ${defaultStackGroup.stackGroupName}
regionIds:
- ${default.regions[0].regionId}
accountIds:
- ${this.id}
parameterOverrides:
- parameterValue: VpcName
parameterKey: VpcName
timeoutInMinutes: 45
operationDescription: Batch deployment for production environment
disableRollback: false
variables:
this:
fn::invoke:
function: alicloud:getAccount
arguments: {}
default:
fn::invoke:
function: alicloud:ros:getRegions
arguments: {}
pulumi {
required_providers {
alicloud = {
source = "pulumi/alicloud"
}
}
}
data "alicloud_getaccount" "this" {
}
data "alicloud_ros_getregions" "default" {
}
resource "alicloud_ros_stackgroup" "default" {
stack_group_name = var.name
template_body = "{\"ROSTemplateFormatVersion\":\"2015-09-01\", \"Parameters\": {\"VpcName\": {\"Type\": \"String\"},\"InstanceType\": {\"Type\": \"String\"}}}"
description = "test for stack groups"
parameters {
parameter_key = "VpcName"
parameter_value = "VpcName"
}
parameters {
parameter_key = "InstanceType"
parameter_value = "InstanceType"
}
}
resource "alicloud_ros_stackinstances" "self_managed" {
stack_group_name = alicloud_ros_stackgroup.default.stack_group_name
region_ids = [data.alicloud_ros_getregions.default.regions[0].region_id]
account_ids = [data.alicloud_getaccount.this.id]
parameter_overrides {
parameter_value = "VpcName"
parameter_key = "VpcName"
}
timeout_in_minutes = 45
operation_description = "Batch deployment for production environment"
disable_rollback = false
}
variable "name" {
type = string
default = "tf-example"
}
📚 Need more examples? VIEW MORE EXAMPLES
Create StackInstances Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StackInstances(name: string, args: StackInstancesArgs, opts?: CustomResourceOptions);@overload
def StackInstances(resource_name: str,
args: StackInstancesArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StackInstances(resource_name: str,
opts: Optional[ResourceOptions] = None,
region_ids: Optional[Sequence[str]] = None,
stack_group_name: Optional[str] = None,
account_ids: Optional[Sequence[str]] = None,
deployment_options: Optional[str] = None,
deployment_targets: Optional[StackInstancesDeploymentTargetsArgs] = None,
disable_rollback: Optional[bool] = None,
operation_description: Optional[str] = None,
operation_preferences: Optional[StackInstancesOperationPreferencesArgs] = None,
parameter_overrides: Optional[Sequence[StackInstancesParameterOverrideArgs]] = None,
timeout_in_minutes: Optional[int] = None)func NewStackInstances(ctx *Context, name string, args StackInstancesArgs, opts ...ResourceOption) (*StackInstances, error)public StackInstances(string name, StackInstancesArgs args, CustomResourceOptions? opts = null)
public StackInstances(String name, StackInstancesArgs args)
public StackInstances(String name, StackInstancesArgs args, CustomResourceOptions options)
type: alicloud:ros:StackInstances
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "alicloud_ros_stackinstances" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args StackInstancesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StackInstancesArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StackInstancesArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StackInstancesArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StackInstancesArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var stackInstancesResource = new AliCloud.Ros.StackInstances("stackInstancesResource", new()
{
RegionIds = new[]
{
"string",
},
StackGroupName = "string",
AccountIds = new[]
{
"string",
},
DeploymentOptions = "string",
DeploymentTargets = new AliCloud.Ros.Inputs.StackInstancesDeploymentTargetsArgs
{
AccountIds = new[]
{
"string",
},
RdFolderIds = new[]
{
"string",
},
},
DisableRollback = false,
OperationDescription = "string",
OperationPreferences = new AliCloud.Ros.Inputs.StackInstancesOperationPreferencesArgs
{
FailureToleranceCount = 0,
FailureTolerancePercentage = 0,
MaxConcurrentCount = 0,
MaxConcurrentPercentage = 0,
RegionConcurrencyType = "string",
},
ParameterOverrides = new[]
{
new AliCloud.Ros.Inputs.StackInstancesParameterOverrideArgs
{
ParameterKey = "string",
ParameterValue = "string",
},
},
TimeoutInMinutes = 0,
});
example, err := ros.NewStackInstances(ctx, "stackInstancesResource", &ros.StackInstancesArgs{
RegionIds: pulumi.StringArray{
pulumi.String("string"),
},
StackGroupName: pulumi.String("string"),
AccountIds: pulumi.StringArray{
pulumi.String("string"),
},
DeploymentOptions: pulumi.String("string"),
DeploymentTargets: &ros.StackInstancesDeploymentTargetsArgs{
AccountIds: pulumi.StringArray{
pulumi.String("string"),
},
RdFolderIds: pulumi.StringArray{
pulumi.String("string"),
},
},
DisableRollback: pulumi.Bool(false),
OperationDescription: pulumi.String("string"),
OperationPreferences: &ros.StackInstancesOperationPreferencesArgs{
FailureToleranceCount: pulumi.Int(0),
FailureTolerancePercentage: pulumi.Int(0),
MaxConcurrentCount: pulumi.Int(0),
MaxConcurrentPercentage: pulumi.Int(0),
RegionConcurrencyType: pulumi.String("string"),
},
ParameterOverrides: ros.StackInstancesParameterOverrideArray{
&ros.StackInstancesParameterOverrideArgs{
ParameterKey: pulumi.String("string"),
ParameterValue: pulumi.String("string"),
},
},
TimeoutInMinutes: pulumi.Int(0),
})
resource "alicloud_ros_stackinstances" "stackInstancesResource" {
region_ids = ["string"]
stack_group_name = "string"
account_ids = ["string"]
deployment_options = "string"
deployment_targets = {
account_ids = ["string"]
rd_folder_ids = ["string"]
}
disable_rollback = false
operation_description = "string"
operation_preferences = {
failure_tolerance_count = 0
failure_tolerance_percentage = 0
max_concurrent_count = 0
max_concurrent_percentage = 0
region_concurrency_type = "string"
}
parameter_overrides {
parameter_key = "string"
parameter_value = "string"
}
timeout_in_minutes = 0
}
var stackInstancesResource = new StackInstances("stackInstancesResource", StackInstancesArgs.builder()
.regionIds("string")
.stackGroupName("string")
.accountIds("string")
.deploymentOptions("string")
.deploymentTargets(StackInstancesDeploymentTargetsArgs.builder()
.accountIds("string")
.rdFolderIds("string")
.build())
.disableRollback(false)
.operationDescription("string")
.operationPreferences(StackInstancesOperationPreferencesArgs.builder()
.failureToleranceCount(0)
.failureTolerancePercentage(0)
.maxConcurrentCount(0)
.maxConcurrentPercentage(0)
.regionConcurrencyType("string")
.build())
.parameterOverrides(StackInstancesParameterOverrideArgs.builder()
.parameterKey("string")
.parameterValue("string")
.build())
.timeoutInMinutes(0)
.build());
stack_instances_resource = alicloud.ros.StackInstances("stackInstancesResource",
region_ids=["string"],
stack_group_name="string",
account_ids=["string"],
deployment_options="string",
deployment_targets={
"account_ids": ["string"],
"rd_folder_ids": ["string"],
},
disable_rollback=False,
operation_description="string",
operation_preferences={
"failure_tolerance_count": 0,
"failure_tolerance_percentage": 0,
"max_concurrent_count": 0,
"max_concurrent_percentage": 0,
"region_concurrency_type": "string",
},
parameter_overrides=[{
"parameter_key": "string",
"parameter_value": "string",
}],
timeout_in_minutes=0)
const stackInstancesResource = new alicloud.ros.StackInstances("stackInstancesResource", {
regionIds: ["string"],
stackGroupName: "string",
accountIds: ["string"],
deploymentOptions: "string",
deploymentTargets: {
accountIds: ["string"],
rdFolderIds: ["string"],
},
disableRollback: false,
operationDescription: "string",
operationPreferences: {
failureToleranceCount: 0,
failureTolerancePercentage: 0,
maxConcurrentCount: 0,
maxConcurrentPercentage: 0,
regionConcurrencyType: "string",
},
parameterOverrides: [{
parameterKey: "string",
parameterValue: "string",
}],
timeoutInMinutes: 0,
});
type: alicloud:ros:StackInstances
properties:
accountIds:
- string
deploymentOptions: string
deploymentTargets:
accountIds:
- string
rdFolderIds:
- string
disableRollback: false
operationDescription: string
operationPreferences:
failureToleranceCount: 0
failureTolerancePercentage: 0
maxConcurrentCount: 0
maxConcurrentPercentage: 0
regionConcurrencyType: string
parameterOverrides:
- parameterKey: string
parameterValue: string
regionIds:
- string
stackGroupName: string
timeoutInMinutes: 0
StackInstances Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StackInstances resource accepts the following input properties:
- Region
Ids List<string> - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - Stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- Account
Ids List<string> - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - Deployment
Options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - Deployment
Targets Pulumi.Ali Cloud. Ros. Inputs. Stack Instances Deployment Targets Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- Disable
Rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - Operation
Description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- Operation
Preferences Pulumi.Ali Cloud. Ros. Inputs. Stack Instances Operation Preferences - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - Parameter
Overrides List<Pulumi.Ali Cloud. Ros. Inputs. Stack Instances Parameter Override> - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - Timeout
In intMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- Region
Ids []string - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - Stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- Account
Ids []string - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - Deployment
Options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - Deployment
Targets StackInstances Deployment Targets Args Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- Disable
Rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - Operation
Description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- Operation
Preferences StackInstances Operation Preferences Args - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - Parameter
Overrides []StackInstances Parameter Override Args - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - Timeout
In intMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- region_
ids list(string) - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack_
group_ stringname - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- account_
ids list(string) - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment_
options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment_
targets object Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable_
rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation_
description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation_
preferences object - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter_
overrides list(object) - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - timeout_
in_ numberminutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- region
Ids List<String> - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack
Group StringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- account
Ids List<String> - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment
Options String - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment
Targets StackInstances Deployment Targets Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable
Rollback Boolean - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation
Description String - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation
Preferences StackInstances Operation Preferences - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter
Overrides List<StackInstances Parameter Override> - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - timeout
In IntegerMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- region
Ids string[] - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- account
Ids string[] - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment
Options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment
Targets StackInstances Deployment Targets Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable
Rollback boolean - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation
Description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation
Preferences StackInstances Operation Preferences - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter
Overrides StackInstances Parameter Override[] - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - timeout
In numberMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- region_
ids Sequence[str] - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack_
group_ strname - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- account_
ids Sequence[str] - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment_
options str - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment_
targets StackInstances Deployment Targets Args Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable_
rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation_
description str - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation_
preferences StackInstances Operation Preferences Args - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter_
overrides Sequence[StackInstances Parameter Override Args] - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - timeout_
in_ intminutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- region
Ids List<String> - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack
Group StringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- account
Ids List<String> - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment
Options String - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment
Targets Property Map Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable
Rollback Boolean - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation
Description String - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation
Preferences Property Map - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter
Overrides List<Property Map> - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - timeout
In NumberMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
Outputs
All input properties are implicitly available as output properties. Additionally, the StackInstances resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
List<Pulumi.
Ali Cloud. Ros. Outputs. Stack Instances Stack Instance> - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow.
- Id string
- The provider-assigned unique ID for this managed resource.
- Stack
Instances []StackInstances Stack Instance - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow.
- id string
- The provider-assigned unique ID for this managed resource.
- stack_
instances list(object) - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow.
- id String
- The provider-assigned unique ID for this managed resource.
- stack
Instances List<StackInstances Stack Instance> - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow.
- id string
- The provider-assigned unique ID for this managed resource.
- stack
Instances StackInstances Stack Instance[] - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow.
- id str
- The provider-assigned unique ID for this managed resource.
- stack_
instances Sequence[StackInstances Stack Instance] - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow.
- id String
- The provider-assigned unique ID for this managed resource.
- stack
Instances List<Property Map> - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow.
Look up Existing StackInstances Resource
Get an existing StackInstances resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: StackInstancesState, opts?: CustomResourceOptions): StackInstances@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_ids: Optional[Sequence[str]] = None,
deployment_options: Optional[str] = None,
deployment_targets: Optional[StackInstancesDeploymentTargetsArgs] = None,
disable_rollback: Optional[bool] = None,
operation_description: Optional[str] = None,
operation_preferences: Optional[StackInstancesOperationPreferencesArgs] = None,
parameter_overrides: Optional[Sequence[StackInstancesParameterOverrideArgs]] = None,
region_ids: Optional[Sequence[str]] = None,
stack_group_name: Optional[str] = None,
stack_instances: Optional[Sequence[StackInstancesStackInstanceArgs]] = None,
timeout_in_minutes: Optional[int] = None) -> StackInstancesfunc GetStackInstances(ctx *Context, name string, id IDInput, state *StackInstancesState, opts ...ResourceOption) (*StackInstances, error)public static StackInstances Get(string name, Input<string> id, StackInstancesState? state, CustomResourceOptions? opts = null)public static StackInstances get(String name, Output<String> id, StackInstancesState state, CustomResourceOptions options)resources: _: type: alicloud:ros:StackInstances get: id: ${id}import {
to = alicloud_ros_stackinstances.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Account
Ids List<string> - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - Deployment
Options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - Deployment
Targets Pulumi.Ali Cloud. Ros. Inputs. Stack Instances Deployment Targets Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- Disable
Rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - Instances
List<Pulumi.
Ali Cloud. Ros. Inputs. Stack Instances Stack Instance> - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow. - Operation
Description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- Operation
Preferences Pulumi.Ali Cloud. Ros. Inputs. Stack Instances Operation Preferences - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - Parameter
Overrides List<Pulumi.Ali Cloud. Ros. Inputs. Stack Instances Parameter Override> - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - Region
Ids List<string> - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - Stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- Timeout
In intMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- Account
Ids []string - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - Deployment
Options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - Deployment
Targets StackInstances Deployment Targets Args Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- Disable
Rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - Operation
Description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- Operation
Preferences StackInstances Operation Preferences Args - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - Parameter
Overrides []StackInstances Parameter Override Args - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - Region
Ids []string - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - Stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- Stack
Instances []StackInstances Stack Instance Args - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow. - Timeout
In intMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- account_
ids list(string) - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment_
options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment_
targets object Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable_
rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation_
description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation_
preferences object - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter_
overrides list(object) - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - region_
ids list(string) - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack_
group_ stringname - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack_
instances list(object) - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow. - timeout_
in_ numberminutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- account
Ids List<String> - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment
Options String - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment
Targets StackInstances Deployment Targets Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable
Rollback Boolean - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation
Description String - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation
Preferences StackInstances Operation Preferences - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter
Overrides List<StackInstances Parameter Override> - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - region
Ids List<String> - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack
Group StringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack
Instances List<StackInstances Stack Instance> - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow. - timeout
In IntegerMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- account
Ids string[] - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment
Options string - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment
Targets StackInstances Deployment Targets Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable
Rollback boolean - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation
Description string - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation
Preferences StackInstances Operation Preferences - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter
Overrides StackInstances Parameter Override[] - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - region
Ids string[] - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack
Instances StackInstances Stack Instance[] - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow. - timeout
In numberMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- account_
ids Sequence[str] - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment_
options str - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment_
targets StackInstances Deployment Targets Args Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable_
rollback bool - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation_
description str - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation_
preferences StackInstances Operation Preferences Args - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter_
overrides Sequence[StackInstances Parameter Override Args] - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - region_
ids Sequence[str] - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack_
group_ strname - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack_
instances Sequence[StackInstances Stack Instance Args] - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow. - timeout_
in_ intminutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
- account
Ids List<String> - List of target Alibaba Cloud account IDs for self-managed permissions model. You can specify 1 to 50 accounts. This parameter conflicts with
deploymentTargets. This parameter cannot be modified after creation. Example:["123456789012****", "098765432109****"]. - deployment
Options String - List of deployment options for service-managed permissions. Currently only supports
IgnoreExisting, which skips existing stack instances during deployment. This parameter cannot be modified after creation. Example:["IgnoreExisting"]. - deployment
Targets Property Map Configuration block defining deployment targets for service-managed permissions model. This parameter conflicts with
accountIds. This parameter cannot be modified after creation. SeedeploymentTargetsbelow.NOTE: You must specify either
accountIds(for self-managed permissions) ordeploymentTargets(for service-managed permissions), but not both.- disable
Rollback Boolean - Specifies whether to disable the rollback policy when creating stack instances fails. Valid values:
true,false. Default value:false. This parameter cannot be modified after creation. - operation
Description String - Description of the stack instances operation. The description must be 1 to 256 characters in length.
- operation
Preferences Property Map - Configuration block defining preferences for how the operation is performed across multiple accounts and regions. See
operationPreferencesbelow. - parameter
Overrides List<Property Map> - A set of parameters to override in the stack instances. See
parameterOverridesbelow. - region
Ids List<String> - List of target region IDs where stack instances will be deployed. You can specify 1 to 20 regions. This parameter cannot be modified after creation. Example:
["cn-beijing", "cn-shanghai"]. - stack
Group StringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack
Instances List<Property Map> - A list of stack instances with their latest operation tracking information. See
stackInstancesbelow. - timeout
In NumberMinutes - The amount of time in minutes that can elapse before the stack operation status is set to
TIMED_OUT. Valid values: 1 to 1440. Default value: 60.
Supporting Types
StackInstancesDeploymentTargets, StackInstancesDeploymentTargetsArgs
- Account
Ids List<string> - List of Alibaba Cloud account IDs for service-managed permissions. Maximum 50 accounts.
- Rd
Folder List<string>Ids - List of Resource Directory folder IDs. Maximum 20 folders.
- Account
Ids []string - List of Alibaba Cloud account IDs for service-managed permissions. Maximum 50 accounts.
- Rd
Folder []stringIds - List of Resource Directory folder IDs. Maximum 20 folders.
- account_
ids list(string) - List of Alibaba Cloud account IDs for service-managed permissions. Maximum 50 accounts.
- rd_
folder_ list(string)ids - List of Resource Directory folder IDs. Maximum 20 folders.
- account
Ids List<String> - List of Alibaba Cloud account IDs for service-managed permissions. Maximum 50 accounts.
- rd
Folder List<String>Ids - List of Resource Directory folder IDs. Maximum 20 folders.
- account
Ids string[] - List of Alibaba Cloud account IDs for service-managed permissions. Maximum 50 accounts.
- rd
Folder string[]Ids - List of Resource Directory folder IDs. Maximum 20 folders.
- account_
ids Sequence[str] - List of Alibaba Cloud account IDs for service-managed permissions. Maximum 50 accounts.
- rd_
folder_ Sequence[str]ids - List of Resource Directory folder IDs. Maximum 20 folders.
- account
Ids List<String> - List of Alibaba Cloud account IDs for service-managed permissions. Maximum 50 accounts.
- rd
Folder List<String>Ids - List of Resource Directory folder IDs. Maximum 20 folders.
StackInstancesOperationPreferences, StackInstancesOperationPreferencesArgs
- Failure
Tolerance intCount - Number of failures tolerated per region. Valid values: 0 to 20. Conflicts with
failureTolerancePercentage. - Failure
Tolerance intPercentage - Percentage of failures tolerated per region. Valid values: 0 to 100. Conflicts with
failureToleranceCount. - Max
Concurrent intCount - Maximum number of concurrent operations per region. Valid values: 1 to 20. Conflicts with
maxConcurrentPercentage. - Max
Concurrent intPercentage - Maximum percentage of concurrent targets per region. Valid values: 1 to 100. Conflicts with
maxConcurrentCount. - Region
Concurrency stringType - Concurrency type for regions. Valid values:
SEQUENTIAL,PARALLEL.
- Failure
Tolerance intCount - Number of failures tolerated per region. Valid values: 0 to 20. Conflicts with
failureTolerancePercentage. - Failure
Tolerance intPercentage - Percentage of failures tolerated per region. Valid values: 0 to 100. Conflicts with
failureToleranceCount. - Max
Concurrent intCount - Maximum number of concurrent operations per region. Valid values: 1 to 20. Conflicts with
maxConcurrentPercentage. - Max
Concurrent intPercentage - Maximum percentage of concurrent targets per region. Valid values: 1 to 100. Conflicts with
maxConcurrentCount. - Region
Concurrency stringType - Concurrency type for regions. Valid values:
SEQUENTIAL,PARALLEL.
- failure_
tolerance_ numbercount - Number of failures tolerated per region. Valid values: 0 to 20. Conflicts with
failureTolerancePercentage. - failure_
tolerance_ numberpercentage - Percentage of failures tolerated per region. Valid values: 0 to 100. Conflicts with
failureToleranceCount. - max_
concurrent_ numbercount - Maximum number of concurrent operations per region. Valid values: 1 to 20. Conflicts with
maxConcurrentPercentage. - max_
concurrent_ numberpercentage - Maximum percentage of concurrent targets per region. Valid values: 1 to 100. Conflicts with
maxConcurrentCount. - region_
concurrency_ stringtype - Concurrency type for regions. Valid values:
SEQUENTIAL,PARALLEL.
- failure
Tolerance IntegerCount - Number of failures tolerated per region. Valid values: 0 to 20. Conflicts with
failureTolerancePercentage. - failure
Tolerance IntegerPercentage - Percentage of failures tolerated per region. Valid values: 0 to 100. Conflicts with
failureToleranceCount. - max
Concurrent IntegerCount - Maximum number of concurrent operations per region. Valid values: 1 to 20. Conflicts with
maxConcurrentPercentage. - max
Concurrent IntegerPercentage - Maximum percentage of concurrent targets per region. Valid values: 1 to 100. Conflicts with
maxConcurrentCount. - region
Concurrency StringType - Concurrency type for regions. Valid values:
SEQUENTIAL,PARALLEL.
- failure
Tolerance numberCount - Number of failures tolerated per region. Valid values: 0 to 20. Conflicts with
failureTolerancePercentage. - failure
Tolerance numberPercentage - Percentage of failures tolerated per region. Valid values: 0 to 100. Conflicts with
failureToleranceCount. - max
Concurrent numberCount - Maximum number of concurrent operations per region. Valid values: 1 to 20. Conflicts with
maxConcurrentPercentage. - max
Concurrent numberPercentage - Maximum percentage of concurrent targets per region. Valid values: 1 to 100. Conflicts with
maxConcurrentCount. - region
Concurrency stringType - Concurrency type for regions. Valid values:
SEQUENTIAL,PARALLEL.
- failure_
tolerance_ intcount - Number of failures tolerated per region. Valid values: 0 to 20. Conflicts with
failureTolerancePercentage. - failure_
tolerance_ intpercentage - Percentage of failures tolerated per region. Valid values: 0 to 100. Conflicts with
failureToleranceCount. - max_
concurrent_ intcount - Maximum number of concurrent operations per region. Valid values: 1 to 20. Conflicts with
maxConcurrentPercentage. - max_
concurrent_ intpercentage - Maximum percentage of concurrent targets per region. Valid values: 1 to 100. Conflicts with
maxConcurrentCount. - region_
concurrency_ strtype - Concurrency type for regions. Valid values:
SEQUENTIAL,PARALLEL.
- failure
Tolerance NumberCount - Number of failures tolerated per region. Valid values: 0 to 20. Conflicts with
failureTolerancePercentage. - failure
Tolerance NumberPercentage - Percentage of failures tolerated per region. Valid values: 0 to 100. Conflicts with
failureToleranceCount. - max
Concurrent NumberCount - Maximum number of concurrent operations per region. Valid values: 1 to 20. Conflicts with
maxConcurrentPercentage. - max
Concurrent NumberPercentage - Maximum percentage of concurrent targets per region. Valid values: 1 to 100. Conflicts with
maxConcurrentCount. - region
Concurrency StringType - Concurrency type for regions. Valid values:
SEQUENTIAL,PARALLEL.
StackInstancesParameterOverride, StackInstancesParameterOverrideArgs
- Parameter
Key string - The key of the parameter to override.
- Parameter
Value string - The value of the parameter to override. This field is sensitive and will be masked in logs.
- Parameter
Key string - The key of the parameter to override.
- Parameter
Value string - The value of the parameter to override. This field is sensitive and will be masked in logs.
- parameter_
key string - The key of the parameter to override.
- parameter_
value string - The value of the parameter to override. This field is sensitive and will be masked in logs.
- parameter
Key String - The key of the parameter to override.
- parameter
Value String - The value of the parameter to override. This field is sensitive and will be masked in logs.
- parameter
Key string - The key of the parameter to override.
- parameter
Value string - The value of the parameter to override. This field is sensitive and will be masked in logs.
- parameter_
key str - The key of the parameter to override.
- parameter_
value str - The value of the parameter to override. This field is sensitive and will be masked in logs.
- parameter
Key String - The key of the parameter to override.
- parameter
Value String - The value of the parameter to override. This field is sensitive and will be masked in logs.
StackInstancesStackInstance, StackInstancesStackInstanceArgs
- Account
Id string - The Alibaba Cloud account ID where the stack instance is deployed.
- Drift
Detection stringTime - The timestamp when drift detection was last performed.
- Last
Operation stringId - The ID of the last operation performed on this stack instance.
- Rd
Folder stringId - The Resource Directory folder ID (if applicable).
- Region
Id string - The region ID where the stack instance is deployed.
- Stack
Drift stringStatus - The drift status of the stack. Valid values:
NOT_CHECKED,IN_SYNC,DRIFTED,CHECK_FAILED, etc. - Stack
Group stringId - The ID of the stack group to which this instance belongs.
- Stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- Stack
Id string - The ID of the underlying stack.
- Status string
- The status of the stack instance. Valid values:
CURRENT,OUTDATED,INOPERABLE,RUNNING,FAILED,SUCCEEDED, etc. - Status
Reason string - The reason for the current status of the stack instance.
- Account
Id string - The Alibaba Cloud account ID where the stack instance is deployed.
- Drift
Detection stringTime - The timestamp when drift detection was last performed.
- Last
Operation stringId - The ID of the last operation performed on this stack instance.
- Rd
Folder stringId - The Resource Directory folder ID (if applicable).
- Region
Id string - The region ID where the stack instance is deployed.
- Stack
Drift stringStatus - The drift status of the stack. Valid values:
NOT_CHECKED,IN_SYNC,DRIFTED,CHECK_FAILED, etc. - Stack
Group stringId - The ID of the stack group to which this instance belongs.
- Stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- Stack
Id string - The ID of the underlying stack.
- Status string
- The status of the stack instance. Valid values:
CURRENT,OUTDATED,INOPERABLE,RUNNING,FAILED,SUCCEEDED, etc. - Status
Reason string - The reason for the current status of the stack instance.
- account_
id string - The Alibaba Cloud account ID where the stack instance is deployed.
- drift_
detection_ stringtime - The timestamp when drift detection was last performed.
- last_
operation_ stringid - The ID of the last operation performed on this stack instance.
- rd_
folder_ stringid - The Resource Directory folder ID (if applicable).
- region_
id string - The region ID where the stack instance is deployed.
- stack_
drift_ stringstatus - The drift status of the stack. Valid values:
NOT_CHECKED,IN_SYNC,DRIFTED,CHECK_FAILED, etc. - stack_
group_ stringid - The ID of the stack group to which this instance belongs.
- stack_
group_ stringname - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack_
id string - The ID of the underlying stack.
- status string
- The status of the stack instance. Valid values:
CURRENT,OUTDATED,INOPERABLE,RUNNING,FAILED,SUCCEEDED, etc. - status_
reason string - The reason for the current status of the stack instance.
- account
Id String - The Alibaba Cloud account ID where the stack instance is deployed.
- drift
Detection StringTime - The timestamp when drift detection was last performed.
- last
Operation StringId - The ID of the last operation performed on this stack instance.
- rd
Folder StringId - The Resource Directory folder ID (if applicable).
- region
Id String - The region ID where the stack instance is deployed.
- stack
Drift StringStatus - The drift status of the stack. Valid values:
NOT_CHECKED,IN_SYNC,DRIFTED,CHECK_FAILED, etc. - stack
Group StringId - The ID of the stack group to which this instance belongs.
- stack
Group StringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack
Id String - The ID of the underlying stack.
- status String
- The status of the stack instance. Valid values:
CURRENT,OUTDATED,INOPERABLE,RUNNING,FAILED,SUCCEEDED, etc. - status
Reason String - The reason for the current status of the stack instance.
- account
Id string - The Alibaba Cloud account ID where the stack instance is deployed.
- drift
Detection stringTime - The timestamp when drift detection was last performed.
- last
Operation stringId - The ID of the last operation performed on this stack instance.
- rd
Folder stringId - The Resource Directory folder ID (if applicable).
- region
Id string - The region ID where the stack instance is deployed.
- stack
Drift stringStatus - The drift status of the stack. Valid values:
NOT_CHECKED,IN_SYNC,DRIFTED,CHECK_FAILED, etc. - stack
Group stringId - The ID of the stack group to which this instance belongs.
- stack
Group stringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack
Id string - The ID of the underlying stack.
- status string
- The status of the stack instance. Valid values:
CURRENT,OUTDATED,INOPERABLE,RUNNING,FAILED,SUCCEEDED, etc. - status
Reason string - The reason for the current status of the stack instance.
- account_
id str - The Alibaba Cloud account ID where the stack instance is deployed.
- drift_
detection_ strtime - The timestamp when drift detection was last performed.
- last_
operation_ strid - The ID of the last operation performed on this stack instance.
- rd_
folder_ strid - The Resource Directory folder ID (if applicable).
- region_
id str - The region ID where the stack instance is deployed.
- stack_
drift_ strstatus - The drift status of the stack. Valid values:
NOT_CHECKED,IN_SYNC,DRIFTED,CHECK_FAILED, etc. - stack_
group_ strid - The ID of the stack group to which this instance belongs.
- stack_
group_ strname - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack_
id str - The ID of the underlying stack.
- status str
- The status of the stack instance. Valid values:
CURRENT,OUTDATED,INOPERABLE,RUNNING,FAILED,SUCCEEDED, etc. - status_
reason str - The reason for the current status of the stack instance.
- account
Id String - The Alibaba Cloud account ID where the stack instance is deployed.
- drift
Detection StringTime - The timestamp when drift detection was last performed.
- last
Operation StringId - The ID of the last operation performed on this stack instance.
- rd
Folder StringId - The Resource Directory folder ID (if applicable).
- region
Id String - The region ID where the stack instance is deployed.
- stack
Drift StringStatus - The drift status of the stack. Valid values:
NOT_CHECKED,IN_SYNC,DRIFTED,CHECK_FAILED, etc. - stack
Group StringId - The ID of the stack group to which this instance belongs.
- stack
Group StringName - The name of the stack group to which the stack instances belong. This parameter cannot be modified after creation.
- stack
Id String - The ID of the underlying stack.
- status String
- The status of the stack instance. Valid values:
CURRENT,OUTDATED,INOPERABLE,RUNNING,FAILED,SUCCEEDED, etc. - status
Reason String - The reason for the current status of the stack instance.
Import
ant Notes
Asynchronous Operations: Stack instance operations (create, update, delete) are asynchronous batch operations. The provider waits for the operation to complete, but partial failures may occur where some instances succeed while others fail.
No Automatic Rollback: If some stack instances fail to create, successful instances are NOT automatically rolled back. You need to manually handle failed instances or retry the operation.
Operation Conflicts: Only one stack group operation can run at a time. If you attempt to perform another operation while one is in progress, you will receive a
StackGroupOperationInProgresserror. The provider will automatically retry in this case.State Management: If the create operation encounters partial failures, the resource ID will NOT be set in Terraform state. This allows Terraform to retry the entire operation on the next apply. This is intentional to prevent orphaned resources.
Parameter Sensitivity: The
parameterValuefield inparameterOverridesis marked as sensitive. Values will be masked in Terraform output and logs for security.ForceNew Parameters: Most parameters (
stackGroupName,regionIds,accountIds,deploymentTargets,disableRollback,deploymentOptions) require resource recreation if modified. OnlyparameterOverrides,operationPreferences,timeoutInMinutes, andoperationDescriptionsupport in-place updates.Empty Results: If your deployment targets result in no stack instances being created (e.g., targeting an empty folder), the
stackInstancesattribute will be an empty list. This is expected behavior and does not indicate an error.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
published on Thursday, Jun 25, 2026 by Pulumi