Terraform Cloud with VCS Workflow(Github)

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 …


This content originally appeared on DEV Community and was authored by Andrey Frol

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:
Adding Github integration to Terraform Cloud pt1

 

There will be a button 'Connect to version control':
Adding Github integration to Terraform Cloud pt2

 

You will be presented with 3 options for your workflow. We are interested in 'Version Control Workflow':
Adding Github integration to Terraform Cloud pt3

 

I am interested in Github and that's what I will select:
Adding Github integration to Terraform Cloud pt4

 

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':
Adding Github integration to Terraform Cloud pt5

 

If everything went well you will see a list of your repositories.
Adding Github integration to Terraform Cloud pt6

 

I will select the repo that used for this blog series:
Adding Github integration to Terraform Cloud pt7

 

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:
Adding Github integration to Terraform Cloud pt8

 

After that you will a green success message text:
Adding Github integration to Terraform Cloud pt9

 

This is it. You have now connected your Github account to Terraform Cloud!
Thank you for reading and see you in the next article!


This content originally appeared on DEV Community and was authored by Andrey Frol


Print Share Comment Cite Upload Translate Updates
APA

Andrey Frol | Sciencx (2022-07-17T21:22:51+00:00) Terraform Cloud with VCS Workflow(Github). Retrieved from https://www.scien.cx/2022/07/17/terraform-cloud-with-vcs-workflowgithub/

MLA
" » Terraform Cloud with VCS Workflow(Github)." Andrey Frol | Sciencx - Sunday July 17, 2022, https://www.scien.cx/2022/07/17/terraform-cloud-with-vcs-workflowgithub/
HARVARD
Andrey Frol | Sciencx Sunday July 17, 2022 » Terraform Cloud with VCS Workflow(Github)., viewed ,<https://www.scien.cx/2022/07/17/terraform-cloud-with-vcs-workflowgithub/>
VANCOUVER
Andrey Frol | Sciencx - » Terraform Cloud with VCS Workflow(Github). [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/07/17/terraform-cloud-with-vcs-workflowgithub/
CHICAGO
" » Terraform Cloud with VCS Workflow(Github)." Andrey Frol | Sciencx - Accessed . https://www.scien.cx/2022/07/17/terraform-cloud-with-vcs-workflowgithub/
IEEE
" » Terraform Cloud with VCS Workflow(Github)." Andrey Frol | Sciencx [Online]. Available: https://www.scien.cx/2022/07/17/terraform-cloud-with-vcs-workflowgithub/. [Accessed: ]
rf:citation
» Terraform Cloud with VCS Workflow(Github) | Andrey Frol | Sciencx | https://www.scien.cx/2022/07/17/terraform-cloud-with-vcs-workflowgithub/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.