Skip to content

Commit 8754795

Browse files
authored
Re-enable the DNS server (#9)
* Bump version in the readme * Use DNS_ADDRESS=127.0.0.1 rather than 0
1 parent a5db30b commit 8754795

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To get started, you can use this minimal example:
1515

1616
```yml
1717
- name: Start LocalStack
18-
uses: LocalStack/setup-localstack@v0.1.2
18+
uses: LocalStack/setup-localstack@v0.1.3
1919
with:
2020
image-tag: 'latest'
2121
install-awslocal: 'true'
@@ -32,7 +32,7 @@ To get started, you can use this minimal example:
3232
| `configuration` | Configuration variables to use while starting LocalStack container | `None` |
3333
| `use-pro` | Whether to use the Pro version of LocalStack (requires API key to be configured) | `false` |
3434

35-
> **NOTE**: The `LOCALSTACK_API_KEY` environment variable is required to be set if `use-pro` is set to `true`. While starting the [localstack-pro](https://hub.docker.com/r/localstack/localstack-pro) image, the DNS startup is skipped with `DNS_ADDRESS=0` configuration variable. It is required to properly start LocalStack in GitHub Actions runner environment.
35+
> **NOTE**: The `LOCALSTACK_API_KEY` environment variable is required to be set if `use-pro` is set to `true`.
3636

3737
### Example workflow
3838

@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/checkout@v3
4949
5050
- name: Start LocalStack
51-
uses: LocalStack/setup-localstack@v0.1.2
51+
uses: LocalStack/setup-localstack@v0.1.3
5252
with:
5353
image-tag: 'latest'
5454
install-awslocal: 'true'

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ runs:
5353
5454
if [ "$USE_PRO" = true ]; then
5555
docker pull localstack/localstack-pro:"$IMAGE_TAG" &
56-
CONFIGURATION="$CONFIGURATION DNS_ADDRESS=0"
56+
CONFIGURATION="$CONFIGURATION DNS_ADDRESS=127.0.0.1"
5757
else
5858
docker pull localstack/localstack:"$IMAGE_TAG" &
5959
fi

0 commit comments

Comments
 (0)