- Newest
- Most votes
- Most comments
The issue you're experiencing with creating a Snowflake connection in AWS AppFlow could be due to several factors. Here are some potential areas to check and troubleshoot:
-
Network Configuration: Ensure that your Snowflake account is accessible from AWS AppFlow. You mentioned using the network ID of your Snowflake account, but make sure it's correctly configured to allow incoming connections from AppFlow.
-
Snowflake Storage Integration: Verify that your Snowflake storage integration is properly set up and linked to the correct S3 bucket. The storage integration should have the necessary permissions to access the S3 bucket.
-
S3 Bucket Policy: Your S3 bucket policy looks correct for allowing AppFlow to perform the necessary actions. However, ensure that the bucket name in the Resource section matches exactly with the bucket you're using for the Snowflake integration.
-
IAM Role: The IAM role policy you've provided seems to have the necessary permissions for S3 access. However, make sure this role is correctly associated with your AppFlow connection.
-
Trust Relationship: The trust relationship you've shown is for an IAM user, not for the AppFlow service. For AppFlow to assume this role, you need to add the AppFlow service to the trust relationship.
-
Snowflake Connection Parameters: Double-check that you've entered all the Snowflake connection parameters correctly in AppFlow, including the account name, warehouse, database, schema, and stage name.
-
VPC and Security Groups: If you're using a VPC for your Snowflake connection, ensure that the security groups and network ACLs are configured to allow traffic between AppFlow and Snowflake.
-
Snowflake User Permissions: Verify that the Snowflake user you're using for the connection has the necessary privileges to access the specified warehouse, database, and schema.
If you've verified all these points and are still encountering the timeout error, it might be worth reaching out to AWS support for more detailed troubleshooting, as they can inspect the specific configuration in your account.
Sources
SnowflakeConnectorProfileProperties - AmazonAppFlow
S3 connection to Snowflake | AWS re:Post
answered a year ago
Above answer is correct. Additional references: Ensure that AppFlow's "test connection" functionality operates over the public internet rather than PrivateLink, [+] Verify these IP ranges in the AWS IP ranges documentation: https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-ranges.html
answered a year ago
Since I am using the public connection. I have the Stage and storage integration on the snowflake side, which is mapped to the IAM role and S3 bucket set up. This basically adds the snowflake user arn and external id as the trusted connection for AWS. So does the IP ranges still needs to be verified on the snowflake side?
The issue is related to IPs of AWS APPFLOW that needs to be white-listed in snowflake. After adding the IPs the issue is resolved https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-ranges.html
answered a year ago
Relevant content
asked 2 years ago
asked 3 years ago
asked 3 years ago
asked 3 years ago

Above answer is correct. Additional references: Ensure that AppFlow's "test connection" functionality operates over the public internet rather than PrivateLink, [+] Verify these IP ranges in the AWS IP ranges documentation: https://docs.aws.amazon.com/vpc/latest/userguide/aws-ip-ranges.html