Skip to content

Commit 7c75f94

Browse files
Add TFE exclusion tags to module test generation (#1198)
1 parent a881410 commit 7c75f94

File tree

27 files changed

+164
-56
lines changed

27 files changed

+164
-56
lines changed

content/terraform-docs-common/docs/cloud-docs/registry/publish-modules.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ Instead, you can share modules across organizations by sharing the underlying VC
170170

171171
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
172172

173+
<!-- BEGIN: TFC:only name:generate-module-test -->
174+
173175
## Generate module tests
174176

175177
@include 'beta.mdx'
@@ -179,3 +181,5 @@ You can generate and run generated tests for your module with [the `terraform te
179181
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
180182

181183
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
184+
185+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/1.0.x/docs/enterprise/registry/publish-modules.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
156156

157157
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
158158

159-
## Generating Module Tests (Beta)
159+
<!-- BEGIN: TFC:only name:generate-module-test -->
160+
161+
## Generate module tests
160162

161163
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
162164

163165
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
164166

165-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
167+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
168+
169+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202312-1/docs/enterprise/registry/publish-modules.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161-
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, Terraform Cloud will not be able to generate tests for that module.
163+
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
164+
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
162166

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
167+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202401-1/docs/enterprise/registry/publish-modules.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161-
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, Terraform Cloud will not be able to generate tests for that module.
163+
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
164+
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
162166

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
167+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202401-2/docs/enterprise/registry/publish-modules.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161-
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, Terraform Cloud will not be able to generate tests for that module.
163+
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
164+
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
162166

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
167+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202402-1/docs/enterprise/registry/publish-modules.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161-
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, Terraform Cloud will not be able to generate tests for that module.
163+
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
164+
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
162166

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
167+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202402-2/docs/enterprise/registry/publish-modules.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161163
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
162164

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
166+
167+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202404-1/docs/enterprise/registry/publish-modules.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161163
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
162164

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
166+
167+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202404-2/docs/enterprise/registry/publish-modules.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161163
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
162164

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
166+
167+
<!-- END: TFC:only name:generate-module-test -->

content/terraform-enterprise/v202405-1/docs/enterprise/registry/publish-modules.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,14 @@ Instead, you can share modules across organizations by sharing the underlying VC
154154

155155
Terraform Enterprise administrators can configure [module sharing](/terraform/enterprise/admin/application/registry-sharing) to allow organizations to use private modules from other organizations.
156156

157-
## Generating Module Tests (Beta)
157+
<!-- BEGIN: TFC:only name:generate-module-test -->
158+
159+
## Generate module tests
158160

159161
You can generate and run generated tests for your module with [the `terraform test` command](/terraform/cli/commands/test).
160162

161163
Before you can generate tests for a module, it must have at least one version published. Tests can only be generated once per module and are intended to be reviewed by the module's authors before being checked into version control and maintained with the rest of the module's content. If the module's configuration files exceed 128KB in total size, HCP Terraform will not be able to generate tests for that module.
162164

163-
You must have [permission to manage registry modules](/terraform/enterprise/users-teams-organizations/permissions#manage-private-registry) and [permission to manage module test generation](/terraform/enterprise/users-teams-organizations/permissions#manage-module-test-generation-beta) to generate tests.
165+
You must have [permission to manage registry modules](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-private-registry) and [permission to manage module test generation](/terraform/cloud-docs/users-teams-organizations/permissions/organization#manage-module-test-generation-beta) to generate tests.
166+
167+
<!-- END: TFC:only name:generate-module-test -->

0 commit comments

Comments
 (0)