Skip to content
This repository was archived by the owner on Jul 3, 2023. It is now read-only.

Add product_area to rds-cluster #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 8 additions & 0 deletions rds-cluster/main.tf
Original file line number Diff line number Diff line change
@@ -37,6 +37,10 @@ variable "master_username" {
description = "The master user username"
}

variable "product_area" {
description = "The product area for this cluster"
}

variable "master_password" {
description = "The master user password"
}
@@ -121,6 +125,10 @@ resource "aws_rds_cluster_instance" "cluster_instances" {

# need a deterministic identifier or terraform will force a new resource every apply
identifier = "${aws_rds_cluster.main.id}-${count.index}"

tags {
product_area = "${var.product_area}"
}
}

resource "aws_rds_cluster" "main" {