Skip to content

Commit

Permalink
fixing path errors
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed Jun 9, 2024
1 parent 0875fe1 commit b61be94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,9 @@ create_fly_toml() {
deploy() {
if [ "$PROVIDER" = "aws" ]; then
# todo: handle name collisions
cp -r /aws/* /app
cd /
setup_terraform
awk -v org="\"$TERRAFORM_ORG\"" "{sub(/var.TERRAFORM_ORG/,org)}1" tailcall.tf > /tmp/temp1.tf
awk -v org="\"$TERRAFORM_ORG\"" "{sub(/var.TERRAFORM_ORG/,org)}1" /aws/tailcall.tf > /tmp/temp1.tf
awk -v workspace="\"$TERRAFORM_WORKSPACE\"" "{sub(/var.TERRAFORM_WORKSPACE/,workspace)}1" /tmp/temp1.tf > /tmp/temp2.tf
mv /tmp/temp2.tf tailcall.tf
terraform init
Expand Down

0 comments on commit b61be94

Please sign in to comment.