Skip to content

Terraform Deployment

Deploy the unusd.cloud read-only IAM Role using Terraform instead of CloudFormation.

Prerequisites

  1. An active unusd.cloud account
  2. Terraform installed locally
  3. AWS CLI configured with credentials that can create IAM resources

Steps

  1. In the unusd.cloud dashboard, go to Accounts and click Add Account
  2. Fill in the account details
  3. In the deployment modal, select the Terraform tab
  4. Copy the provided Terraform code

Terraform Snippet

  1. Save the code to a .tf file and run:
terraform init
terraform plan
terraform apply
  1. Return to the unusd.cloud dashboard and confirm the account is connected

The Terraform module creates the same read-only IAM Role as the CloudFormation template. See our Security documentation for the full list of permissions.

Multi-Account with Terraform

For deploying across multiple accounts, consider using Terraform workspaces or a tool like Terragrunt to manage the role across your AWS Organization. Alternatively, see the StackSets guide for a CloudFormation-based approach.


Keep on chasing 🧡