Module: cloudformation-stack
Terraform module to provision CloudFormation Stack.
Usage
For a complete example, see examples/complete.
For automated tests of the complete example using bats and Terratest (which tests and deploys the example on AWS), see test.
This example creates stack from CIS cloudformation template.
module "cloudformation_stack" {
source = "cloudposse/cloudformation-stack/aws"
# Cloud Posse recommends pinning every module to a specific version
# version = "x.x.x"
enabled = true
namespace = "eg"
stage = "prod"
name = "app"
template_url = "https://aws-quickstart.s3.amazonaws.com/quickstart-compliance-cis-benchmark/templates/main.template"
parameters = {
NotificationEmailAddressForCloudWatchAlarms = "[email protected]"
ConfigureCloudtrail = "Yes"
ConfigureConfig = "Yes"
ProfileLevel = "Level 2"
QSS3BucketName = "aws-quickstart"
QSS3KeyPrefix = "quickstart-compliance-cis-benchmark/"
}
capabilities = ["CAPABILITY_IAM"]
}