Skip to content

Commit

Permalink
Merge pull request #61 from ExpediaGroup/fix/copy_tag_to_snapshot
Browse files Browse the repository at this point in the history
fixing copy_tags_on_snapshot change due to previous provider upgrade
  • Loading branch information
patduin authored Aug 21, 2024
2 parents 61873a8 + fa955a3 commit 052b134
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

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).

## [5.0.5] - 2024-08-21
### Fixed
- Add `copy_tags_to_snapshot` to aws_rds_cluster.

## [5.0.4] - 2024-06-05
### Changed
- Change kiam auth method to irsa for metadata cleanup, path cleanup and scheduler apiary
Expand Down
1 change: 1 addition & 0 deletions rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,5 +67,6 @@ resource "aws_db_instance" "beekeeper" {
apply_immediately = var.db_apply_immediately
performance_insights_enabled = var.db_performance_insights_enabled
final_snapshot_identifier = "${local.instance_alias}-final-snapshot-${random_id.snapshot_id.hex}"
copy_tags_to_snapshot = var.db_copy_tags_to_snapshot
tags = var.beekeeper_tags
}
6 changes: 6 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -564,3 +564,9 @@ variable "slack_webhook_url" {
default = ""
type = string
}

variable "db_copy_tags_to_snapshot" {
description = "Copy all Cluster tags to snapshots."
type = bool
default = true
}

0 comments on commit 052b134

Please sign in to comment.