This repository contains some scripts to configure the Github organization like adding teams and members besides the profile displayed on the organization page.
We are using Terraform to provision all related parts. Every change have to be submitted via pull requests, after merging the pull request the changes are getting applied automatically by our CI system. It is possible to execute everything from a workstation, but it's encouraged to keep it in the hands of our CI system.
To get access to the secrets you got to install the 1Password CLI and export the
environment variable OP_SERVICE_ACCOUNT_TOKEN
which you can find in our shared
store, after that you can simply execute the commands below.
cat << EOF >| .envrc
use flake . --impure
export AWS_ACCESS_KEY_ID=$(op read op://Gopad/TerraformState/username)
export AWS_SECRET_ACCESS_KEY=$(op read op://Gopad/TerraformState/password)
EOF
direnv allow
bin/terraform init
bin/terraform plan
bin/terraform apply
If you find a security issue please contact gopad@webhippie.de first.
Fork -> Patch -> Push -> Pull Request
Apache-2.0
Copyright (c) 2018 Thomas Boerger <thomas@webhippie.de>