Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 1.56 KB

alicloud_ess_notification.md

File metadata and controls

90 lines (68 loc) · 1.56 KB

alicloud_ess_notification

back

Index

Terraform

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

top

Example Usage

module "alicloud_ess_notification" {
  source = "./modules/alicloud/r/alicloud_ess_notification"

  # notification_arn - (required) is a type of string
  notification_arn = null
  # notification_types - (required) is a type of set of string
  notification_types = []
  # scaling_group_id - (required) is a type of string
  scaling_group_id = null
}

top

Variables

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

variable "notification_types" {
  description = "(required)"
  type        = set(string)
}

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

top

Resource

resource "alicloud_ess_notification" "this" {
  # notification_arn - (required) is a type of string
  notification_arn = var.notification_arn
  # notification_types - (required) is a type of set of string
  notification_types = var.notification_types
  # scaling_group_id - (required) is a type of string
  scaling_group_id = var.scaling_group_id
}

top

Outputs

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

output "this" {
  value = alicloud_ess_notification.this
}

top