Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terraform Tutorial #1480

Open
BroodingMawlek opened this issue Aug 7, 2024 · 0 comments
Open

Terraform Tutorial #1480

BroodingMawlek opened this issue Aug 7, 2024 · 0 comments

Comments

@BroodingMawlek
Copy link

BroodingMawlek commented Aug 7, 2024

This documentation fault still exists and is copied from
#799

Describe the bug

https://quickstarts.snowflake.com/guide/terraforming_snowflake/index.html?index=..%2F..index#3

[Step 4. Setup Terraform Authentication]

uses:
SELECT current_account() as YOUR_ACCOUNT_LOCATOR
to export the account information for follow-on steps.

However, this is an oversimplification because current_account() does not return the user's Account Locator.

URL of where you see the bug
https://quickstarts.snowflake.com/guide/terraforming_snowflake/index.html?index=..%2F..index#3

To Reproduce
Steps to reproduce the behavior:

Run the following code in any Snowflake worksheet:
SELECT current_account() as YOUR_ACCOUNT_LOCATOR

You'll see the results are not an Account Locator, rather, just the account.

Per Snowflake documentation, a full Account Locator includes region-specific information for the vast majority of regions.
E.g. for Google Cloud Platform (GCP) > US Central1 (Iowa), a full account locator would look something like:

xy12345.us-central1.gcp

Expected behavior
I would expect this walkthrough to provide a command which returns a full Account Locator, or flag to the reader that they will need to manually identify the proper Account Locator based on account and region information and link the documentation I linked above.

Desktop (please complete
OS: Mac
Browser Chrome
Version 127.0.6533.89

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

No branches or pull requests

1 participant