Skip to content

Instantly share code, notes, and snippets.

View andrestorresGL's full-sized avatar

Andres Torres andrestorresGL

  • None
  • Costa Rica
View GitHub Profile
import base64
import boto3
import json
import requests
import gzip
from requests_aws4auth import AWS4Auth
region = 'us-east-1'
service = 'es'
credentials = boto3.Session().get_credentials()
resource "aws_kinesis_stream" "es_stream" {
name = "${var.profile}-${var.application}-kinesis-stream"
shard_count = 1
retention_period = 48
shard_level_metrics = [
"IncomingBytes",
"OutgoingBytes",
]

Keybase proof

I hereby claim:

  • I am andrestorresgl on github.
  • I am aetorres (https://keybase.io/aetorres) on keybase.
  • I have a public key ASAyL8nO2jFIHUvP9SiaH7D6Bj0jBZJz24f7pxyii6cLCwo

To claim this, I am signing this object: