The Terraform partial backend allows you to provide different parameter options during initilization or plan or apply. Therefore you can use that to structure your Terraform directories for one or more AWS Cloud accounts or environments.
See this blog: https://cloudly.engineer/2021/terraform-aws-multi-account-setup/aws/
Name | Version |
---|---|
terraform | >= 1.0.0 |
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_ssm_parameter.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
account_id | AWS Account ID number of the account. | string |
n/a | yes |
environment | Environment name. | string |
n/a | yes |
region | The AWS region. | string |
n/a | yes |
No outputs.
Waleed from https://cloudly.engineer