VSC integrations are a popular and, quite frankly, a useful tool that allow collaboration between many people. In this article we will learn how to add a Github integration to our Terraform Cloud.
It is assumed that you already have a Terraform Cloud account and an organization.
Select your organization and click 'Setting' tab:
There will be a button 'Connect to version control':
You will be presented with 3 options for your workflow. We are interested in 'Version Control Workflow':
I am interested in Github and that's what I will select:
After selecting your VCS provider you will see a popup asking you to grant permissions to Terraform Cloud to access your Github. Click 'Authorize Terraform Cloud':
If everything went well you will see a list of your repositories.
I will select the repo that used for this blog series:
Then we will be redirected to a settings confirmation page. Important fields here are the 'Apply Method' and 'VSC Branch'. Once you have confirmed the settings click 'Update VSC settings' button at the bottom of the page:
After that you will a green success message text:
This is it. You have now connected your Github account to Terraform Cloud!
Thank you for reading and see you in the next article!
Top comments (0)