Skip to content

Commit

Permalink
Update tfstack.mdx (#35913)
Browse files Browse the repository at this point in the history
Fix broken link for describe providers

---------

Co-authored-by: Brian McClain <brianmmcclain@gmail.com>
  • Loading branch information
ned1313 and BrianMMcClain authored Oct 28, 2024
1 parent 9863188 commit 6a3a933
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/language/stacks/reference/tfstack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Each Stack must have at least one `component` block, and the label of the compon
| `source` | The Terraform module to [source](https://developer.hashicorp.com/terraform/language/modules/sources) for this component. Stacks do not support sourcing modules from the private registry. | string | Required |
| `version` | If you declare a module from the public Terraform registry in the source field, you can define which module version to use. | string | Optional |
| `inputs` | A mapping of module input variable names to values. The keys of this map must correspond to the variable names defined by the `source` module. The values can be one of three types: A variable reference such as `var.variable_name`, a component output such as `component.component_name.output_name`, or a literal valid HCL value such as "string value". | map | Required |
| `providers` | A mapping of provider names to providers declared in your Stack configuration. Modules cannot configure their own providers. You must [declare providers](/terraform/language/stacks/create/declare-provider) in the top level of the Stack and pass them into each module in the Stack. | map | Required |
| `providers` | A mapping of provider names to providers declared in your Stack configuration. Modules cannot configure their own providers. You must [declare providers](/terraform/language/stacks/create/declare-providers) in the top level of the Stack and pass them into each module in the Stack. | map | Required |
| `depends_on` | A list of other components that HCP Terraform must execute before this component. You do not need to include another component’s outputs in this list, because Terraform automatically recognizes them. | list | Optional |

The `component` block also supports the `for_each` meta-argument. For example, the following configuration uses `for_each` to provision modules in multiple AWS regions for a given environment.
Expand Down Expand Up @@ -182,7 +182,7 @@ provider "aws" "configurations" {
}
```

For more information on declaring providers in Stacks, refer to [Declare providers](/terraform/language/stacks/create/declare-provider).
For more information on declaring providers in Stacks, refer to [Declare providers](/terraform/language/stacks/create/declare-providers).

## `locals` block configuration

Expand Down Expand Up @@ -295,4 +295,4 @@ removed {
}
```

When you move a region from `regions` to the `removed_regions` variable, HCP Terraform plans to remove that region's corresponding components.
When you move a region from `regions` to the `removed_regions` variable, HCP Terraform plans to remove that region's corresponding components.

0 comments on commit 6a3a933

Please sign in to comment.