This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Watch for DNS changes for heroku | |
import logging | |
from logging.handlers import SysLogHandler | |
import socket | |
import os | |
import yaml | |
import sys | |
import argparse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Traefik Ingress controller ALB | |
resource "aws_lb" "traefik" { | |
name = "traefik-alb" | |
internal = false | |
load_balancer_type = "application" | |
security_groups = [aws_security_group.traefik-ingress.id] | |
subnets = data.terraform_remote_state.vpc.outputs.vpc-public-subnets | |
enable_deletion_protection = true | |
enable_cross_zone_load_balancing = false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Flash screen instead of beep sound | |
" set visualbell | |
" Change how vim represents characters on the screen | |
set encoding=utf-8 | |
" Set the encoding of files written | |
set fileencoding=utf-8 | |
" Color scheme |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const kmsArns: pulumi.Output<string>[] = []; | |
config.get('kmsKeys').forEach((keyArgs: KmsKeyConfig) => { | |
const kms = new KmsKeys({ | |
env: config.get('env'), | |
...keyArgs, | |
}); | |
kmsArns.push(kms.arn); | |
}); | |
const kmsInlinePolicy = pulumi.all(args.kmsKeys).apply((kmsKeys) => { |
OlderNewer