Cloud Native: Terraform Env

iOS
Cloud Native-DevOps/DevSecOps
3 min readSep 29, 2022

--

The one thing I really enjoy about Terraform is interacting with provider resources. The declarative syntax makes building infrastructure very fluid. Terraform gives developers the ability to simplify infrastructure complexity. Before starting with Terraform step back and ask a few simple questions. What providers are needed? What resources are need from those providers? If provider or resources are foreign, check out my previous article:

https://medium.com/cloud-native-devops-devsecops/cloud-native-terraform-part-1-900b6a926e25

In the next few articles I will show you how Terraform can automate your complete DevOps setup starting with building a Github repo with three branches named Development, Staging and Production. Before we can build a Github repo terraform needs to connect to the Github provider.

How to Connect to Github Provider

When I learn something new I always start with the documentation. Terraform has great documentation that clearly explains how to use Terraform providers. If you search for Github you can click the “User Provider” button to see what the Github provider is needing:

To authenticate with the Github API the github provider needs a GITHUB_TOKEN.

--

--

iOS
iOS

Written by iOS

iOS Developer, Go, Java, C#, Blockchain enthusiast, Data junkie

No responses yet