Skip to content

Instantly share code, notes, and snippets.

View jharley's full-sized avatar
😷

Jason Harley jharley

😷
View GitHub Profile
@ksatirli
ksatirli / terraform-cloud-ip-ranges.tf
Created August 10, 2020 16:43
Terraform Cloud IP Ranges as Terraform Variables
terraform {
required_providers {
http = "~> 1.2"
}
required_version = "~> 0.12.29"
}
data "http" "terraform_cloud_ip_ranges" {
url = "https://app.terraform.io/api/meta/ip-ranges"
@joelthompson
joelthompson / README.md
Last active March 12, 2024 10:14
Vault Auth
@gfrey
gfrey / gist:8472007
Created January 17, 2014 11:34
Upstart script for haproxy with support for reload.
description "Properly handle haproxy"
start on startup
env PID_PATH=/var/run/haproxy.pid
env BIN_PATH=/usr/sbin/haproxy
script
exec /bin/bash <<EOF
$BIN_PATH -f /etc/haproxy.cfg -D -p $PID_PATH