This template shows how to manage multiple AWS Audit Manager Controls and integrate them with an Audit Manager Framework resource.

Terraform Template

data "aws_auditmanager_control" "example" {
  name = "1. Risk Management"
  type = "Standard"
}

data "aws_auditmanager_control" "example2" {
  name = "2. Personnel"
  type = "Standard"
}

resource "aws_auditmanager_framework" "example" {

  control_sets {

    controls {
      id = data.aws_auditmanager_control.example.id
    }
    name = "example"
  }

  control_sets {

    controls {
      id = data.aws_auditmanager_control.example2.id
    }
    name = "example2"
  }
  name = "example"
}