Skip to content

Update Snowflake hostname configuration docs#686

Open
HarshCasper wants to merge 1 commit into
mainfrom
doc-264-doc-featurecustom-ssl-certificates-and-hostnames-snowflake
Open

Update Snowflake hostname configuration docs#686
HarshCasper wants to merge 1 commit into
mainfrom
doc-264-doc-featurecustom-ssl-certificates-and-hostnames-snowflake

Conversation

@HarshCasper
Copy link
Copy Markdown
Member

Fixes DOC-264

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: cd64ed9
Status: ✅  Deploy successful!
Preview URL: https://997480c4.localstack-docs.pages.dev
Branch Preview URL: https://doc-264-doc-featurecustom-ss.localstack-docs.pages.dev

View logs

Copy link
Copy Markdown
Contributor

@hovaesco hovaesco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % two comments

| `SF_AWS_ENDPOINT_URL` | `localhost:4566` (default) | AWS services endpoint for connecting to other AWS services (SQS, SNS, etc.) from the Snowflake emulator. |
| `DNS_NAME_PATTERNS_TO_RESOLVE_UPSTREAM` | `*.s3.amazonaws.com` (example) | List of domain names that should NOT be resolved to the LocalStack container, but instead always forwarded to the upstream resolver (S3 for example). this would be required when importing data into a stage from an external S3 bucket on the real AWS cloud. Comma-separated list of Python-flavored regex patterns. |
| `SF_HOSTNAME_REGEX` | `snowflake\..+` (default) | Allows you to customize the hostname used for matching the Snowflake API routes in the HTTP router. If not set, then it matches on any hostnames that contain a `snowflake.*` subdomain (e.g., `snowflake.localhost.localstack.cloud`). |
| `SF_HOSTNAMES` | `snowflake.localhost.localstack.cloud,snowflake.internal` | Comma-separated list of hostnames that should route to the Snowflake emulator. If set, only these hostnames are matched. If unset, LocalStack keeps matching the default `*.snowflake.*` hostnames for backward compatibility. |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the code default is only snowflake.localhost.localstack.cloud

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please amend the last sentence slightly to something like:

If unset, LocalStack also matches any hostname with a snowflake. subdomain  i.e. snowflake.* or *.snowflake.* for backward compatibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants