FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_cloudformation_stack

Provides a CloudFormation Stack resource.

Example Usage

resource "aws_cloudformation_stack" "network" {
  name = "networking-stack"
  template_body = <<STACK
{
  "Resources" : {
    "my-vpc": {
      "Type" : "AWS::EC2::VPC",
      "Properties" : {
        "CidrBlock" : "10.0.0.0/16",
        "Tags" : [
          {"Key": "Name", "Value": "Primary_CF_VPC"}
        ]
      }
    }
  }
}
STACK
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:


See the source of this document at Terraform.io