Links

Step 1: Download IAM role IaC template (Web UI)

Before you can create a Snyk Cloud Environment, you must download an Infrastructure as Code (IaC) template declaring a read-only Identity & Access Management (IAM) role that Snyk can assume to scan the configuration of resources in your Amazon Web Services (AWS) account.
You will use this IaC template to provision the role in Step 2: Create the Snyk IAM role.
You can choose the template format: either Terraform HCL or AWS CloudFormation. The IAM permissions are identical in both, so pick the format you are most comfortable working with.

Download the IaC template

  1. 1.
    In the Snyk Web UI, navigate to Integrations > Cloud platforms.
  2. 2.
    Select AWS.
  3. 3.
    On the Add AWS Environment modal, select the Terraform button to download a snyk-permissions-aws.tf file, or CloudFormation to download a snyk-permissions-aws.yml file:
The Snyk Cloud Add AWS Environment modal
You can also add a cloud environment from Organization Settings (cog icon) > Cloud environments. See View Snyk Cloud Environments.
© 2022 Snyk Limited