File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,21 +37,14 @@ jobs:
3737 python-version : " 3.10"
3838
3939 - name : Start LocalStack
40+ uses : LocalStack/setup-localstack@main
41+ with :
42+ image-tag : ' latest'
43+ install-awslocal : ' true'
44+ use-pro : ' true'
45+ configuration : LS_LOG=trace
4046 env :
41- LOCALSTACK_API_KEY : ${{ secrets.LOCALSTACK_API_KEY }}
42- run : |
43- pip install localstack awscli-local[ver1]
44- pip install terraform-local
45- docker pull localstack/localstack-pro
46-
47- # Start LocalStack in the background
48- localstack start -d
49-
50- # Wait 30 seconds for the LocalStack container to become ready before timing out
51- echo "Waiting for LocalStack startup..."
52- localstack wait -t 15
53-
54- echo "Startup complete"
47+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
5548
5649 - name : Run Terraform tests
5750 run : |
You can’t perform that action at this time.
0 commit comments