Skip to content

Commit

Permalink
Add prefix to database instances (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktibi committed Jul 18, 2022
1 parent 29b9fb6 commit eabd4fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "aws_rds_cluster" "aurora_db" {
#------------------------------------------------------------------------------
resource "aws_rds_cluster_instance" "aurora_db_cluster_instances" {
count = length(var.private_subnets_ids)
identifier = "aurora-db-instance-${count.index}"
identifier = "${var.name_prefix}-aurora-db-instance-${count.index}"
cluster_identifier = aws_rds_cluster.aurora_db.id
db_subnet_group_name = aws_db_subnet_group.aurora_db_subnet_group.id
engine = "aurora-postgresql"
Expand Down

0 comments on commit eabd4fc

Please sign in to comment.