Skip to content

Commit 48947e6

Browse files
committed
Fix incorrect resource reference
1 parent cbffefb commit 48947e6

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

content/terraform/v1.10.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.11.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.12.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.2.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.3.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.4.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.6.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.7.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.8.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

content/terraform/v1.9.x/docs/language/style.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ The order of the resources and data sources in your code does not affect how Ter
162162

163163
How you order your resources largely depends on the size and complexity of your code, but we recommend defining data sources alongside the resources that reference them. For readability, your Terraform code should “build on itself” — you should define a data source before the resource that references it.
164164

165-
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zone`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
165+
The following example defines an `aws_instance` that relies on two data sources, `aws_ami` and `aws_availability_zones`. For readability and continuity, it defines the data sources before the `aws_instance` resource.
166166

167167
<CodeBlockConfig hideClipboard>
168168

0 commit comments

Comments
 (0)