terraform init- download plugins required to deploy resourcesterraform plan- get detailed view of resources that will be created, deleted or replacedterraform apply- deploy the template without confirmation (non-interactive mode)terraform destroy- terminate all the resources created using this template without confirmation (non-interactive mode)
This terraform module will deploy the following services:
- RDS
- Database
- Random Password
- SSM Parameter
| Name | Version |
|---|---|
| aws | n/a |
| random | n/a |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| allocated_storage | n/a | string |
n/a | yes |
| backup_retention_period | n/a | any |
n/a | yes |
| db_kms_key | n/a | string |
"alias/aws/rds" |
no |
| db_password | n/a | string |
"" |
no |
| engine | n/a | any |
n/a | yes |
| engine_version | n/a | any |
n/a | yes |
| environment | n/a | string |
n/a | yes |
| instance_class | n/a | string |
n/a | yes |
| instance_name | n/a | string |
n/a | yes |
| mssql_admin_username | n/a | string |
"admin" |
no |
| multi_az | n/a | bool |
n/a | yes |
| option_group_name | Name of the DB option group to associate. | string |
"s3storeenabled" |
no |
| publicly_accessible | n/a | bool |
false |
no |
| random_password | n/a | bool |
true |
no |
| skip_final_snapshot | n/a | string |
"false" |
no |
| ssm_kms_key | n/a | string |
"alias/aws/ssm" |
no |
| storage_encrypted | n/a | bool |
true |
no |
| storage_type | n/a | any |
n/a | yes |
| subnet_ids | n/a | list(string) |
[] |
no |
| vpc_cidr_blocks | n/a | string |
"10.20.0.0/16" |
no |
| vpc_id | n/a | string |
"vpc-0ddd708ceb9a5d836" |
no |
| Name | Description |
|---|---|
| db_endpoint | n/a |
| db_id | n/a |
| db_name | n/a |
| db_password_ssm | n/a |
| db_username | n/a |