Resource: aws_resourceexplorer2_index

Provides a resource to manage a Resource Explorer index in the current AWS Region.

Example Usage

resource "aws_resourceexplorer2_index" "example" {
  type = "LOCAL"
}

Argument Reference

This resource supports the following arguments:

Timeouts

Configuration options:

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 Resource Explorer indexes using the arn. For example:

import {
  to = aws_resourceexplorer2_index.example
  id = "arn:aws:resource-explorer-2:us-east-1:123456789012:index/6047ac4e-207e-4487-9bcf-cb53bb0ff5cc"
}

Using terraform import, import Resource Explorer indexes using the arn. For example:

% terraform import aws_resourceexplorer2_index.example arn:aws:resource-explorer-2:us-east-1:123456789012:index/6047ac4e-207e-4487-9bcf-cb53bb0ff5cc