Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
*.tfstate
*.tfstate.*

# Terraform module lock files
*.terraform.lock.hcl

# Crash log files
crash.log

Expand Down Expand Up @@ -37,3 +40,6 @@ terratest.tf.json

# Ignore makefile
ops-makefile

# Ignore tfvars
**/*.tfvars
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Tamr Terraform Template Repo

## v3.1.1 - February 16th 2022
* Updates version file to prevent the major upgrade to the AWS provider version 4.0.
* Adds new extensions to be ignored in the ".gitignore" file.

## v3.1.0 - November 3rd 2021
* Adds variables `enabled_cloudwatch_logs_exports`, `param_log_min_duration_statement` and `param_log_statement` configuring the logs and its publishing to CloudWatch

Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ This terraform module will create:
| Name | Version |
|------|---------|
| terraform | >= 0.13 |
| aws | >= 3.36.0 |
| aws | >= 3.36.0, < 4.0.0 |

## Providers

| Name | Version |
|------|---------|
| aws | >= 3.36.0 |
| aws | >= 3.36.0, < 4.0.0 |

## Inputs

Expand All @@ -62,11 +62,14 @@ This terraform module will create:
| backup\_window | Backup window | `string` | `"03:29-03:59"` | no |
| copy\_tags\_to\_snapshot | Copy tags to snapshots | `bool` | `true` | no |
| db\_port | The port on which the database accepts connections. | `number` | `5432` | no |
| enabled\_cloudwatch\_logs\_exports | Indicates that postgresql logs will be configured to be sent automatically to Cloudwatch | `bool` | `true` | no |
| engine\_version | Version of RDS Postgres | `string` | `"12"` | no |
| identifier\_prefix | Identifier prefix for the RDS instance | `string` | `"tamr-rds-"` | no |
| instance\_class | Instance class | `string` | `"db.m4.large"` | no |
| maintenance\_window | Maintenance window | `string` | `"sun:04:32-sun:05:02"` | no |
| max\_allocated\_storage | Max allocate storage | `number` | `1000` | no |
| param\_log\_min\_duration\_statement | (ms) Sets the minimum execution time above which statements will be logged. | `string` | `"-1"` | no |
| param\_log\_statement | Sets the type of statements logged. Valid values are none, ddl, mod, all | `string` | `"none"` | no |
| parameter\_group\_family | The family of the DB parameter group | `string` | `"postgres12"` | no |
| parameter\_group\_name | The name of the rds parameter group | `string` | `"rds-postgres-pg"` | no |
| postgres\_name | The name of the postgres database to create on the DB instance | `string` | `"tamr_rds_db"` | no |
Expand All @@ -80,6 +83,7 @@ This terraform module will create:

| Name | Description |
|------|-------------|
| cloudwatch\_logs\_path | n/a |
| rds\_db\_port | n/a |
| rds\_dbname | n/a |
| rds\_hostname | n/a |
Expand Down
2 changes: 1 addition & 1 deletion versions.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
terraform {
required_version = ">= 0.13"
required_providers {
aws = ">= 3.36.0"
aws = ">= 3.36.0, < 4.0.0"
}
}