Resource: aws_rekognition_project

Terraform resource for managing an AWS Rekognition Project.

Example Usage

resource "aws_rekognition_project" "example" {
  name        = "example-project"
  auto_update = "ENABLED"
  feature     = "CONTENT_MODERATION"
}

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:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import Rekognition Project using the example_id_arg. For example:

import {
  to = aws_rekognition_project.example
  id = "project-id-12345678"
}

Using terraform import, import Rekognition Project using the name. For example:

% terraform import aws_rekognition_project.example project-id-12345678