awscc_athena_data_catalog (Resource)

Resource schema for AWS::Athena::DataCatalog

Example Usage

Glue Catalog

To create AWS Glue data catalog:

data "aws_caller_identity" "current" {}

resource "awscc_athena_data_catalog" "this" {
  name = "awscc-catalog"
  type = "GLUE"
  parameters = {
    catalog-id = data.aws_caller_identity.current.account_id
  }
}

Schema

Required

Optional

Read-Only

Nested Schema for tags

Required:

Import

Import is supported using the following syntax:

$ terraform import awscc_athena_data_catalog.example <resource ID>