We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 821edb7 commit b526409Copy full SHA for b526409
main.tf
@@ -13,7 +13,7 @@ resource "random_id" "final_snapshot_id" {
13
}
14
15
resource "aws_db_instance" "db" {
16
- identifier = "${local.stack}-${var.app_name}"
+ identifier = replace("${local.stack}-${var.app_name}", "_", "")
17
snapshot_identifier = var.snapshot_identifier
18
allocated_storage = var.snapshot_identifier != "" ? null : var.allocated_storage
19
storage_type = "gp2"
0 commit comments