logo

Create Github CI as Terraform Runner

2. Click "Use this template"
Image without caption
3. Click "Create a new repository"
Image without caption
4. Select "Owner" and input the repository name. Choose whether this repo is public or private.
5. Scroll all the way down and click "Create repository from template"
Image without caption
6. Edit main.tf
Image without caption
7. Change the "nimbus_url" of "nimbus" provider to your Nimbus URL which should be the same as the domain your choose for the self-hosted version of Nimbus.
Image without caption
8. Click "Commit changes"
Image without caption
9. Click "Settings"
Image without caption
10. Click "Secrets"
Image without caption
11. Click "Actions"
Image without caption
12. Click "New repository secret" to creat "AWS_ACCESS_KEY_ID"
Image without caption
13. Set the Name is "AWS_ACCESS_KEY_ID" and input your access key ID for your AWS account. Then click "Add Secret".
Image without caption
14. Click "New repository secret" to create "AWS_SECRET_ACCESS_KEY"
Image without caption
15. Set the Name is "AWS_SECRET_ACCESS_KEY" and input your secret access key for your AWS account. Then click "Add Secret".
Image without caption
16. In a new tab, navigate to the Nimbus web app (e.g. https://app.usenimbus.com)
17. In Tempaltes tab, click "Create"
Image without caption
18. Then you can create a template with the "terraform" source, with the GitHub repository you just created. And the terraform logic will be run under Actions from this repository.