Skip to content

Commit

Permalink
Merge pull request #1255 from jduarteihm/patch-1
Browse files Browse the repository at this point in the history
Update terrform-modules.mdx
  • Loading branch information
John P Vajda authored Apr 15, 2021
2 parents 4c332c6 + c4dfe85 commit c14e260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/markdown-pages/terraform/terrform-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ mkdir HostConditions && cd HostConditions
touch main.tf
```

Remove the two alert conditions from the root project's __main.tf__ file and copy it to the new __main.tf__ file in the HostModules directory.
Remove the two alert conditions from the root project's __main.tf__ file and copy it to the new __main.tf__ file in the HostConditions directory.

In the root directory's __main.tf__ file call the new module using a module block:
```hcl
Expand Down Expand Up @@ -285,7 +285,7 @@ You can reuse your module connecting to a New Relic policy that already exists.

First, In your root __main.tf__ file add the data block to import an existing policy:
```hcl
data "newrelic_alert_channel" "ExistingPolicy" {
data "newrelic_alert_policy" "ExistingPolicy" {
name = "Preexisting Policy"
}
```
Expand Down

0 comments on commit c14e260

Please sign in to comment.