Skip to content

Commit caebe2f

Browse files
Terraform 0.13 requires snapshot_identifier explicitly set to null (#106)
Co-authored-by: cloudpossebot <[email protected]>
1 parent 07dcdd2 commit caebe2f

File tree

3 files changed

+41
-5
lines changed

3 files changed

+41
-5
lines changed

README.md

+20-2
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,25 @@ Available targets:
193193
|------|---------|
194194
| aws | >= 2.0 |
195195

196+
## Modules
197+
198+
| Name | Source | Version |
199+
|------|--------|---------|
200+
| dns_host_name | cloudposse/route53-cluster-hostname/aws | 0.12.0 |
201+
| final_snapshot_label | cloudposse/label/null | 0.24.1 |
202+
| this | cloudposse/label/null | 0.24.1 |
203+
204+
## Resources
205+
206+
| Name |
207+
|------|
208+
| [aws_db_instance](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance) |
209+
| [aws_db_option_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_option_group) |
210+
| [aws_db_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) |
211+
| [aws_db_subnet_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_subnet_group) |
212+
| [aws_security_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) |
213+
| [aws_security_group_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) |
214+
196215
## Inputs
197216

198217
| Name | Description | Type | Default | Required |
@@ -253,7 +272,7 @@ Available targets:
253272
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. | `string` | `null` | no |
254273
| security\_group\_ids | The IDs of the security groups from which to allow `ingress` traffic to the DB instance | `list(string)` | `[]` | no |
255274
| skip\_final\_snapshot | If true (default), no snapshot will be made before deleting DB | `bool` | `true` | no |
256-
| snapshot\_identifier | Snapshot identifier e.g: rds:production-2019-06-26-06-05. If specified, the module create cluster from the snapshot | `string` | `""` | no |
275+
| snapshot\_identifier | Snapshot identifier e.g: rds:production-2019-06-26-06-05. If specified, the module create cluster from the snapshot | `string` | `null` | no |
257276
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' | `string` | `null` | no |
258277
| storage\_encrypted | (Optional) Specifies whether the DB instance is encrypted. The default is false if not specified | `bool` | `true` | no |
259278
| storage\_type | One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD) | `string` | `"standard"` | no |
@@ -274,7 +293,6 @@ Available targets:
274293
| parameter\_group\_id | ID of the Parameter Group |
275294
| security\_group\_id | ID of the Security Group |
276295
| subnet\_group\_id | ID of the Subnet Group |
277-
278296
<!-- markdownlint-restore -->
279297

280298

docs/terraform.md

+20-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,25 @@
1414
|------|---------|
1515
| aws | >= 2.0 |
1616

17+
## Modules
18+
19+
| Name | Source | Version |
20+
|------|--------|---------|
21+
| dns_host_name | cloudposse/route53-cluster-hostname/aws | 0.12.0 |
22+
| final_snapshot_label | cloudposse/label/null | 0.24.1 |
23+
| this | cloudposse/label/null | 0.24.1 |
24+
25+
## Resources
26+
27+
| Name |
28+
|------|
29+
| [aws_db_instance](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_instance) |
30+
| [aws_db_option_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_option_group) |
31+
| [aws_db_parameter_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_parameter_group) |
32+
| [aws_db_subnet_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_subnet_group) |
33+
| [aws_security_group](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group) |
34+
| [aws_security_group_rule](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/security_group_rule) |
35+
1736
## Inputs
1837

1938
| Name | Description | Type | Default | Required |
@@ -74,7 +93,7 @@
7493
| regex\_replace\_chars | Regex to replace chars with empty string in `namespace`, `environment`, `stage` and `name`.<br>If not set, `"/[^a-zA-Z0-9-]/"` is used to remove all characters other than hyphens, letters and digits. | `string` | `null` | no |
7594
| security\_group\_ids | The IDs of the security groups from which to allow `ingress` traffic to the DB instance | `list(string)` | `[]` | no |
7695
| skip\_final\_snapshot | If true (default), no snapshot will be made before deleting DB | `bool` | `true` | no |
77-
| snapshot\_identifier | Snapshot identifier e.g: rds:production-2019-06-26-06-05. If specified, the module create cluster from the snapshot | `string` | `""` | no |
96+
| snapshot\_identifier | Snapshot identifier e.g: rds:production-2019-06-26-06-05. If specified, the module create cluster from the snapshot | `string` | `null` | no |
7897
| stage | Stage, e.g. 'prod', 'staging', 'dev', OR 'source', 'build', 'test', 'deploy', 'release' | `string` | `null` | no |
7998
| storage\_encrypted | (Optional) Specifies whether the DB instance is encrypted. The default is false if not specified | `bool` | `true` | no |
8099
| storage\_type | One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD) | `string` | `"standard"` | no |
@@ -95,5 +114,4 @@
95114
| parameter\_group\_id | ID of the Parameter Group |
96115
| security\_group\_id | ID of the Security Group |
97116
| subnet\_group\_id | ID of the Subnet Group |
98-
99117
<!-- markdownlint-restore -->

variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ variable "db_options" {
230230
variable "snapshot_identifier" {
231231
type = string
232232
description = "Snapshot identifier e.g: rds:production-2019-06-26-06-05. If specified, the module create cluster from the snapshot"
233-
default = ""
233+
default = null
234234
}
235235

236236
variable "final_snapshot_identifier" {

0 commit comments

Comments
 (0)