Skip to content

Commit

Permalink
change EOT spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Chandra Reddy authored and Chandra Reddy committed Aug 16, 2024
1 parent 2ca7791 commit fdd4776
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions infrastructure/04_rds.tf
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ resource "null_resource" "create_databases" {
for_each = { for combo in local.app_env_list : "${combo.app}-${combo.env}" => combo }

provisioner "local-exec" {
command = <<EOT
mysql -h ${aws_db_instance.default.address} -P 3306 -uadmin -p${var.db_password} -e "CREATE DATABASE ${each.value.app}_${each.value.env};"
EOT
command = <<EOT mysql -h ${aws_db_instance.default.address} -P 3306 -uadmin -p${var.db_password} -e "CREATE DATABASE ${each.value.app}_${each.value.env};" EOT
}

depends_on = [aws_db_instance.default]
Expand Down

0 comments on commit fdd4776

Please sign in to comment.