Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: editorial review of part 2 #4

Merged
merged 3 commits into from
Aug 23, 2023
Merged

docs: editorial review of part 2 #4

merged 3 commits into from
Aug 23, 2023

Conversation

SirSpidey
Copy link
Contributor

A rather significant review of the Part 2. Check for accuracy.

FYI, you still have a number of TODOs in the lab

Ping me if you have questions or don't understand the changes.

review for IBM style, grammar, terminology, and for consistency with part 1.

Signed-off-by: Allen Dean <[email protected]>

Notice these two settings in the `main.tf` file:

- The `override_json_string` input variable is set to `true`, which instructs the landing zone module to look for and use the `override.json` file in the same directory.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To me, it's confusing that we say that the var is set to true, yet the value doesn't include that boolean. Should we say more about what we're doing in that templatefile?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct the override_json_string is set to the string value of the templated file that will be used to override the default values.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vincent had -
The input named override_json_string takes the full json definition. In this example, the json passed to the module goes through the templatefile function first to 'inject' the prefix. It is done to ensure uniqueness of the resource group names in the account as indicated in step 1.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. I added this info about the placeholders from what's published.

It seems that there might be some differences between the source branch I was using and what's published out there. Hope there aren't many.


The purpose of lab 2 is to show of the manual steps in lab 1 can be fully automated. Lab 2 will also show how the fully automated custom solution can be shared with other users in your enterprise through the [IBM Cloud Catalog](https://cloud.ibm.com/catalog).
Now in lab 2, you use automation to accomplish what you did manually in lab 1. Lab 2 also demonstrates how you can share the fully automated custom solution with other users in your enterprise through the [IBM Cloud catalog](https://cloud.ibm.com/catalog).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't it be -

Now in lab 2, you will use automation

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've used our tech writing style of keeping most things in the present tense. For example,

In lab 1, you provision a secure VPC-based topology...

Feel free to change back to future if it makes more sense to the lab usage.


The module accepts more than 70 input variables that you can use to tweak the VPC topology. Consider the input variables as "knobs" that you can turn to adjust the topology.
- By using a JSON file, named `override.json`

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can pass a string value also to the variable called override_json_string

Copy link
Contributor Author

@SirSpidey SirSpidey Aug 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to By passing a JSON string value to the override.json variable to keep the 2 list items parallel.

```bash
In this step, you run a Terraform module that automates the creation of the custom landing zone topology that you defined in the JSON file in the [previous step](./10-customizing.md).

The objective now is to provide a basic Terraform module that can be easily consumed and that creates the custom VPC topology. You can consider this module as a level of abstraction that simplifies consumption. Consumers of the module do not need to understand the landing zone code or the JSON file that contains the topology definition. They can run a `terraform apply` command with a minimal number of inputs to deploy the fully customized VPC topology in their account.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be easily consumed and that creates the custom VPC...


Notice these two settings in the `main.tf` file:

- The `override_json_string` input variable is set to `true`, which instructs the landing zone module to look for and use the `override.json` file in the same directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct the override_json_string is set to the string value of the templated file that will be used to override the default values.

Notice these two settings in the `main.tf` file:

- The `override_json_string` input variable is set to `true`, which instructs the landing zone module to look for and use the `override.json` file in the same directory.
- The `source` is set to the standard VSI pattern and points to the version 4.4.4 (the most recent version at the time that this lab was written).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is on 4.4.7 now


Notice these two settings in the `main.tf` file:

- The `override_json_string` input variable is set to `true`, which instructs the landing zone module to look for and use the `override.json` file in the same directory.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Vincent had -
The input named override_json_string takes the full json definition. In this example, the json passed to the module goes through the templatefile function first to 'inject' the prefix. It is done to ensure uniqueness of the resource group names in the account as indicated in step 1.

Signed-off-by: Allen Dean <[email protected]>
@SirSpidey
Copy link
Contributor Author

Pushed some updates @argeiger.

@argeiger argeiger merged commit ba97589 into IBM:doc-updates Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants