Skip to content

Commit c0ef40f

Browse files
committed
Rename stack block folders
1 parent dc89c5e commit c0ef40f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+184
-184
lines changed

content/terraform/v1.13.x/data/language-nav-data.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -320,25 +320,25 @@
320320
"title": "Stack blocks",
321321
"routes": [
322322
{ "title": "Component configuration", "routes": [
323-
{ "title": "Overview", "path": "block/stack/component_configuration" },
324-
{ "title": "component", "path": "block/stack/component_configuration/component" },
325-
{ "title": "required_providers", "path": "block/stack/component_configuration/required_providers" },
326-
{ "title": "provider", "path": "block/stack/component_configuration/provider" },
327-
{ "title": "variable", "path": "block/stack/component_configuration/variable" },
328-
{ "title": "output", "path": "block/stack/component_configuration/output" },
329-
{ "title": "removed", "path": "block/stack/component_configuration/removed" },
323+
{ "title": "Overview", "path": "block/stack/tfcomponent" },
324+
{ "title": "component", "path": "block/stack/tfcomponent/component" },
325+
{ "title": "required_providers", "path": "block/stack/tfcomponent/required_providers" },
326+
{ "title": "provider", "path": "block/stack/tfcomponent/provider" },
327+
{ "title": "variable", "path": "block/stack/tfcomponent/variable" },
328+
{ "title": "output", "path": "block/stack/tfcomponent/output" },
329+
{ "title": "removed", "path": "block/stack/tfcomponent/removed" },
330330
{ "title": "locals", "href": "block/locals" }
331331
]
332332
},
333333
{ "title": "Deployment configuration", "routes": [
334-
{ "title": "Overview", "path": "block/stack/deploy" },
335-
{ "title": "deployment", "path": "block/stack/deploy/deployment" },
336-
{ "title": "deployment_group", "path": "block/stack/deploy/deployment_group" },
337-
{ "title": "deployment_auto_approve", "path": "block/stack/deploy/deployment_auto_approve" },
338-
{ "title": "identity_token", "path": "block/stack/deploy/identity_token" },
339-
{ "title": "store", "path": "block/stack/deploy/store" },
340-
{ "title": "publish_output", "path": "block/stack/deploy/publish_output" },
341-
{ "title": "upstream_input", "path": "block/stack/deploy/upstream_input" },
334+
{ "title": "Overview", "path": "block/stack/tfdeploy" },
335+
{ "title": "deployment", "path": "block/stack/tfdeploy/deployment" },
336+
{ "title": "deployment_group", "path": "block/stack/tfdeploy/deployment_group" },
337+
{ "title": "deployment_auto_approve", "path": "block/stack/tfdeploy/deployment_auto_approve" },
338+
{ "title": "identity_token", "path": "block/stack/tfdeploy/identity_token" },
339+
{ "title": "store", "path": "block/stack/tfdeploy/store" },
340+
{ "title": "publish_output", "path": "block/stack/tfdeploy/publish_output" },
341+
{ "title": "upstream_input", "path": "block/stack/tfdeploy/upstream_input" },
342342
{
343343
"title": "locals",
344344
"href": "block/locals"

content/terraform/v1.13.x/docs/language/block/stack/deploy/index.mdx

Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ Use the `component` block to source the individual modules that make up your Sta
1212
The `component` block defines the infrastructure to include in your Stack. Each Stack requires at least one `component` block, and you must add a `component` block to your configuration for every module you want to include in your Stack.
1313

1414
Each component sources a Terraform module, can receive input variables, and accepts providers that you declare at the Stack level. You can define the following configuration blocks in a `tfcomponent.hcl` file:
15-
- Use the [`required_providers` block](/terraform/language/block/stack/configuration/required_providers) to declare which providers your component configuration requires so that Terraform can install and use them.
16-
- Use the [`provider` block](/terraform/language/block/stack/configuration/provider) to configure providers, then pass that configuration to a component.
17-
- Use the [`removed` block](/terraform/language/block/stack/configuration/removed) to define the components you want to remove from your Stack.
18-
- Use the [`variable` block](/terraform/language/block/variable) to define input variables for a Stack.
19-
- Use the [`output` block](/terraform/language/block/output) to define outputs that you want to refer to in the HCP Terraform UI.
15+
- Use the [`required_providers` block](/terraform/language/block/stack/tfcomponent/required_providers) to declare which providers your component configuration requires so that Terraform can install and use them.
16+
- Use the [`provider` block](/terraform/language/block/stack/tfcomponent/provider) to configure providers, then pass that configuration to a component.
17+
- Use the [`removed` block](/terraform/language/block/stack/tfcomponent/removed) to define the components you want to remove from your Stack.
18+
- Use the [`variable` block](/terraform/language/block/stack/tfcomponent/variable) to define input variables for a Stack.
19+
- Use the [`output` block](/terraform/language/block/stack/tfcomponent/output) to define outputs that you want to refer to in the HCP Terraform UI.
2020
- Use the [`locals` block](/terraform/language/block/locals) to define local values that you can use within your component configuration.
2121

2222
## Configuration model
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Each Stack requires at least one `component` block, and you must add a `componen
1919

2020
You can define the following blocks in component configuration files:
2121

22-
- The [`component`](/terraform/language/block/stack/configuration/component) block sources individual modules that make up your Stack. Each component receives input variables and accepts providers that you declare at the Stack level.
23-
- The [`required_providers`](/terraform/language/block/stack/configuration/required_providers) block declares which providers your component configuration requires so that Terraform can install and use them.
24-
- The [`provider`](/terraform/language/block/stack/configuration/provider) block configures providers and passes that configuration to components.
25-
- The [`removed`](/terraform/language/block/stack/configuration/removed) block defines components you want to remove from your Stack while ensuring proper cleanup of resources.
26-
- The [`variable`](/terraform/language/block/stack/configuration/variable) block defines input variables that your deployments can set with different values.
27-
- The [`output`](/terraform/language/block/stack/configuration/output) block defines values to expose in the HCP Terraform UI and to make available to deployments.
22+
- The [`component`](/terraform/language/block/stack/tfcomponent/component) block sources individual modules that make up your Stack. Each component receives input variables and accepts providers that you declare at the Stack level.
23+
- The [`required_providers`](/terraform/language/block/stack/tfcomponent/required_providers) block declares which providers your component configuration requires so that Terraform can install and use them.
24+
- The [`provider`](/terraform/language/block/stack/tfcomponent/provider) block configures providers and passes that configuration to components.
25+
- The [`removed`](/terraform/language/block/stack/tfcomponent/removed) block defines components you want to remove from your Stack while ensuring proper cleanup of resources.
26+
- The [`variable`](/terraform/language/block/stack/tfcomponent/variable) block defines input variables that your deployments can set with different values.
27+
- The [`output`](/terraform/language/block/stack/tfcomponent/output) block defines values to expose in the HCP Terraform UI and to make available to deployments.
2828
- The [`locals`](/terraform/language/block/locals) block defines local values that you can reference within your component configuration.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ You can only reference ephemeral variables from specific contexts or Terraform t
154154
- In a managed resource [write-only argument](/terraform/language/resources/ephemeral/write-only)
155155
- In an [`ephemeral` block](/terraform/language/block/ephemeral)
156156
- In the [`locals` block](/terraform/language/block/locals)
157-
- In other [`variable` blocks with the `ephemeral` argument set to `true`](/terraform/language/block/stack/configuration/variable#ephemeral)
158-
- In other [`output` blocks with the `ephemeral` argument set to `true`](/terraform/language/block/stack/configuration/output#ephemeral)
157+
- In other [`variable` blocks with the `ephemeral` argument set to `true`](/terraform/language/block/stack/tfcomponent/variable#ephemeral)
158+
- In other [`output` blocks with the `ephemeral` argument set to `true`](/terraform/language/block/stack/tfcomponent/output#ephemeral)
159159
- Configuring [providers in the `provider` block](/terraform/language/functions/terraform-applying)
160160
- In [provisioner](/terraform/language/resources/provisioners/syntax) and [connection](/terraform/language/resources/provisioners/connection) blocks
161161

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ If you are declaring a `provider` block in a traditional Terraform configuration
1111

1212
## Background
1313

14-
In component configurations, you must declare a provider in the [`required_providers`](/terraform/language/block/stack/configuration/required_providers) block at the top level of your `tfcomponent.hcl` file before you can use that provider.
14+
In component configurations, you must declare a provider in the [`required_providers`](/terraform/language/block/stack/tfcomponent/required_providers) block at the top level of your `tfcomponent.hcl` file before you can use that provider.
1515

1616
After your provider declaration, use the `provider` block to further configure your providers. Unlike traditional Terraform configurations, `provider` blocks in component configurations support the following:
1717

1818
- The `for_each` meta-argument for dynamic provider configurations.
1919
- Defining provider aliases in the block header.
2020
- Using a `config` block to pass in provider arguments.
2121

22-
After configuring your providers, pass them to your Stack's [`component` blocks using the `providers` argument](/terraform/language/block/stack/configuration/component#providers). Passing configurations directly to components ensures that every component in your Stack uses the same provider configuration. To learn more and view examples, refer to [Declare providers](/terraform/language/stacks/component/declare-providers).
22+
After configuring your providers, pass them to your Stack's [`component` blocks using the `providers` argument](/terraform/language/block/stack/tfcomponent/component#providers). Passing configurations directly to components ensures that every component in your Stack uses the same provider configuration. To learn more and view examples, refer to [Declare providers](/terraform/language/stacks/component/declare-providers).
2323

2424
## Configuration model
2525

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ required_providers {
6363

6464
### `<PROVIDER_NAME>`
6565

66-
Each provider declaration uses the provider name as a key that maps to a block with the provider's requirements. You can reference the same provider name in [`provider` blocks](/terraform/language/block/stack/configuration/provider) to further configure that provider.
66+
Each provider declaration uses the provider name as a key that maps to a block with the provider's requirements. You can reference the same provider name in [`provider` blocks](/terraform/language/block/stack/tfcomponent/provider) to further configure that provider.
6767

6868
The following arguments are supported for each provider:
6969

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ You can only reference ephemeral variables from specific contexts or Terraform t
177177
- In an [`ephemeral` block](/terraform/language/block/ephemeral)
178178
- In the [`locals` block](/terraform/language/block/locals)
179179
- In other `variable` blocks with the `ephemeral` argument set to `true`
180-
- In [child module `output` blocks with the `ephemeral` argument set to `true`](/terraform/language/block/stack/configuration/output#ephemeral)
180+
- In [child module `output` blocks with the `ephemeral` argument set to `true`](/terraform/language/block/stack/tfcomponent/output#ephemeral)
181181
- Configuring [providers in the `provider` block](/terraform/language/functions/terraform-applying)
182182
- In [provisioner](/terraform/language/resources/provisioners/syntax) and [connection](/terraform/language/resources/provisioners/connection) blocks
183183

0 commit comments

Comments
 (0)