I hereby claim:
- I am lorengordon on github.
- I am lorengordon (https://keybase.io/lorengordon) on keybase.
- I have a public key ASDgBddMHCmvLj57gWIWGwjDrRCRbNjGlttM6Aw62Kkp2Qo
To claim this, I am signing this object:
# This configuration creates permission sets that will be assigned across many accounts. This | |
# would be managed centrally, and the provider for this config should be set to the management | |
# account for AWS Identity Center. | |
module "sso_admin" { | |
source = "git::https://github.com/plus3it/terraform-aws-tardigrade-sso-admin.git?ref=2.0.1" | |
sso_admin = { | |
permission_sets = local.permission_sets | |
} |
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(` | |
[Security.Principal.WindowsBuiltInRole] "Administrator")) | |
{ | |
Write-Warning "Skipping functions that require elevated permissions..." | |
} | |
else | |
{ | |
# Do admin stuff | |
} |
AWS_PROVIDER_REPO=https://github.com/terraform-providers/terraform-provider-aws.git | |
AWS_PROVIDER_BRANCH=master | |
# Pre-req: Have a working go install :-) | |
# Get go: https://golang.org/dl/ | |
# Install go: https://golang.org/doc/install | |
#curl -LO https://redirector.gvt1.com/edgedl/go/go1.9.2.linux-amd64.tar.gz | |
#sudo tar -C /usr/local -xvzf go*.linux-amd64.tar.gz | |
sudo yum -y install git |
I hereby claim:
To claim this, I am signing this object:
import json | |
class TfExternal(object): | |
"""Wrap Terraform External provider.""" | |
@staticmethod | |
def query_args(obj): | |
"""Load json object from stdin.""" | |
return {} if obj.isatty() else json.load(obj) |
sudo -i | |
REPO="https://github.com/<your-fork>/salt" | |
BRANCH="<your-branch>" | |
# EL6 | |
#yum -y install centos-release-SCL | |
#yum -y install python27 python27-python-devel python27-python-setuptools python27-python-tools python27-python-virtualenv | |
#yum -y --enablerepo=epel install git gcc gcc-c++ swig openssl-devel python27-python-pip | |
#scl enable python27 bash |
[CmdLetBinding()] | |
Param( | |
[Parameter(Mandatory=$true,ValueFromPipeLine=$false,ValueFromPipeLineByPropertyName=$true)] | |
[String] $HostedZoneId, | |
[Parameter(Mandatory=$true,ValueFromPipeLine=$false,ValueFromPipeLineByPropertyName=$true)] | |
[ValidateSet("CNAME","A","AAAA","MX","TXT","PTR","SRV","SPF","NS","SOA")] | |
[String] $Type, | |
[Parameter(Mandatory=$true,ValueFromPipeLine=$false,ValueFromPipeLineByPropertyName=$true)] |
before_deploy: | |
- python $TRAVIS_BUILD_DIR/ci/travis_set_build.py --file-paths '("<project>", "__init__.py")' --skip "$TRAVIS_TAG" | |
deploy: | |
- provider: pypi | |
server: https://testpypi.python.org/pypi | |
distributions: sdist | |
user: <username> | |
password: | |
secure: <encrypted_password> | |
skip_cleanup: true |
#!/bin/bash | |
# | |
# Pivot the root partition to a tmpfs mount point so that the root volume can | |
# be re-partitioned. | |
# | |
############################################################################## | |
set -x | |
set -e | |
# Prevent selinux from interfering |
{ | |
"builders": [ | |
{ | |
"type": "amazon-ebs", | |
"ami_name": "packer-download-file", | |
"communicator": "ssh", | |
"instance_type": "t2.micro", | |
"region": "us-east-1", | |
"source_ami": "ami-1c221e76", | |
"ssh_username": "centos", |