https://github.com/happypathway/terraform-tfe-module
Terraform Module
https://github.com/happypathway/terraform-tfe-module
module terraform terraform-managed
Last synced: over 1 year ago
JSON representation
Terraform Module
- Host: GitHub
- URL: https://github.com/happypathway/terraform-tfe-module
- Owner: HappyPathway
- Created: 2024-05-10T17:16:49.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-14T20:55:11.000Z (over 1 year ago)
- Last Synced: 2025-02-14T21:32:52.633Z (over 1 year ago)
- Topics: module, terraform, terraform-managed
- Language: HCL
- Homepage:
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
[](https://github.com/HappyPathway/terraform-tfe-module/actions/workflows/terraform.yaml)
[](https://github.com/HappyPathway/terraform-tfe-module/actions/workflows/modtest-default.yaml)
## Requirements
No requirements.
## Providers
| Name | Version |
|------|---------|
| [github](#provider\_github) | 6.5.0 |
| [tfe](#provider\_tfe) | 0.63.0 |
## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [github_actions_secret.secret](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/actions_secret) | resource |
| [github_actions_variable.variable](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/actions_variable) | resource |
| [github_branch_default.default_main_branch](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/branch_default) | resource |
| [github_branch_protection.main](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/branch_protection) | resource |
| [github_repository.repo](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/repository) | resource |
| [github_repository_file.action_badges](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/repository_file) | resource |
| [github_repository_file.codeowners](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/repository_file) | resource |
| [github_repository_file.extra_files](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/repository_file) | resource |
| [github_repository_file.github_actions](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/repository_file) | resource |
| [github_repository_file.modtest_target_workspaces](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/repository_file) | resource |
| [github_team_repository.admin](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/team_repository) | resource |
| [github_team_repository.admins](https://registry.terraform.io/providers/hashicorp/github/latest/docs/resources/team_repository) | resource |
| [tfe_registry_module.public-registry-module](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/registry_module) | resource |
| [tfe_registry_module.registry-module](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/registry_module) | resource |
| [github_organization_teams.root_teams](https://registry.terraform.io/providers/hashicorp/github/latest/docs/data-sources/organization_teams) | data source |
| [github_repository.repo](https://registry.terraform.io/providers/hashicorp/github/latest/docs/data-sources/repository) | data source |
| [tfe_oauth_client.client](https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/oauth_client) | data source |
## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [additional\_codeowners](#input\_additional\_codeowners) | Enable adding of Codeowner Teams | `list(any)` | `[]` | no |
| [create\_registry\_module](#input\_create\_registry\_module) | n/a | `bool` | `true` | no |
| [enforce\_prs](#input\_enforce\_prs) | n/a | `bool` | `true` | no |
| [extra\_files](#input\_extra\_files) | Extra Files |
list(object({
path = string,
content = string
})) | `[]` | no |
| [github\_actions](#input\_github\_actions) | n/a | object({
username = string
email = string
org = string
terraform_version = optional(string, "1.9.1")
terraform_api = optional(string, "app.terraform.io")
token = optional(string)
tfe_token = optional(string)
server = optional(string, "github.com")
}) | `null` | no |
| [github\_allow\_merge\_commit](#input\_github\_allow\_merge\_commit) | n/a | `bool` | `false` | no |
| [github\_allow\_rebase\_merge](#input\_github\_allow\_rebase\_merge) | n/a | `bool` | `false` | no |
| [github\_allow\_squash\_merge](#input\_github\_allow\_squash\_merge) | n/a | `bool` | `true` | no |
| [github\_auto\_init](#input\_github\_auto\_init) | n/a | `bool` | `true` | no |
| [github\_codeowners\_team](#input\_github\_codeowners\_team) | n/a | `string` | `"terraform-reviewers"` | no |
| [github\_create\_repo](#input\_github\_create\_repo) | Should we create the new repo, or does it already exist? | `bool` | `true` | no |
| [github\_default\_branch](#input\_github\_default\_branch) | n/a | `string` | `"main"` | no |
| [github\_delete\_branch\_on\_merge](#input\_github\_delete\_branch\_on\_merge) | n/a | `bool` | `true` | no |
| [github\_dismiss\_stale\_reviews](#input\_github\_dismiss\_stale\_reviews) | n/a | `bool` | `true` | no |
| [github\_enforce\_admins\_branch\_protection](#input\_github\_enforce\_admins\_branch\_protection) | n/a | `bool` | `true` | no |
| [github\_has\_issues](#input\_github\_has\_issues) | n/a | `bool` | `false` | no |
| [github\_has\_projects](#input\_github\_has\_projects) | n/a | `bool` | `true` | no |
| [github\_has\_wiki](#input\_github\_has\_wiki) | n/a | `bool` | `true` | no |
| [github\_is\_private](#input\_github\_is\_private) | n/a | `bool` | `true` | no |
| [github\_org\_teams](#input\_github\_org\_teams) | provide module with list of teams so that module does not need to look them up | `list(any)` | `null` | no |
| [github\_repo\_description](#input\_github\_repo\_description) | n/a | `string` | `"Terraform Module"` | no |
| [github\_repo\_topics](#input\_github\_repo\_topics) | Github Repo Topics | `list` | [
"terraform",
"module",
"terraform-managed"
]
| no |
| [github\_require\_code\_owner\_reviews](#input\_github\_require\_code\_owner\_reviews) | n/a | `bool` | `true` | no |
| [github\_required\_approving\_review\_count](#input\_github\_required\_approving\_review\_count) | n/a | `number` | `1` | no |
| [is\_template](#input\_is\_template) | n/a | `bool` | `false` | no |
| [mod\_source](#input\_mod\_source) | n/a | `string` | `null` | no |
| [modtest](#input\_modtest) | n/a | `bool` | `false` | no |
| [name](#input\_name) | Name of the terraform workspace and optionally github repo | `any` | n/a | yes |
| [oauth\_service\_provider](#input\_oauth\_service\_provider) | n/a | `string` | `"github"` | no |
| [org\_admin\_user](#input\_org\_admin\_user) | n/a | `string` | `null` | no |
| [organization](#input\_organization) | n/a | `string` | `"roknsound"` | no |
| [public\_module](#input\_public\_module) | Is this a public module? | `bool` | `false` | no |
| [public\_organization](#input\_public\_organization) | Public Organization | `any` | `null` | no |
| [pull\_request\_bypassers](#input\_pull\_request\_bypassers) | n/a | `list(any)` | `[]` | no |
| [secrets](#input\_secrets) | Github Action Secrets | list(object({
name = string,
value = string
})) | `[]` | no |
| [target\_workspaces](#input\_target\_workspaces) | n/a | list(object({
workspace_repo = string
workspace_branch = string
workspace = string
repo_clone_type = string
})) | `[]` | no |
| [template\_repo](#input\_template\_repo) | n/a | `any` | `null` | no |
| [template\_repo\_org](#input\_template\_repo\_org) | n/a | `string` | `"HappyPathway"` | no |
| [use\_tags](#input\_use\_tags) | Will new tags trigger new module versions | `bool` | `true` | no |
| [vars](#input\_vars) | Github Action Vars | list(object({
name = string,
value = string
})) | `[]` | no |
## Outputs
| Name | Description |
|------|-------------|
| [github\_repo](#output\_github\_repo) | n/a |