Skip to content

Latest commit

 

History

History
107 lines (83 loc) · 1.61 KB

aws_ses_template.md

File metadata and controls

107 lines (83 loc) · 1.61 KB

aws_ses_template

back

Index

Terraform

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

top

Example Usage

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

  # html - (optional) is a type of string
  html = null
  # name - (required) is a type of string
  name = null
  # subject - (optional) is a type of string
  subject = null
  # text - (optional) is a type of string
  text = null
}

top

Variables

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

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

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

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

top

Resource

resource "aws_ses_template" "this" {
  # html - (optional) is a type of string
  html = var.html
  # name - (required) is a type of string
  name = var.name
  # subject - (optional) is a type of string
  subject = var.subject
  # text - (optional) is a type of string
  text = var.text
}

top

Outputs

output "arn" {
  description = "returns a string"
  value       = aws_ses_template.this.arn
}

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

output "this" {
  value = aws_ses_template.this
}

top