Skip to content

Latest commit

 

History

History
122 lines (96 loc) · 2.2 KB

aws_swf_domain.md

File metadata and controls

122 lines (96 loc) · 2.2 KB

aws_swf_domain

back

Index

Terraform

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

top

Example Usage

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

  # description - (optional) is a type of string
  description = null
  # name - (optional) is a type of string
  name = null
  # name_prefix - (optional) is a type of string
  name_prefix = null
  # tags - (optional) is a type of map of string
  tags = {}
  # workflow_execution_retention_period_in_days - (required) is a type of string
  workflow_execution_retention_period_in_days = null
}

top

Variables

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

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

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

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

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

top

Resource

resource "aws_swf_domain" "this" {
  # description - (optional) is a type of string
  description = var.description
  # name - (optional) is a type of string
  name = var.name
  # name_prefix - (optional) is a type of string
  name_prefix = var.name_prefix
  # tags - (optional) is a type of map of string
  tags = var.tags
  # workflow_execution_retention_period_in_days - (required) is a type of string
  workflow_execution_retention_period_in_days = var.workflow_execution_retention_period_in_days
}

top

Outputs

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

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

output "name" {
  description = "returns a string"
  value       = aws_swf_domain.this.name
}

output "this" {
  value = aws_swf_domain.this
}

top