From eed69930011241331f79dc8a912776f79c082259 Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:02:56 -0500 Subject: [PATCH 1/9] Update README.md Fixed a few typos. --- terraform_deployment/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index d968b13..50deb84 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -17,7 +17,7 @@ This is a standalone Terraform configutation repository that contains the follow * **variables.tf** - Contains the variable definitions for this sample -* **terraform.tfvard** - Contains the variables assignments for this sample. Terraform will automatically use this file as it's main variables definition file as it uses the saved name. Note that if you change the file name you will need to specify that file on the command line with `-var-file`. +* **terraform.tfvar** - Contains the variables assignments for this sample. Terraform will automatically use this file as it's main variables definition file as it uses the saved name. Note that if you change the file name you will need to specify that file on the command line with `-var-file`. Exported values will override any of the variables in both the variables.tf file and the terraform.tfvars file * **output.tf** - Contains output declarations of the resources created by this Terraform module. Terraform stores output values in the configuration's state file @@ -41,8 +41,8 @@ Running this terraform sample will result the following: ## Prerequisites -1. [Terraform prerequisits](#terraform) -2. [AWS prerequisits](#aws-account-setup) +1. [Terraform prerequisites](#terraform) +2. [AWS prerequisites](#aws-account-setup) ### Terraform From f8a7b560683d09fb702b32d5c7656357ad6fb434 Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:19:13 -0500 Subject: [PATCH 2/9] Update README.md --- terraform_deployment/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index 50deb84..330dc06 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -102,9 +102,7 @@ Terraform should be installed in the server from which you are running this samp #### 1. Clone the repository In your server's terminal, navigate to the location where you wish to store this Terraform repository, and clone the repository using your preferred authentication type. In this example we are using HTTPS clone: -```shell -$ git clone https://github.com/NetApp/FSxN-Samples.git -``` +$`git clone https://github.com/NetApp/FSxN-Samples.git` #### 2. Navigate to the directory ```shell From a170f0626dbf1f01efe035f191f231641f088943 Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:20:47 -0500 Subject: [PATCH 3/9] Update README.md --- terraform_deployment/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index 330dc06..9eb568f 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -102,11 +102,11 @@ Terraform should be installed in the server from which you are running this samp #### 1. Clone the repository In your server's terminal, navigate to the location where you wish to store this Terraform repository, and clone the repository using your preferred authentication type. In this example we are using HTTPS clone: -$`git clone https://github.com/NetApp/FSxN-Samples.git` +$`shell git clone https://github.com/NetApp/FSxN-Samples.git` #### 2. Navigate to the directory -```shell -$ cd terraform_deployment +$```shell +cd terraform_deployment ``` #### 3. Initialize Terraform From 90ab2ab034cf2a8d48b9c739f2e01866d26a782d Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:23:12 -0500 Subject: [PATCH 4/9] Update README.md --- terraform_deployment/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index 9eb568f..8a75b4b 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -102,11 +102,14 @@ Terraform should be installed in the server from which you are running this samp #### 1. Clone the repository In your server's terminal, navigate to the location where you wish to store this Terraform repository, and clone the repository using your preferred authentication type. In this example we are using HTTPS clone: -$`shell git clone https://github.com/NetApp/FSxN-Samples.git` +$ +```shell +git clone https://github.com/NetApp/FSxN-Samples.git +``` #### 2. Navigate to the directory -$```shell -cd terraform_deployment +```shell +$ cd terraform_deployment ``` #### 3. Initialize Terraform From 438cbe0207cec25b80a7cf71fbfbb3db4a189bf9 Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:24:30 -0500 Subject: [PATCH 5/9] Update README.md --- terraform_deployment/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index 8a75b4b..91e7233 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -102,7 +102,7 @@ Terraform should be installed in the server from which you are running this samp #### 1. Clone the repository In your server's terminal, navigate to the location where you wish to store this Terraform repository, and clone the repository using your preferred authentication type. In this example we are using HTTPS clone: -$ +$\ ```shell git clone https://github.com/NetApp/FSxN-Samples.git ``` From 4e409844088841683e112a9f9e4a421782925981 Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:41:36 -0500 Subject: [PATCH 6/9] Update README.md --- terraform_deployment/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index 91e7233..d71bdf1 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -102,7 +102,6 @@ Terraform should be installed in the server from which you are running this samp #### 1. Clone the repository In your server's terminal, navigate to the location where you wish to store this Terraform repository, and clone the repository using your preferred authentication type. In this example we are using HTTPS clone: -$\ ```shell git clone https://github.com/NetApp/FSxN-Samples.git ``` From f1475ed3d69e58a0c333b5a548cdbea75b95a8aa Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:45:46 -0500 Subject: [PATCH 7/9] Update README.md --- terraform_deployment/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index d71bdf1..7d0f5c0 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -107,7 +107,7 @@ git clone https://github.com/NetApp/FSxN-Samples.git ``` #### 2. Navigate to the directory -```shell +```console $ cd terraform_deployment ``` From c4d763c6e33fa5b261134db1105e25043ee1484b Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:50:18 -0500 Subject: [PATCH 8/9] Update README.md removed $ cause even though they are nice from view perspective they were copied and pasted causing errors. --- terraform_deployment/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index 7d0f5c0..4d325fc 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -107,14 +107,14 @@ git clone https://github.com/NetApp/FSxN-Samples.git ``` #### 2. Navigate to the directory -```console -$ cd terraform_deployment +```shell +cd terraform_deployment ``` #### 3. Initialize Terraform This directory represents a standalone Terraform module. Run the following command to initialize the module and install all dependencies: ```shell -$ terraform init +terraform init ``` A succesfull initialization should display the following output: From fe7fef45bf1e9c49571894afa957e28418208a8c Mon Sep 17 00:00:00 2001 From: Richard Nicholl Date: Fri, 12 Jan 2024 11:53:47 -0500 Subject: [PATCH 9/9] Update README.md fixed last two to remove $ as well --- terraform_deployment/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terraform_deployment/README.md b/terraform_deployment/README.md index 4d325fc..1c7c081 100644 --- a/terraform_deployment/README.md +++ b/terraform_deployment/README.md @@ -147,14 +147,14 @@ Open the **`terraform.tfvars`** file in your preferred text editor. Update the v #### 5. Create a Terraform plan Run the following command to create an execution plan, which lets you preview the changes that Terraform plans to make to your infrastructure: ```shell -$ terraform plan +terraform plan ``` Ensure that the proposed changes match what you expected before you apply the changes! #### 6. Apply the Terraform plan Run the following command to execute the Terrafom code and apply the changes proposed in the `plan` step: ```shell -$ terraform apply +terraform apply ``` ## Author Information