Other configuration for Lambda processing
For the Lambda version of Snowflake on AWS data generation, you must also configure the AWS Lambda role and related Tonic Structural environment settings.
Setting up the AWS Lambda role for Snowflake on AWS
Creating the role
The AWS Lambda function that Structural sets up requires an AWS role. The name of this role is configured in the following environment setting:
The policy for this role should look like this:
The above policy grants the Lambda function the required access to Amazon SQS, Amazon S3, and CloudWatch.
This policy assumes that the S3 buckets and Amazon SQS queues that are used begin with the tonic- prefix.
Enabling Lambda to assume the role
After you create the role, you must allow the Lambda service to assume the role.
For the role, the Trust relationships in the AWS IAM role should be configured to look like the following:
Configuring Structural environment settings for Lambda processing
Structural allows you to set the following Snowflake-specific environment settings that make it easier to adapt our Snowflake integration into your specific AWS environment. You configure these settings in the Structural worker container.
Last updated