Skip to content

Add role ARN as a secret

Deprecated

A new and improved CI/CD rig is coming soon. Planning to set up a new CI/CD pipeline? Reach out to us in team Utviklerflyt and we'll get you started with the latest setup. We expect to publish updated documentation in March.

This section shows you how to set up the IAM role ARN as a secret in the GitHub environment you created earlier.

Step 1: Add the secret

repo-iac/environments/dev/app-too-tikki
cd bin
./set_role_secret_in_iac_repo.sh

Step 2: Verify that the workflow can run Terraform

Make a change to the Terraform code for your application in the infrastructure repository, and push it to the main branch. The workflow should now run and apply the changes to your infrastructure.

For example, change a override by editing the file app-too-tikki/config_override.tf.