In order for Terraform Cloud to create resources for you in AWS it needs access keys, we can provide this key using variable sets.
First step is to open settings
Next we’ll click on Variable sets and create a new variable set
We’ll need to provide 3 AWS variables
Make sure these values are environment variables & the settings box on the far right is checked, click Add variable when finished adding one variable to add the next one
Upon completion Variable sets should look like this, hit Create variable set.
Let’s attach the Snyk run task we created in the Partner Setup module to a workspace.
We’ll start by going in your workspace, click on aws-workshop workspace, open the settings menu and select Run Tasks on the left hand menu
Select the Snyk workshop run task created earlier in the workshop
Make sure that it’s set to the post-plan option and the Enforcement level is set to Manditory, hit create.
Great! In the next section we’ll start working with Terraform Cloud workflows!