Why do we need terraform?
- to enable people to access/ways to build, modify and deploy codes on cloud/on-prem safe and efficiently
What is Providers?
- A plugin - enable interaction with API
What is Resources?
- Take arguments and export attributes for use in configuration
- Manage resource - ceate, update, delete objects
- Data resource - Only read object
List out Top 8 Commands which we have learnt so far?
- $ set PATH "%PATH%;C:\tools\terraform";
- $ terraform init
- $ terraform validate
- $ terraform plan
- $ terraform apply
- $ terraform show
- $ terraform destroy
- output "github_repo_url" { value = github_repository.example.http_clone_url }
What are the block we have used in .tf file? Explain in Short
-A bunch of blocks is used to define and configuring all the element within your code such as declaring providers, variables, output and separated is to make sure the code is more understandable and structured
Top comments (0)