Skip to content

Latest commit

 

History

History
102 lines (78 loc) · 1.71 KB

alicloud_edas_deploy_groups.md

File metadata and controls

102 lines (78 loc) · 1.71 KB

alicloud_edas_deploy_groups

back

Index

Terraform

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

top

Example Usage

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

  # app_id - (required) is a type of string
  app_id = null
  # name_regex - (optional) is a type of string
  name_regex = null
  # output_file - (optional) is a type of string
  output_file = null
}

top

Variables

variable "app_id" {
  description = "(required)"
  type        = string
}

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

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

top

Datasource

data "alicloud_edas_deploy_groups" "this" {
  # app_id - (required) is a type of string
  app_id = var.app_id
  # name_regex - (optional) is a type of string
  name_regex = var.name_regex
  # output_file - (optional) is a type of string
  output_file = var.output_file
}

top

Outputs

output "groups" {
  description = "returns a list of object"
  value       = data.alicloud_edas_deploy_groups.this.groups
}

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

output "names" {
  description = "returns a list of string"
  value       = data.alicloud_edas_deploy_groups.this.names
}

output "this" {
  value = alicloud_edas_deploy_groups.this
}

top