Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 1.48 KB

aws_autoscaling_notification.md

File metadata and controls

90 lines (68 loc) · 1.48 KB

aws_autoscaling_notification

back

Index

Terraform

terraform {
  required_providers {
    aws = ">= 3.35.0"
  }
}

top

Example Usage

module "aws_autoscaling_notification" {
  source = "./modules/aws/r/aws_autoscaling_notification"

  # group_names - (required) is a type of set of string
  group_names = []
  # notifications - (required) is a type of set of string
  notifications = []
  # topic_arn - (required) is a type of string
  topic_arn = null
}

top

Variables

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

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

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

top

Resource

resource "aws_autoscaling_notification" "this" {
  # group_names - (required) is a type of set of string
  group_names = var.group_names
  # notifications - (required) is a type of set of string
  notifications = var.notifications
  # topic_arn - (required) is a type of string
  topic_arn = var.topic_arn
}

top

Outputs

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

output "this" {
  value = aws_autoscaling_notification.this
}

top