-
Apply the terraform plan.
- It'll create AWS resources.
- It'll create the snowflake external volume.
-
Obtain the snowflake user & session credentials.
-
Re-apply terraform but this time only for the policy resource
aws_iam_role.my_iceberg_sf_access_role
. -
This will update the trust of your IAM role to allow the snowflake user RW access to the S3 bucket.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo >> $HOME/bin/mktouch << EOF | |
#!/bin/bash | |
# This script creates a directory and a file in that location. | |
# Get the path from the command line argument. | |
path=$1 | |
# Split the path into the directory and file name. | |
directory=${path%/*} |