Skip to content

Commit b489a5e

Browse files
authored
Merge pull request #58 from pbs/CAT-23430
CAT-23430 - RDS instances of the cluster need tags
2 parents c76f9db + f9a6181 commit b489a5e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Use this URL for the source of the module. See the usage examples below for more details.
88

99
```hcl
10-
github.com/pbs/terraform-aws-rds-module?ref=0.3.27
10+
github.com/pbs/terraform-aws-rds-module?ref=x.y.z
1111
```
1212

1313
### Alternative Installation Methods
@@ -28,7 +28,7 @@ Integrate this module like so:
2828

2929
```hcl
3030
module "rds" {
31-
source = "github.com/pbs/terraform-aws-rds-module?ref=0.3.27"
31+
source = "github.com/pbs/terraform-aws-rds-module?ref=x.y.z"
3232
3333
# Required Parameters
3434
private_hosted_zone = "example.local"
@@ -47,7 +47,7 @@ module "rds" {
4747

4848
If this repo is added as a subtree, then the version of the module should be close to the version shown here:
4949

50-
`0.3.27`
50+
`x.y.z`
5151

5252
Note, however that subtrees can be altered as desired within repositories.
5353

instances.tf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ resource "aws_rds_cluster_instance" "writer" {
55
apply_immediately = var.apply_immediately
66
engine = var.engine
77
engine_version = local.engine_version
8+
9+
tags = local.tags
810
}
911

1012
resource "aws_rds_cluster_instance" "reader" {
@@ -15,4 +17,6 @@ resource "aws_rds_cluster_instance" "reader" {
1517
apply_immediately = var.apply_immediately
1618
engine = var.engine
1719
engine_version = local.engine_version
20+
21+
tags = local.tags
1822
}

0 commit comments

Comments
 (0)