Skip to content

Latest commit

 

History

History
103 lines (79 loc) · 1.77 KB

alicloud_resource_manager_accounts.md

File metadata and controls

103 lines (79 loc) · 1.77 KB

alicloud_resource_manager_accounts

back

Index

Terraform

terraform {
  required_providers {
    alicloud = ">= 1.120.0"
  }
}

top

Example Usage

module "alicloud_resource_manager_accounts" {
  source = "./modules/alicloud/d/alicloud_resource_manager_accounts"

  # ids - (optional) is a type of list of string
  ids = []
  # output_file - (optional) is a type of string
  output_file = null
  # status - (optional) is a type of string
  status = null
}

top

Variables

variable "ids" {
  description = "(optional)"
  type        = list(string)
  default     = null
}

variable "output_file" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "status" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Datasource

data "alicloud_resource_manager_accounts" "this" {
  # ids - (optional) is a type of list of string
  ids = var.ids
  # output_file - (optional) is a type of string
  output_file = var.output_file
  # status - (optional) is a type of string
  status = var.status
}

top

Outputs

output "accounts" {
  description = "returns a list of object"
  value       = data.alicloud_resource_manager_accounts.this.accounts
}

output "id" {
  description = "returns a string"
  value       = data.alicloud_resource_manager_accounts.this.id
}

output "ids" {
  description = "returns a list of string"
  value       = data.alicloud_resource_manager_accounts.this.ids
}

output "this" {
  value = alicloud_resource_manager_accounts.this
}

top