athena-workgroup

dod-iac/athena-workgroup/aws

Terraform Module HCL AWS

AWS Athena workgroup

Install
module "athena-workgroup" {
source = "dod-iac/athena-workgroup/aws"
version = "1.0.0"
}
plain text: /constructs/tfmod-dod-iac-athena-workgroup-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Usage Creates an AWS Athena workgroup that encrypts results server-side. ``hcl module "athena_workgroup" { source = "dod-iac/athena-workgroup/aws" name = format("app-%s-%s", var.application, var.environment) output_location = format("s3://%s/", var.bucket_name) tags = { Application = var.application Environment = var.environment Automation = "Terraform" } } ` Creates an AWS Athena workgroup that encrypts results server-side using a KMS key. `hcl module "s3_kms_key" { source = "dod-iac/s3-kms-key/aws" name = format("alias/app-%s-s3-%s", var.application, var.environment) description = format("A KMS key used to encrypt objects at rest in S3 for %s:%s.", var.application, var.environment) principals = ["*"] tags = { Application = var.application Environment = var.environment Automation = "Terra

Inputs (10)
NameTypeDescriptionDefault
namestringThe name of the AWS IAM policy. required
output_locationstringThe location in Amazon S3 where your query results are stored, such as s3://path required
bytes_scanned_cutoff_per_querynumberInteger for the upper data usage limit (cutoff) for the amount of bytes a single-1
descriptionstringThe description of the workgroup. Defaults to "The workgroup for [NAME]."""
tagsmap(string)Tags applied to the workgroup.{}
enabledboolWhether the workgroup is enabled.true
enforce_workgroup_configurationboolBoolean whether the settings for the workgroup override client-side settings.true
encryption_optionstringIndicates type of encryption used, either SSE_S3, SSE_KMS, or CSE_KMS."SSE_S3"
kms_key_arnstring For SSE_KMS and CSE_KMS, this is the KMS key Amazon Resource Name (ARN).""
publish_cloudwatch_metrics_enabledboolBoolean whether Amazon CloudWatch metrics are enabled for the workgroup.true
Outputs (2)
arn — The Amazon Resource Name (ARN) of the workgroup.
id — The id of the workgroup.
Resources (1)
aws_athena_workgroup
Topics & Tags
terraformathenaaws
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0
Cloud AWS
★ Stars1
Forks4
Total downloads6.4k
Inputs10
Outputs2
Resources1
LicenseMIT
Namespacedod-iac
Updated