Skip to content

Instantly share code, notes, and snippets.

View alessandrobologna's full-sized avatar

Alessandro Bologna alessandrobologna

View GitHub Profile
@zpapez
zpapez / template_okta_alb.yml
Last active May 25, 2021 17:07
CloudFormation Template to create AWS Application Load Balancer with OKTA Authentication
AWSTemplateFormatVersion: 2010-09-09
Description: Template to create OKTA auth application load balancer.
Parameters:
CertificateArn:
Type: String
Description: ARN of certificate to use on HTTPS listener
authorizationEndpoint:
Type: String
Description: Okta account endpoint
Default: https://dev-12345.okta.com/oauth2/default/v1/authorize
@svrist
svrist / cf_create_or_update.py
Created February 7, 2017 21:34
Update or create a CloudFormation stack given a name and template + params'
'Update or create a stack given a name and template + params'
from __future__ import division, print_function, unicode_literals
from datetime import datetime
import logging
import json
import sys
import boto3
import botocore