Resource: aws_auditmanager_account_registration

Terraform resource for managing AWS Audit Manager Account Registration.

Example Usage

Basic Usage

resource "aws_auditmanager_account_registration" "example" {}

Deregister On Destroy

resource "aws_auditmanager_account_registration" "example" {
  deregister_on_destroy = true
}

Argument Reference

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 Account Registration resources using the id. For example:

import {
  to = aws_auditmanager_account_registration.example
  id = "us-east-1"
}

Using terraform import, import Audit Manager Account Registration resources using the id. For example:

% terraform import aws_auditmanager_account_registration.example us-east-1