Skip to content

2i2c-org/org-ops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

2i2c Organization-wide operations

Infrastructure for 2i2c-wide operations.

What does this repo contain?

  • List of projects we manage, with mappings to billing accounts (if we manage those too). Terraform code here creates the projects, ensures ownership in orgs & sets billing accounts.
  • GCS bucket for Terraform State of all 2i2c projects. We can use GCS ACLs in the future if we want to grant non-2i2c-engineers access to particular terraform workspaces
  • List of user accounts to grant 'Owner' permissions on projects we manage. This is automatically done for projects under the 2i2c.org organization, but needs to be manually done for other projects.

Running Terraform

  1. Install pre-requisites:
  2. Authenticate with gcloud using your 2i2c.org email address. Use two-eye-two-see-org as project id. You need to be a member of the gcp-billing-admins@2i2c.org google group to be able to use this project.
  3. Run terraform init.
  4. Make changes you want, then apply them with terraform apply -var-file projects.tfvars. BE VERY CAREFUL, since you could potentially DESTROY EVERYTHING. So, read the proposed plan from terraform before applying it. We take precautions to prevent this from happening, but you should be careful regardless.

About

Organization-wide infrastructure

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages