Using Path-Based Variables with Terraform | Terraforming Kubernetes Episode 2 with Justin Mitchel
In this episode, @CodingEntrepreneurs explains path-based variables in Terraform. Justin also creates a placeholder for the Kubernetes config file.
0:12 Create locals.tf
2:10 Declare additional variables
4:50 Use locals to create a file
6:15 Declare resource
7:50 Create k8s config file
8:15 Upgrade Terraform
8:40 Run Terraform plan
New to Linode? Get started here with a $100 credit.
Register for Terraforming Kubernetes: From Code to Deployed Serverless.
Check out Justin’s blog post for this project here.
Subscribe to get notified of new episodes as they come out!
#terraform #kubernetes #linode
Product: Kubernetes, Terraform, K8S; @CodingEntrepreneurs
You might also like…
CI/CD Pipeline with GitLab and K8s | Jérôme Petazzoni LKE Helm WorkshopIn part 10 of our LKE with Helm workshop series, Jérôme Petazzoni will show you how to set up a CI/CD pipeline.
Request-based Autoscaling in Kubernetes: Scaling to Zero and BackLearn how to monitor the HTTP requests to your apps in Kubernetes and how to define autoscaling rules to increase and decrease replicas.
Save and Organize Your Most Useful Code in Simple Snippets with Snippet BoxSnippet Box is a simple self-hosted app for organizing your code snippets and features a Web-based UI which makes finding snippets easy!
Kubernetes Simplified: Removing Complexity from Container OrchestrationBecause Kubernetes is open source and deeply parametrized, it introduced challenges as cloud providers have attempted to simplify it.