Corrections on the Answered Question

This commit is contained in:
Samuel Nwoye 2019-11-27 09:41:30 +01:00 committed by GitHub
parent 85d9ce12af
commit 040a9c9b9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1612,13 +1612,11 @@ The benefits of Terraform over the other tools:
* Provider:
* Resource:
* Provisioner:
<b>- Provider 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.
</b></details><br><b>
- Provider 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.
- Resources are the services and components you provision on these platforms.
- Provisioner 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
</b></details>
- Provisioner 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
</b>
<details>
<summary>What <code>terraform.tfstate</code> file is used for?</summary><br><b>
@ -1632,11 +1630,6 @@ It keeps track of the IDs of created resources so that Terraform knows what it i
* <code>terraform plan</code>
* <code>terraform validate</code>
* <code>terraform apply</code>
<details> - terraform init initialises and downloads the provider's binary as described in the .tf files
- terraform plan is a dry-run listing the services and components that will be provisioned on specified provider's platform.
- terraform validate parses through the terraform code to ensure that they are both syntactically correct and runtime error free.
- terraform apply this command provision's the described services on the providers platform.
</details >
</summary><br><b>
<code>terraform init</code> scans your code to figure which providers are you using and download them.