ilyesedina / Terraform

12 hands on labs from a Terraform course to improve my skills
0 stars 0 forks source link

Dpqual 614/forth lab #6

Closed dkEdiIly closed 8 months ago

dkEdiIly commented 9 months ago

Official documentation

Separate AWS providers out

Live Share Extensions on VSC for Pair Programming.

Lectures

Input Variables

Declare, reference (call), and set the value of a var read more

Local Variables

It is used in situations where a single value or result is used in many places and that value is likely to be changed in the future.

Data Block

Find Resources and Data Sources from providers like Elastic Stack follow the providers documentation.

Output Block

if you define sensitive = true it won't print out the value in the terminal Official documentation

Commenting

# Title, //single line, /* multiple line */

Version Constraints providers folder 📂

versions.tf defines the version -> run terraform init to install, terraform records it's dependency lock to terraform.tfstate not added to GitHub In case of error terraform init -upgrade -> terraform init validate version terraform version read more

Authenticate with SSH provider