Skip to content

Commit

Permalink
Redirect stdout to dev null and leave stderr intact
Browse files Browse the repository at this point in the history
  • Loading branch information
ha7315 committed Apr 4, 2024
1 parent e285a51 commit c7f1deb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/create-rds-postgres-tester/task.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module "create_tester_user" {
# Requires use of an Alpine-based image, to install the AWS CLI to fetch the SQL from SSM
override_command = [
"sh", "-c",
"apk add --no-cache aws-cli > /dev/null && aws ssm get-parameter --name ${var.db_name}-postgres-create-tester-user-sql --query 'Parameter.Value' --output text > /tmp/create_tester_user.sql && psql -d $DB_CONNECTION_URL -f /tmp/create_tester_user.sql"
"apk add --no-cache aws-cli > /dev/null 2>&1 && aws ssm get-parameter --name ${var.db_name}-postgres-create-tester-user-sql --query 'Parameter.Value' --output text > /tmp/create_tester_user.sql && psql -d $DB_CONNECTION_URL -f /tmp/create_tester_user.sql"
]
port = null
secret_environment_variables = [
Expand Down

0 comments on commit c7f1deb

Please sign in to comment.