Skip to content

Commit

Permalink
adds repositories for Arduino HTTP Server, Logger, and Filesystem mod…
Browse files Browse the repository at this point in the history
…ules
  • Loading branch information
ksatirli committed Aug 20, 2024
1 parent b311bcf commit cd04545
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 2 deletions.
1 change: 1 addition & 0 deletions .terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ For more information, including detailed usage guidelines, see the [Terraform do
|------|-------------|------|:--------:|
| github_owner | This is the target GitHub organization or individual user account to manage. | `string` | yes |
| github_token | A GitHub OAuth / Personal Access Token. | `string` | yes |
| tfe_organization | Name of HCP Terraform Organization. | `string` | yes |
| tfe_team_token_viewers | HCP Terraform `viewers` Team Token. | `string` | yes |
| github_organization_email | E-mail address to use for GitHub Organization. | `string` | no |
| issue_labels_hashicorp | HashiCorp Product-specific Issue Labels. | <pre>list(object({<br> color = string<br> description = optional(string)<br> name = string<br> }))</pre> | no |
Expand Down
4 changes: 2 additions & 2 deletions issue_labels.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TODO: enable when https://github.com/integrations/terraform-provider-github/pull/2052 is merged
## HashiCorp Product-specific Issue Labels are assigned to all Terraform repositories
## This can be solved by either using a nested `for_each`, or by modularizing the code
#module "hashicorp_issue_labels" {
# module "hashicorp_issue_labels" {
# source = "./modules/github-issue-labels"
#
# # see https://developer.hashicorp.com/terraform/language/meta-arguments/for_each
Expand All @@ -15,4 +15,4 @@
#
# issue_labels = var.issue_labels_hashicorp
# repository = each.value.repository.github_repository.name
#}
# }
64 changes: 64 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,65 @@ variable "repositories" {
allow_rebase_merge = false
delete_branch_on_merge = true
},
{
name = "arduino-filesystem"
description = "Arduino Filesystem Module"
homepage_url = "https://github.com/workloads/arduino-filesystem"
visibility = "public"
has_issues = true
has_wiki = false

topics = [
"arduino",
"esp32",
"filesystem",
"littlefs",
]

allow_merge_commit = false
allow_squash_merge = true
allow_rebase_merge = false
delete_branch_on_merge = true
},
{
name = "arduino-httpserver"
description = "Arduino HTTP Server with OAS3 support"
homepage_url = "https://github.com/workloads/arduino-httpserver"
visibility = "public"
has_issues = true
has_wiki = false

topics = [
"arduino",
"esp32",
"httpserver",
"openapi",
]

allow_merge_commit = false
allow_squash_merge = true
allow_rebase_merge = false
delete_branch_on_merge = true
},
{
name = "arduino-logger"
description = "Arduino Logging Module"
homepage_url = "https://github.com/workloads/arduino-logger"
visibility = "public"
has_issues = true
has_wiki = false

topics = [
"arduino",
"esp32",
"logging",
]

allow_merge_commit = false
allow_squash_merge = true
allow_rebase_merge = false
delete_branch_on_merge = true
},
{
name = "assets"
description = "🔒 (non-public) Design and Content Assets"
Expand Down Expand Up @@ -837,6 +896,11 @@ variable "terraform_repositories" {
]
}

variable "tfe_organization" {
type = string
description = "Name of HCP Terraform Organization."
}

variable "tfe_team_token_viewers" {
type = string
description = "HCP Terraform `viewers` Team Token."
Expand Down

0 comments on commit cd04545

Please sign in to comment.