Resource: aws_auditmanager_framework_share

Terraform resource for managing an AWS Audit Manager Framework Share.

Example Usage

Basic Usage

resource "aws_auditmanager_framework_share" "example" {
  destination_account = "012345678901"
  destination_region  = "us-east-1"
  framework_id        = aws_auditmanager_framework.example.id
}

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 Framework Share using the id. For example:

import {
  to = aws_auditmanager_framework_share.example
  id = "abcdef-123456"
}

Using terraform import, import Audit Manager Framework Share using the id. For example:

% terraform import aws_auditmanager_framework_share.example abcdef-123456