Resource: aws_auditmanager_assessment_delegation

Terraform resource for managing an AWS Audit Manager Assessment Delegation.

Example Usage

Basic Usage

resource "aws_auditmanager_assessment_delegation" "example" {
  assessment_id  = aws_auditmanager_assessment.example.id
  role_arn       = aws_iam_role.example.arn
  role_type      = "RESOURCE_OWNER"
  control_set_id = "example"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import Audit Manager Assessment Delegation using the id. For example:

import {
  to = aws_auditmanager_assessment_delegation.example
  id = "abcdef-123456,arn:aws:iam::012345678901:role/example,example"
}

Using terraform import, import Audit Manager Assessment Delegation using the id. For example:

% terraform import aws_auditmanager_assessment_delegation.example abcdef-123456,arn:aws:iam::012345678901:role/example,example