Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions _docs-sources/library/usage/using-the-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,27 @@ For this guide, we'll run `terraform plan` and `terraform apply` locally. We rec

:::

### Init

Before you can run a `plan` or `apply`, you need to run an `init`, which performs a series of initialization steps to prepare the working directory for use with Terraform.

<Tabs groupId="tool-choice">
<TabItem value="Terraform" label="Terraform" default>

```bash
terraform init
```

</TabItem>
<TabItem value="Terragrunt" label="Terragrunt" default>

```bash
terragrunt init
```

</TabItem>
</Tabs>

### Plan

Now that you have created a module and a reference that is specific to a single environment and AWS region, you can run a `plan` to see the infrastructure resources that will be provisioned by the module.
Expand Down
23 changes: 22 additions & 1 deletion docs/library/usage/using-the-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,27 @@ For this guide, we'll run `terraform plan` and `terraform apply` locally. We rec

:::

### Init

Before you can run a `plan` or `apply`, you need to run an `init`, which performs a series of initialization steps to prepare the working directory for use with Terraform.

<Tabs groupId="tool-choice">
<TabItem value="Terraform" label="Terraform" default>

```bash
terraform init
```

</TabItem>
<TabItem value="Terragrunt" label="Terragrunt" default>

```bash
terragrunt init
```

</TabItem>
</Tabs>

### Plan

Now that you have created a module and a reference that is specific to a single environment and AWS region, you can run a `plan` to see the infrastructure resources that will be provisioned by the module.
Expand Down Expand Up @@ -402,6 +423,6 @@ Finally, consider how else you might test your module. Are there additional succ
<!-- ##DOCS-SOURCER-START
{
"sourcePlugin": "local-copier",
"hash": "9bce4eb133294e715753e319b3750cfa"
"hash": "a716579681d6f9b3880dc9df0e6e9e25"
}
##DOCS-SOURCER-END -->