Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Hi,
When trying to setup and ephemeral localstack preview, I got following error from Github :
This request has been automatically failed because it uses a deprecated version of actions/download-artifact: v3
Workflow:
jobs: install_state: runs-on: ubuntu-latest permissions: write-all steps: - name: Start LocalStack uses: LocalStack/[email protected] env: AWS_DEFAULT_REGION: us-east-1 AWS_REGION: us-east-1 AWS_ACCESS_KEY_ID: test AWS_SECRET_ACCESS_KEY: test LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} with: install-awslocal: 'true' use-pro: 'true' state-backend: ephemeral state-action: start state-name: promutuel-test github-token: ${{ secrets.GITHUB_TOKEN }} skip-ephemeral-stop: 'true' include-preview: 'true'
Expected Behavior
No response
How are you starting LocalStack?
With the Github Action: LocalStack/[email protected]
Steps To Reproduce
Create a github action workflow in a repository with :
`name: Iac
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "iac/**"
jobs:
install_state:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Start LocalStack
uses: LocalStack/[email protected]
env:
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
with:
install-awslocal: 'true'
use-pro: 'true'
state-backend: ephemeral
state-action: start
state-name: promutuel-test
github-token: ${{ secrets.GITHUB_TOKEN }}
skip-ephemeral-stop: 'true'
include-preview: 'true'
- name: Create Bucket
run: |
buckets=$(awslocal s3api list-buckets --query "Buckets[].Name" --prefix "promutuel-devops")
if [ ${#buckets[@]} -eq 0 ]; then
awslocal s3api create-bucket --bucket "promutuel-devops"
fi
shell: bash
- name: Terraform Apply
uses: dflook/terraform-apply@v1
with:
path: ${{ github.workspace }}/iac
var_file: ${{ github.workspace }}/iac/localstack.tfvars
auto_approve: true`
Environment
- OS:
- LocalStack:
LocalStack version:
LocalStack Docker image sha:
LocalStack build date:
LocalStack build git hash:
Anything else?
No response