Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antonym/terraform-rackspace
terraform on rackspace openstack public cloud, using gitlab runner as an example
https://github.com/antonym/terraform-rackspace
Last synced: about 1 month ago
JSON representation
terraform on rackspace openstack public cloud, using gitlab runner as an example
- Host: GitHub
- URL: https://github.com/antonym/terraform-rackspace
- Owner: antonym
- Created: 2019-06-24T20:11:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-23T20:36:23.000Z (about 5 years ago)
- Last Synced: 2024-10-15T11:21:36.780Z (3 months ago)
- Language: HCL
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform using Rackspace Public Cloud for Gitlab Runners
Used for registering gitlab runners with Terraform and
Rackspace Cloud```
cp terraform.tfvars.example terraform.tfvars
# edit terraform.tfvars to your environment
# edit main.tf to adjust any first boot commands
# create a workspace
terraform workspace new runners
terraform workspace select runners
# create an ssh keypair for terraform-
ssh-keygen -f ~/.ssh/terraform-runners
terraform init
terraform plan
terraform apply
```If you need to group other runners for other projects, simply add
a new workspace and change to that workspace. The state of
terraform will be saved in the workspace.Runners should pop up in gitlab instance automatically. To
increase the runner count, bump up the count variable and
run terraform apply. This will provision additional runners
as needed and spin down the rest.