Skip to content

Commit

Permalink
fixed DBName must begin with a letter and contain only alphanumeric c…
Browse files Browse the repository at this point in the history
…haracters error
  • Loading branch information
shanice-skylight committed Jan 9, 2025
1 parent 573043e commit 701f189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/implementation/ecs/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ module "ecs" {

resource "aws_db_instance" "qc_db" {
allocated_storage = "10"
db_name = "${var.qc_db_name}-${terraform.workspace}"
db_name = "${var.qc_db_name}_${terraform.workspace}"
identifier = "${var.db_identifier}-${terraform.workspace}"
engine = var.db_engine_type
engine_version = var.db_engine_version
Expand Down

0 comments on commit 701f189

Please sign in to comment.