From 480b6691682f021a2dfc762a975ee08252afcdc9 Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Tue, 26 Nov 2019 07:09:27 +0100 Subject: [PATCH 1/8] Updated the Beginners Section of Terraform Answered the definition questions for provider, resources and provisioner and those of terraform commands. --- README.md | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index f8409d3..04d5471 100644 --- a/README.md +++ b/README.md @@ -1609,9 +1609,11 @@ The benefits of Terraform over the other tools:
Explain each of the following: - * Provider - * Resource - * Provisioner + * 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. + * Resource: resources are the services and components you provision on these platforms. + * Provisioner: 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
@@ -1623,10 +1625,12 @@ It keeps track of the IDs of created resources so that Terraform knows what it i
Explain what the following commands do: - * terraform init - * terraform plan - * terraform validate - * terraform apply + * 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.
terraform init scans your code to figure which providers are you using and download them. From 85d9ce12af1e0b72ceec15badd661f91202700f5 Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Tue, 26 Nov 2019 13:42:57 +0100 Subject: [PATCH 2/8] Correction on the area answered questions on. --- README.md | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 04d5471..c918966 100644 --- a/README.md +++ b/README.md @@ -1609,10 +1609,13 @@ The benefits of Terraform over the other tools:
Explain each of the following: - * 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. - * Resource: resources are the services and components you provision on these platforms. - * Provisioner: Provisioner in terraform's lingo specifically refers to configuration tools like ansible or salt-stack which are used + * Provider: + * Resource: + * Provisioner: +- 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
@@ -1625,12 +1628,15 @@ It keeps track of the IDs of created resources so that Terraform knows what it i
Explain what the following commands do: - * 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. + * terraform init + * terraform plan + * terraform validate + * terraform apply +
- 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. +

terraform init scans your code to figure which providers are you using and download them. From 040a9c9b9af4bb2e0b61c39d3c4e5df259c42845 Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Wed, 27 Nov 2019 09:41:30 +0100 Subject: [PATCH 3/8] Corrections on the Answered Question --- README.md | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index c918966..f02d291 100644 --- a/README.md +++ b/README.md @@ -1612,13 +1612,11 @@ The benefits of Terraform over the other tools: * Provider: * Resource: * Provisioner: -- 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. +

+- 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 -
- +- 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 +
What terraform.tfstate file is used for?
@@ -1632,11 +1630,6 @@ It keeps track of the IDs of created resources so that Terraform knows what it i * terraform plan * terraform validate * terraform apply -
- 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. -

terraform init scans your code to figure which providers are you using and download them. From cce13b3a61e7be75bd72669d461edb1c8274d6e0 Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Wed, 27 Nov 2019 09:45:19 +0100 Subject: [PATCH 4/8] Made a few Modifications --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f02d291..e9c0644 100644 --- a/README.md +++ b/README.md @@ -1613,9 +1613,9 @@ The benefits of Terraform over the other tools: * Resource: * Provisioner:

-- 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 +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
What terraform.tfstate file is used for?
From d8f2a3cd596cae9fd3bb0b4288acda1ecd47de2f Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Wed, 27 Nov 2019 09:48:47 +0100 Subject: [PATCH 5/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e9c0644..cd23805 100644 --- a/README.md +++ b/README.md @@ -1614,7 +1614,7 @@ The benefits of Terraform over the other tools: * Provisioner:

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. +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
From 52d985844cdef58d94c5c538ec45bd280116b407 Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Thu, 28 Nov 2019 09:39:57 +0100 Subject: [PATCH 6/8] Edited the Sections According to Format @surister,@bregman-arie. I have adhered to the formats suggested. Thanks --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd23805..4c2f2c8 100644 --- a/README.md +++ b/README.md @@ -1612,11 +1612,12 @@ The benefits of Terraform over the other tools: * Provider: * Resource: * Provisioner: -

+
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 -
+
+
What terraform.tfstate file is used for?
From 59c2b98d97b32799fab06b3febb933be51ad0730 Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Thu, 28 Nov 2019 09:47:33 +0100 Subject: [PATCH 7/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c2f2c8..9de7a16 100644 --- a/README.md +++ b/README.md @@ -1614,7 +1614,7 @@ The benefits of Terraform over the other tools: * Provisioner:
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.
+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
From 5c447141d5f7c382399b0a3f37ed480c42328f80 Mon Sep 17 00:00:00 2001 From: Samuel Nwoye Date: Thu, 28 Nov 2019 09:50:19 +0100 Subject: [PATCH 8/8] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9de7a16..b3c0e50 100644 --- a/README.md +++ b/README.md @@ -1613,8 +1613,8 @@ The benefits of Terraform over the other tools: * Resource: * Provisioner:
-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.

+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