Resource schema for AWS::Athena::DataCatalog
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
}
}
name
(String) The name of the data catalog to create. The catalog name must be unique for the AWS account and can use a maximum of 128 alphanumeric, underscore, at sign, or hyphen characters.type
(String) The type of data catalog to create: LAMBDA for a federated catalog, GLUE for AWS Glue Catalog, or HIVE for an external hive metastore.description
(String) A description of the data catalog to be created.parameters
(Map of String) Specifies the Lambda function or functions to use for creating the data catalog. This is a mapping whose values depend on the catalog type.tags
(Attributes List) A list of comma separated tags to add to the data catalog that is created. (see below for nested schema)id
(String) Uniquely identifies the resource.tags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_athena_data_catalog.example <resource ID>