{"id":7747990,"name":"HarshCasper/setup-localstack","ecosystem":"actions","description":"Sets up LocalStack CLI in your GitHub Actions workflow.","homepage":"https://github.com/marketplace/actions/setup-localstack","licenses":"mit","normalized_licenses":["MIT"],"repository_url":"https://github.com/HarshCasper/setup-localstack","keywords_array":["aws","cicd","cloud","localstack","setup-tool"],"namespace":"localstack","versions_count":7,"first_release_published_at":"2022-05-14T15:40:05.000Z","latest_release_published_at":"2024-08-23T12:00:17.000Z","latest_release_number":"v0.2.3","last_synced_at":"2026-03-12T08:37:43.576Z","created_at":"2023-05-17T11:36:57.669Z","updated_at":"2026-03-12T08:37:43.576Z","registry_url":"https://github.com/HarshCasper/setup-localstack","install_command":null,"documentation_url":null,"metadata":{"name":"Setup LocalStack","description":"Sets up LocalStack CLI in your GitHub Actions workflow.","author":"LocalStack Team","branding":{"icon":"code","color":"white"},"inputs":{"image-tag":{"description":"Tag of the LocalStack Docker image to use","required":true,"default":"latest"},"install-awslocal":{"description":"Whether to install the `awslocal` CLI into the environment","required":true,"default":"true"},"use-pro":{"description":"Whether to use LocalStack Pro (requires a valid API key)","required":false,"default":"false"},"configuration":{"description":"Configuration variables to use for LocalStack","required":false,"default":""},"ci-project":{"description":"Name of the CI project to track in LocalStack Cloud","required":false,"default":""},"github-token":{"description":"Github token used to create PR comments","required":false,"default":""},"preview-cmd":{"description":"Command(s) used to create an Ephemeral Instance of the PR (can use $AWS_ENDPOINT_URL)","required":false},"include-preview":{"description":"Whether to include the created Ephemeral Instance URL in the PR comment","required":false},"skip-startup":{"description":"Explicitly prevent LocalStack start up, only installs CLI(s).\nRecommended to manage state later on in the pipeline or start up an ephemeral instance\n","required":true,"default":"false"},"skip-wait":{"description":"Skip wait for LocalStack","required":false,"default":"false"},"skip-ephemeral-stop":{"description":"Skip stopping LocalStack Ephemeral Instance","required":false,"default":"true"},"state-action":{"description":"Manage LocalStack state\nValid values are `load`, `save`, `start`, `stop`, `` (empty, don't manage state)\nValues `start`/`stop` only usable with Ephemeral Instances.\n","required":false,"default":""},"state-backend":{"description":"Either store the state of LocalStack locally, as a cloud pod or start up an ephemeral instance.\nValid values are `cloud-pods`, `ephemeral` or `local`.\nUse this option in unison with `state-action` to control behaviour.\n","required":false,"default":"cloud-pods"},"state-name":{"description":"Name of the state artifact (without extension)","required":false},"auto-load-pod":{"description":"The pod to load on startup of LocalStack, the env var AUTO_LOAD_POD","required":false,"default":""},"extension-auto-install":{"description":"The extension(s) to automatically install on startup of LocalStack, the env var EXTENSION_AUTO_INSTALL","required":false,"default":""},"lifetime":{"description":"The lifetime of the ephemeral instance, how long the instance should be available for","required":false,"default":"30"}},"runs":{"using":"composite","steps":[{"run":"echo \"GH_ACTION_ROOT=$(\n  ls -d $(\n    ls -d ./../../_actions/* |\n    grep -i localstack |\n    tail -n1\n  )/setup-localstack/* | \n  grep -v completed | \n  tail -n1\n)\" \u003e\u003e $GITHUB_ENV\n","shell":"bash"},{"name":"Install tools","uses":"jenseng/dynamic-uses@v1","if":"${{ inputs.skip-startup == 'true' || inputs.state-backend == 'ephemeral' || inputs.state-action == 'save' }}","with":{"uses":"${{ env.GH_ACTION_ROOT }}/tools","with":"{\n  \"install-awslocal\": ${{ toJSON(inputs.install-awslocal) }},\n}"}},{"name":"Start Localstack","uses":"jenseng/dynamic-uses@v1","if":"${{ inputs.skip-startup != 'true' \u0026\u0026 inputs.state-backend != 'ephemeral' \u0026\u0026 inputs.state-action != 'save' }}","with":{"uses":"${{ env.GH_ACTION_ROOT }}/startup","with":"{\n  \"image-tag\": ${{ toJSON(inputs.image-tag) }},\n  \"install-awslocal\": ${{ toJSON(inputs.install-awslocal) }},\n  \"use-pro\": ${{ toJSON(inputs.use-pro) }},\n  \"configuration\": ${{ toJSON(inputs.configuration) }},\n  \"ci-project\": ${{ toJSON(inputs.ci-project) }},\n  \"skip-wait\": ${{ toJSON(inputs.skip-wait) }}\n}"}},{"name":"Create Ephemeral Instance","if":"${{ inputs.state-action == 'start' \u0026\u0026 inputs.state-backend == 'ephemeral' }}","uses":"jenseng/dynamic-uses@v1","with":{"uses":"${{ env.GH_ACTION_ROOT }}/ephemeral/startup","with":"{\n  \"github-token\": ${{ toJSON(inputs.github-token) }},\n  \"preview-cmd\": ${{ toJSON(inputs.preview-cmd) }},\n  \"extension-auto-install\": ${{ toJSON(inputs.extension-auto-install )}},\n  \"auto-load-pod\": ${{ toJSON(inputs.auto-load-pod) }},\n  \"lifetime\": ${{ toJSON(inputs.lifetime )}}\n}"}},{"name":"Manage state","if":"${{ inputs.state-action == 'save' || inputs.state-action == 'load' }}","uses":"jenseng/dynamic-uses@v1","with":{"uses":"${{ env.GH_ACTION_ROOT }}/${{ inputs.state-backend }}","with":"{\n  \"name\": ${{ toJSON(inputs.state-name) }},\n  \"action\": ${{ toJSON(inputs.state-action) }}\n}"}},{"name":"Display Ephemeral Instance URL","if":"${{ inputs.state-action == 'start' \u0026\u0026 inputs.state-backend == 'ephemeral' \u0026\u0026 (inputs.include-preview == 'true' || inputs.ci-project != '') }}","uses":"jenseng/dynamic-uses@v1","with":{"uses":"${{ env.GH_ACTION_ROOT }}/finish","with":"{\n  \"github-token\": ${{ toJSON(inputs.github-token) }},\n  \"ci-project\": ${{ toJSON(inputs.ci-project) }},\n  \"include-preview\": ${{ inputs.include-preview != '' \u0026\u0026 toJSON(inputs.include-preview) || toJSON(env.include-preview) }}\n}"}},{"name":"Stop Ephemeral Instance","if":"${{ (inputs.skip-ephemeral-stop == 'false' || inputs.state-action == 'stop') \u0026\u0026 inputs.state-backend == 'ephemeral' }}","uses":"jenseng/dynamic-uses@v1","with":{"uses":"${{ env.GH_ACTION_ROOT }}/ephemeral/shutdown","with":"{\n  \"github-token\": ${{ toJSON(inputs.github-token) }},\n}"}}]},"default_branch":"main","path":null},"repo_metadata":{"id":65157760,"uuid":"492239501","full_name":"localstack/setup-localstack","owner":"localstack","description":"Sets up LocalStack CLI in your GitHub Actions workflow ☁️","archived":false,"fork":false,"pushed_at":"2024-08-14T14:34:50.000Z","size":75,"stargazers_count":23,"open_issues_count":3,"forks_count":7,"subscribers_count":14,"default_branch":"main","last_synced_at":"2024-08-14T15:51:34.438Z","etag":null,"topics":["aws","cicd","cloud","localstack","setup-tool"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/setup-localstack","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/localstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-14T14:30:08.000Z","updated_at":"2024-08-09T10:43:57.000Z","dependencies_parsed_at":"2024-03-15T13:32:16.390Z","dependency_job_id":"ccfc043f-3eb5-494b-bd6f-71ab454e887d","html_url":"https://github.com/localstack/setup-localstack","commit_stats":null,"previous_names":["localstack/setup-localstack","harshcasper/setup-localstack"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localstack","download_url":"https://codeload.github.com/localstack/setup-localstack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":215722989,"owners_count":15921448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"localstack","name":"LocalStack","uuid":"28732122","kind":"organization","description":"Enabling efficient local dev\u0026test loops for Cloud applications","email":"info@localstack.cloud","website":"https://localstack.cloud","location":null,"twitter":"_localstack","company":null,"icon_url":"https://avatars.githubusercontent.com/u/28732122?v=4","repositories_count":68,"last_synced_at":"2023-04-10T03:11:42.719Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/localstack","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T16:38:42.759Z","updated_at":"2023-04-10T03:11:42.928Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localstack","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/localstack/repositories"},"tags":[{"name":"v0.2.2","sha":"7bc0b195ea4bef7a215f1ec0f71e41fedc6f0e15","kind":"tag","published_at":"2024-07-17T16:24:30.000Z","download_url":"https://codeload.github.com/localstack/setup-localstack/tar.gz/v0.2.2","html_url":"https://github.com/localstack/setup-localstack/releases/tag/v0.2.2","dependencies_parsed_at":"2024-07-19T06:13:31.009Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.2.2/manifests"},{"name":"v0.2.1","sha":"e6a1e5c3a9cb6c37fca3b4bb951c87e3967afa59","kind":"commit","published_at":"2024-06-16T05:48:09.000Z","download_url":"https://codeload.github.com/localstack/setup-localstack/tar.gz/v0.2.1","html_url":"https://github.com/localstack/setup-localstack/releases/tag/v0.2.1","dependencies_parsed_at":"2024-06-19T05:35:36.552Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"4b405a249b3bed4953d1bc4ecb9f21129b550015","kind":"commit","published_at":"2024-06-04T09:41:49.000Z","download_url":"https://codeload.github.com/localstack/setup-localstack/tar.gz/v0.2.0","html_url":"https://github.com/localstack/setup-localstack/releases/tag/v0.2.0","dependencies_parsed_at":"2024-06-08T07:51:02.560Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.2.0/manifests"},{"name":"v0.1.2","sha":"86441d6228ffd1faa324da0810143e40693d36f0","kind":"commit","published_at":"2023-03-12T14:20:17.000Z","download_url":"https://codeload.github.com/localstack/setup-localstack/tar.gz/v0.1.2","html_url":"https://github.com/localstack/setup-localstack/releases/tag/v0.1.2","dependencies_parsed_at":"2023-06-02T00:39:40.203Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.1.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.1.2/manifests"},{"name":"v0.1.1","sha":"75f237e13e53021e0bbbee89759aa6ecc59ab63f","kind":"commit","published_at":"2022-09-08T10:59:25.000Z","download_url":"https://codeload.github.com/localstack/setup-localstack/tar.gz/v0.1.1","html_url":"https://github.com/localstack/setup-localstack/releases/tag/v0.1.1","dependencies_parsed_at":"2023-06-02T00:39:40.887Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"73ea63e38fa324b0a05f7cddac2c74fc4cd307c6","kind":"commit","published_at":"2022-05-14T15:40:05.000Z","download_url":"https://codeload.github.com/localstack/setup-localstack/tar.gz/v0.1.0","html_url":"https://github.com/localstack/setup-localstack/releases/tag/v0.1.0","dependencies_parsed_at":"2023-06-02T00:39:40.620Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2024-08-17T05:13:45.427Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.775788306132153,"dependent_packages_count":0.0,"stargazers_count":12.197749960386627,"forks_count":21.708128664237048,"docker_downloads_count":null,"average":14.670416732688956},"purl":"pkg:githubactions/HarshCasper/setup-localstack","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/HarshCasper/setup-localstack","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/HarshCasper/setup-localstack","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/HarshCasper/setup-localstack/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2024-07-17T02:23:22.312Z","issues_count":6,"pull_requests_count":25,"avg_time_to_close_issue":1680001.0,"avg_time_to_close_pull_request":733491.4583333334,"issues_closed_count":6,"pull_requests_closed_count":24,"pull_request_authors_count":9,"issue_authors_count":4,"avg_comments_per_issue":1.1666666666666667,"avg_comments_per_pull_request":0.64,"merged_pull_requests_count":20,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":6,"past_year_pull_requests_count":23,"past_year_avg_time_to_close_issue":1680001.0,"past_year_avg_time_to_close_pull_request":790670.5454545454,"past_year_issues_closed_count":6,"past_year_pull_requests_closed_count":22,"past_year_pull_request_authors_count":8,"past_year_issue_authors_count":4,"past_year_avg_comments_per_issue":1.1666666666666667,"past_year_avg_comments_per_pull_request":0.6956521739130435,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":18,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/localstack%2Fsetup-localstack/issues","maintainers":[{"login":"lukqw","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/lukqw"},{"login":"HarshCasper","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/HarshCasper"},{"login":"whummer","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/whummer"}],"active_maintainers":[{"login":"lukqw","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/lukqw"},{"login":"whummer","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/whummer"},{"login":"HarshCasper","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/HarshCasper"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HarshCasper%2Fsetup-localstack/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HarshCasper%2Fsetup-localstack/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HarshCasper%2Fsetup-localstack/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HarshCasper%2Fsetup-localstack/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/HarshCasper%2Fsetup-localstack/codemeta","maintainers":[]}