Resource: aws_location_place_index

Provides a Location Service Place Index.

Example Usage

resource "aws_location_place_index" "example" {
  data_source = "Here"
  index_name  = "example"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

data_source_configuration

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 aws_location_place_index resources using the place index name. For example:

import {
  to = aws_location_place_index.example
  id = "example"
}

Using terraform import, import aws_location_place_index resources using the place index name. For example:

% terraform import aws_location_place_index.example example