https://github.com/maxgio92/terraform-aws-rds-aurora
Terraform module that manages AWS Aurora cluster
https://github.com/maxgio92/terraform-aws-rds-aurora
Last synced: 8 months ago
JSON representation
Terraform module that manages AWS Aurora cluster
- Host: GitHub
- URL: https://github.com/maxgio92/terraform-aws-rds-aurora
- Owner: maxgio92
- License: mit
- Created: 2019-03-28T09:29:44.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-27T13:30:09.000Z (over 6 years ago)
- Last Synced: 2024-11-27T12:27:22.807Z (over 1 year ago)
- Language: HCL
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-aws-rds-aurora
Terraform module that manages AWS Aurora cluster.
This module creates an:
- RDS Cluster
- RDS Cluster Instance
- RDS Cluster parameter group
- DB Parameter group
- DB Subnet Group
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|:----:|:-----:|:-----:|
| allowed\_security\_groups | The security groups allowed to communicate with the cluster | list | n/a | yes |
| apply\_immediately | Determines whether or not any DB modifications are applied immediately, or during the maintenance window | string | `"false"` | no |
| cluster\_parameter\_group\_family | The custom cluster parameter group's family | string | `""` | no |
| cluster\_parameter\_group\_name | The name of the cluster parameter group to use | string | `""` | no |
| cluster\_parameters | A list of cluster parameter maps to apply to the custom cluster parameter group | list | `` | no |
| create\_cluster\_parameter\_group | True to create a custom cluster parameter group | string | `"false"` | no |
| create\_instance\_parameter\_group | True to create a custom parameter group | string | `"false"` | no |
| database\_name | The name of the database | string | n/a | yes |
| default\_tags | The default tags to apply to the resoures | map | `` | no |
| engine | Aurora database engine type, currently aurora, aurora-mysql or aurora-postgresql | string | n/a | yes |
| engine\_version | Aurora database engine version. | string | n/a | yes |
| instance\_class | The instance class to use for the cluster | string | `"db.t2.small"` | no |
| instance\_parameter\_group\_family | The custom parameter group's family | string | `""` | no |
| instance\_parameter\_group\_name | The name of the parameter group to use | string | `""` | no |
| instance\_parameters | A list of DB parameter maps to apply to the custom parameter group | list | `` | no |
| prefix\_name | The prefix for the name of the resources | string | `"my"` | no |
| replica\_count | The number of reader nodes to create | string | n/a | yes |
| snapshot\_identifier | DB snapshot to create this database from | string | `""` | no |
| subnets | The list of subnet IDs to use | list | n/a | yes |
| username | The master username of the database | string | `"root"` | no |
| vpc\_id | The ID of the VPC where to place the cluster | string | n/a | yes |
## Outputs
| Name | Description |
|------|-------------|
| this\_rds\_cluster\_database\_name | Name for an automatically created database on cluster creation |
| this\_rds\_cluster\_endpoint | The cluster endpoint |
| this\_rds\_cluster\_master\_password | The master password |
| this\_rds\_cluster\_master\_username | The master username |
| this\_rds\_cluster\_port | The port |