Resource: aws_securityhub_account

Enables Security Hub for this AWS account.

Example Usage

resource "aws_securityhub_account" "example" {}

Argument Reference

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 an existing Security Hub enabled account using the AWS account ID. For example:

import {
  to = aws_securityhub_account.example
  id = "123456789012"
}

Using terraform import, import an existing Security Hub enabled account using the AWS account ID. For example:

% terraform import aws_securityhub_account.example 123456789012