Skip to content

Commit 052b134

Browse files
authored
Merge pull request #61 from ExpediaGroup/fix/copy_tag_to_snapshot
fixing copy_tags_on_snapshot change due to previous provider upgrade
2 parents 61873a8 + fa955a3 commit 052b134

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.
33

44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
55

6+
## [5.0.5] - 2024-08-21
7+
### Fixed
8+
- Add `copy_tags_to_snapshot` to aws_rds_cluster.
9+
610
## [5.0.4] - 2024-06-05
711
### Changed
812
- Change kiam auth method to irsa for metadata cleanup, path cleanup and scheduler apiary

rds.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,6 @@ resource "aws_db_instance" "beekeeper" {
6767
apply_immediately = var.db_apply_immediately
6868
performance_insights_enabled = var.db_performance_insights_enabled
6969
final_snapshot_identifier = "${local.instance_alias}-final-snapshot-${random_id.snapshot_id.hex}"
70+
copy_tags_to_snapshot = var.db_copy_tags_to_snapshot
7071
tags = var.beekeeper_tags
7172
}

variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -564,3 +564,9 @@ variable "slack_webhook_url" {
564564
default = ""
565565
type = string
566566
}
567+
568+
variable "db_copy_tags_to_snapshot" {
569+
description = "Copy all Cluster tags to snapshots."
570+
type = bool
571+
default = true
572+
}

0 commit comments

Comments
 (0)