Update a Legacy Snowflake Connection
Non us-east-1 Snowflake connections that use the legacy S3-based ingestion method require a trust relationship between the CloudZero cross-account role and your Snowflake instance. If this trust relationship is removed or needs to be reapplied, follow the steps below.
Step 1: Get the trust policy values from Snowflake
-
In your Snowflake account, run the following command. For full details, see Snowflake's DESC INTEGRATION reference.
DESC INTEGRATION CLOUDZERO_BILLING_DATA_S3_ACCESS; -
From the output, copy the values for
STORAGE_AWS_EXTERNAL_IDandSTORAGE_AWS_IAM_USER_ARN.
Step 2: Update the IAM trust policy in AWS
For full details on trust policies, see AWS' IAM trust policy documentation.
- In the AWS IAM console, navigate to Roles.
- Search for
cloudzeroand select the role with Trusted entities containing Account061190967865. - Click the Trust relationships tab, then Edit trust policy.
- Add an additional statement to the policy by copying this JSON template into the
Statementarray. - Replace
<STORAGE_AWS_IAM_USER_ARN>and<STORAGE_AWS_EXTERNAL_ID>with the values you copied in Step 1. - Save the trust policy.
Step 3: Verify the connection
Return to Settings > Cloud Connections in CloudZero. The Snowflake connection status returns to Healthy within an hour.
Have questions or feedback? Reach out to your account manager.
Updated 28 days ago
