Skip to content

Commit

Permalink
using local tf file
Browse files Browse the repository at this point in the history
  • Loading branch information
shashitnak committed May 20, 2024
1 parent 39e7115 commit 6ca6da0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
FROM debian:latest

COPY entrypoint.sh /entrypoint.sh
COPY tailcall.tf /tailcall.tf

RUN apt-get update \
&& apt-get install -y wget git \
Expand Down
7 changes: 2 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
echo "aws-access-key-id: $AWS_ACCESS_KEY_ID"
echo "aws-secret-access-key: $AWS_SECRET_ACCESS_KEY"
echo "config: $CONFIG"
echo "PWD: $(pwd)"
git clone https://github.com/tailcallhq/tailcall-on-aws.git
cd tailcall-on-aws
echo "LS: $(ls)"
terraform init
TF_VAR_AWS_REGION=$AWS_REGION terraform apply
echo "PWD: $(pwd)"
TF_VAR_AWS_REGION=$AWS_REGION terraform apply

0 comments on commit 6ca6da0

Please sign in to comment.