https://github.com/faun/training
Terraform and Consul training
https://github.com/faun/training
Last synced: 5 months ago
JSON representation
Terraform and Consul training
- Host: GitHub
- URL: https://github.com/faun/training
- Owner: faun
- Created: 2016-01-28T21:44:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-28T23:21:48.000Z (over 10 years ago)
- Last Synced: 2025-02-05T14:15:09.601Z (over 1 year ago)
- Language: HCL
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Setting up a Git Repository
===========================
1. Create a repository on GitHub under your user named "training"
1. Change directory (`cd`) into the `05-atlas` directory
1. Run
$ git init
1. Run
$ git commit -a -m "Initial commit"`
1. Run
$ git remote config origin https://github.com//training
1. Run
$ git push origin master
Setting up Packer in Atlas
==========================
1. Navigate to Atlas
1. Click on "Builds" in the navigation bar
1. Click on "New Build Configuration"
1. Create a configuration named "web" and check the "Automatically build on version uploads" option
1. Go to the "Variables" page and add the following
- `AWS_ACCESS_KEY_ID`
- `AWS_SECRET_ACCESS_KEY`
1. Go to the "Integrations" page and select your GitHub repo:
- GitHub repo: `/training`
- GitHub directory: `packer`
- Packer template: `web.json`
- - -
1. Click on "Builds" in the navigation bar
1. Click on "New Build Configuration"
1. Create a configuration named "haproxy" and check the "Automatically build on version uploads" option
1. Go to the "Variables" page and add the following
- `AWS_ACCESS_KEY_ID`
- `AWS_SECRET_ACCESS_KEY`
1. Go to the "Integrations" page and select your GitHub repo:
- GitHub repo: `/training`
- GitHub directory: `packer`
- Packer template: `haproxy.json`
- - -
1. Change directory (`cd`) into the `05-atlas` directory
1. Run
$ git commit -m "Trigger initial builds" --allow-empty
$ git push origin master
1. Look in Atlas UI and see builds running