Skip to content

Commit

Permalink
fix(infra): return apply str
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz committed Aug 30, 2023
1 parent e71b440 commit dac9fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/staging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ const redashSecurityGroup = new aws.ec2.SecurityGroup(
// const redashDbUrlString = redashDbUrl.apply((url) => url).toString();

const redashInitScript = redashDbUrl.apply((url) => {
redashSecretKey.apply((secretKey) => {
return redashSecretKey.apply((secretKey) => {
return `#!/bin/bash
echo "Setting environment variables..."
export POSTGRES_PASSWORD="${redashDbPassword}"
Expand Down

0 comments on commit dac9fa8

Please sign in to comment.