Skip to content

Commit

Permalink
trying different paths
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed Jun 9, 2024
1 parent fbe8216 commit 0875fe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions aws/tailcall.tf
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ resource "local_sensitive_file" "bootstrap" {
}

resource "local_sensitive_file" "config" {
for_each = fileset("./", "**")
content_base64 = filebase64("./${each.value}")
for_each = fileset("app/", "**")
content_base64 = filebase64("app/${each.value}")
filename = "config/${each.value}"
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ deploy() {
if [ "$PROVIDER" = "aws" ]; then
# todo: handle name collisions
cp -r /aws/* /app
cd /app
cd /
setup_terraform
awk -v org="\"$TERRAFORM_ORG\"" "{sub(/var.TERRAFORM_ORG/,org)}1" tailcall.tf > /tmp/temp1.tf
awk -v workspace="\"$TERRAFORM_WORKSPACE\"" "{sub(/var.TERRAFORM_WORKSPACE/,workspace)}1" /tmp/temp1.tf > /tmp/temp2.tf
Expand Down

0 comments on commit 0875fe1

Please sign in to comment.