Skip to content

Latest commit

 

History

History
112 lines (87 loc) · 1.88 KB

alicloud_ga_ip_sets.md

File metadata and controls

112 lines (87 loc) · 1.88 KB

alicloud_ga_ip_sets

back

Index

Terraform

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

top

Example Usage

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

  # accelerator_id - (required) is a type of string
  accelerator_id = null
  # 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 "accelerator_id" {
  description = "(required)"
  type        = string
}

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_ga_ip_sets" "this" {
  # accelerator_id - (required) is a type of string
  accelerator_id = var.accelerator_id
  # 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 "id" {
  description = "returns a string"
  value       = data.alicloud_ga_ip_sets.this.id
}

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

output "sets" {
  description = "returns a list of object"
  value       = data.alicloud_ga_ip_sets.this.sets
}

output "this" {
  value = alicloud_ga_ip_sets.this
}

top