The purpose of this module is to deploy a cloudformation stack to an AWS account. The module will also deploy a stackset to multiple accounts if required.
Add example usage here
module "stackset" {
source = "../.."
description = "Used to deploy the default permissions boundary for the pipelines."
enable_management_account = true
name = "LZA-IAM-DefaultBoundary"
region = "us-west-2"
tags = {}
template = file("assets/default-boundary.yml")
parameters = {}
}
The terraform-docs
utility is used to generate this README. Follow the below steps to update:
- Make changes to the
.terraform-docs.yml
file - Fetch the
terraform-docs
binary (https://terraform-docs.io/user-guide/installation/) - Run
terraform-docs markdown table --output-file ${PWD}/README.md --output-mode inject .
Name | Version |
---|---|
terraform | >= 1.0.7 |
aws | >= 5.0.0 |
Name | Version |
---|---|
aws | >= 5.0.0 |
No modules.
Name | Type |
---|---|
aws_cloudformation_stack_set.stackset | resource |
aws_cloudformation_stack_set_instance.ou | resource |
aws_region.current | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
description | The description of the cloudformation stack | string |
n/a | yes |
name | The name of the cloudformation stack | string |
n/a | yes |
tags | The tags to apply to the cloudformation stack | map(string) |
n/a | yes |
template | The body of the cloudformation template to deploy | string |
n/a | yes |
capabilities | The capabilities required to deploy the cloudformation template | list(string) |
[ |
no |
failure_tolerance_count | The number of failures that are tolerated before the stack operation is stopped | number |
0 |
no |
max_concurrent_count | The maximum number of concurrent deployments | number |
10 |
no |
organizational_units | The organizational units to deploy the stackset to | list(string) |
[] |
no |
parameters | The parameters to pass to the cloudformation template | map(string) |
{} |
no |
region | The region to deploy the cloudformation template | string |
null |
no |
retain_stacks_on_account_removal | Whether to retain stacks on account removal | bool |
true |
no |
No outputs.