Merge pull request #45 from knoxknot/master

Updated the Beginners Section of Terraform
This commit is contained in:
Arie Bregman 2019-11-28 14:38:46 +02:00 committed by GitHub
commit 73c95e8cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1659,10 +1659,14 @@ The benefits of Terraform over the other tools:
<details> <details>
<summary>Explain each of the following: <summary>Explain each of the following:
* Provider * Provider:
* Resource * Resource:
* Provisioner * Provisioner:
</b></details> </summary><br><b>
<code>Provider</code> is any cloud based technology - github, aws, postgresql etc - which one can make an API call to with its unique terraform provider binary to provision available services and components.<br>
<code>Resources</code> are the services and components you provision on these platforms.<br>
<code>Provisioner</code> in terraform's lingo specifically refers to configuration tools like ansible or salt-stack which are used in combination with terraform to orchestrate a system e.g vm's
</details>
<details> <details>
<summary>What <code>terraform.tfstate</code> file is used for?</summary><br><b> <summary>What <code>terraform.tfstate</code> file is used for?</summary><br><b>
@ -1673,10 +1677,10 @@ It keeps track of the IDs of created resources so that Terraform knows what it i
<details> <details>
<summary>Explain what the following commands do: <summary>Explain what the following commands do:
* <code>terraform init</code> * <code>terraform init</code>
* <code>terraform plan</code> * <code>terraform plan</code>
* <code>terraform validate</code> * <code>terraform validate</code>
* <code>terraform apply</code> * <code>terraform apply</code>
</summary><br><b> </summary><br><b>
<code>terraform init</code> scans your code to figure which providers are you using and download them. <code>terraform init</code> scans your code to figure which providers are you using and download them.