Skip to content

Latest commit

 

History

History
100 lines (75 loc) · 1.5 KB

aws_ses_domain_identity_verification.md

File metadata and controls

100 lines (75 loc) · 1.5 KB

aws_ses_domain_identity_verification

back

Index

Terraform

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

top

Example Usage

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

  # domain - (required) is a type of string
  domain = null

  timeouts = [{
    create = null
  }]
}

top

Variables

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

variable "timeouts" {
  description = "nested block: NestingSingle, min items: 0, max items: 0"
  type = set(object(
    {
      create = string
    }
  ))
  default = []
}

top

Resource

resource "aws_ses_domain_identity_verification" "this" {
  # domain - (required) is a type of string
  domain = var.domain

  dynamic "timeouts" {
    for_each = var.timeouts
    content {
      # create - (optional) is a type of string
      create = timeouts.value["create"]
    }
  }

}

top

Outputs

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

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

output "this" {
  value = aws_ses_domain_identity_verification.this
}

top