Skip to content

jbenaventem/eacmanager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stars Issues MIT License


header

Project diagram

diagram

Prerequisites

  • GitHub Organization: As you can see in the diagram above, this project will setup two repositories in your organization. If you are using a free GitHub account, you can setup an organization for free.
  • Terraform Cloud account: This project also uses Terraform Cloud to set up an organization and two workspaces (one for each repository). You can create an account from here.
  • Terraform cli: You will need terraform cli installed in your local environment, install it from here.

Getting started

  1. Clone the repository
  2. Rename the file terraform.tfvars.template to terraform.tfvars
  3. Edit the terraform.tfvars file with the variables.
  4. Run the command terraform plan
  5. Run the command terraform apply

terraform.tfvars

Variable Value
tfe_hostname Terraform enterprise host name. If you are using the public GitHub then use app.terraform.io
tfe_token Terraform enterprise token. This is your USER token (not the organization token or team token). You can get one from here
org_name Your GitHub organization name
tfe_org_email Your email
ghe_token GitHub PAT (Personal Access Token) you can get it from here
ghe_api_url GitHub API url. If you are using the public GitHub then use https://api.github.com
ghe_http_url GitHub url. If you are using the public GitHub then use https://github.com

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.