Skip to content

Instantly share code, notes, and snippets.

View babbottscott's full-sized avatar

Benjamin Abbott-Scott babbottscott

  • Glassdoor
  • Mill Valley
View GitHub Profile
@babbottscott
babbottscott / gist:3b13447b3394de4cc1f4300ac908a4e5
Created July 1, 2022 23:13
Terraform snippet for Athena/Glue table creation for ALB Access logs
data "aws_vpc" "vpc" {}
data "aws_region" "current" {}
locals {
athena_db = "my_athena_db"
athena_table = "my_table_name"
elb_bucket_id = "my_elb_logs"
elb_prefix = "my_log_folder"
aws_account_id = data.aws_vpc.vpc.owner_id
aws_region = data.aws_region.current.name
### Keybase proof
I hereby claim:
* I am babbottscott on github.
* I am babbottscott (https://keybase.io/babbottscott) on keybase.
* I have a public key whose fingerprint is CF01 C8F9 F559 2037 565E E8CF C5D3 962D 809B D56E
To claim this, I am signing this object: