Skip to content

Instantly share code, notes, and snippets.

TheMattSchiller

Block or report user

Report or block TheMattSchiller

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:3860f710ae2031b0c6da9befc2e4db67
properties([
parameters([
string(name: '___')
])
])
env.REPO = ___
env.IMAGE = ___
env.TAG = ___
View cloudfront_invalidator.py
from __future__ import print_function
import boto3
import time
def lambda_handler(event, context):
path = []
for items in event["Records"]:
if items["s3"]["object"]["key"] == "index.html":
path.append("/")
You can’t perform that action at this time.