Resource: aws_swf_domain

Provides an SWF Domain resource.

Example Usage

To register a basic SWF domain:

resource "aws_swf_domain" "foo" {
  name                                        = "foo"
  description                                 = "Terraform SWF Domain"
  workflow_execution_retention_period_in_days = 30
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import SWF Domains using the name. For example:

import {
  to = aws_swf_domain.foo
  id = "test-domain"
}

Using terraform import, import SWF Domains using the name. For example:

% terraform import aws_swf_domain.foo test-domain