I hereby claim:
- I am hermes-pimentel on github.
- I am hermespimentel (https://keybase.io/hermespimentel) on keybase.
- I have a public key ASA971Ff9OF6C8RkieT5V_AjY-yCKihJJsC-yu2xjVtxlAo
To claim this, I am signing this object:
#!/usr/bin/env python3 | |
''' | |
This script sets a retention on all the logGroups that don't have one set | |
''' | |
import boto3 | |
import logging | |
# Retention it will be set to | |
RETENTION = 30 |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
# the Software, and to permit persons to whom the Software is furnished to do so. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS |
# Permission is hereby granted, free of charge, to any person obtaining a copy of | |
# this software and associated documentation files (the "Software"), to deal in | |
# the Software without restriction, including without limitation the rights to | |
# use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
# the Software, and to permit persons to whom the Software is furnished to do so. | |
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | |
# FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR |
import json | |
import boto3 | |
from functools import reduce | |
import logging | |
logger = logging.getLogger() | |
logger.setLevel(logging.INFO) | |
client = boto3.client('kafka') |