From 062865735ff9314a2fa1256f3a88a501ee5e3cf7 Mon Sep 17 00:00:00 2001 From: Patrick Decat Date: Thu, 23 Jul 2020 15:09:22 +0200 Subject: [PATCH] Typo: heirarchical => hierarchical --- command/plugins.go | 2 +- terraform/resource_address.go | 2 +- website/docs/configuration/functions/setproduct.html.md | 2 +- website/docs/modules/composition.html.markdown | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/command/plugins.go b/command/plugins.go index ce408f975..74584b699 100644 --- a/command/plugins.go +++ b/command/plugins.go @@ -25,7 +25,7 @@ import ( // // The provider-related functions live primarily in meta_providers.go, and // lean on some different underlying mechanisms in order to support automatic -// installation and a heirarchical addressing namespace, neither of which +// installation and a hierarchical addressing namespace, neither of which // are supported for other plugin types. // store the user-supplied path for plugin discovery diff --git a/terraform/resource_address.go b/terraform/resource_address.go index ca833fe13..4acf122b3 100644 --- a/terraform/resource_address.go +++ b/terraform/resource_address.go @@ -461,7 +461,7 @@ func (addr *ResourceAddress) Contains(other *ResourceAddress) bool { // equality. Instead, it tests that the _specified_ parts of each // address match, treating any unspecified parts as wildcards. // -// See also Contains, which takes a more heirarchical approach to comparing +// See also Contains, which takes a more hierarchical approach to comparing // addresses. func (addr *ResourceAddress) Equals(raw interface{}) bool { other, ok := raw.(*ResourceAddress) diff --git a/website/docs/configuration/functions/setproduct.html.md b/website/docs/configuration/functions/setproduct.html.md index 7191019ab..6829ce8e7 100644 --- a/website/docs/configuration/functions/setproduct.html.md +++ b/website/docs/configuration/functions/setproduct.html.md @@ -219,7 +219,7 @@ elements in the input variables. * [`contains`](./contains.html) tests whether a given list or set contains a given element value. -* [`flatten`](./flatten.html) is useful for flattening heirarchical data +* [`flatten`](./flatten.html) is useful for flattening hierarchical data into a single list, for situations where the relationships between two object types are defined explicitly. * [`setintersection`](./setintersection.html) computes the _intersection_ of diff --git a/website/docs/modules/composition.html.markdown b/website/docs/modules/composition.html.markdown index 53dbf228b..3a17deca4 100644 --- a/website/docs/modules/composition.html.markdown +++ b/website/docs/modules/composition.html.markdown @@ -32,7 +32,7 @@ resource "aws_subnet" "example" { } ``` -When we introduce `module` blocks, our configuration becomes heirarchical +When we introduce `module` blocks, our configuration becomes hierarchical rather than flat: each module contains its own set of resources, and possibly its own child modules, which can potentially create a deep, complex tree of resource configurations.