Skip to content

Commit

Permalink
Small README fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzheiber committed Jul 8, 2022
1 parent c81b2e0 commit d4eb12e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ No modules.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| <a name="input_github_actions_oidc_url"></a> [github\_actions\_oidc\_url](#input\_github\_actions\_oidc\_url) | The URL to use for the OIDC handshake | `string` | `"https://token.actions.githubusercontent.com"` | no |
| <a name="input_github_repositories"></a> [github\_repositories](#input\_github\_repositories) | A list of GitHub repositories the OIDC provider should authenticate against. The format is <org/user>/<repository-name> | `set(string)` | `[]` | no |
| <a name="input_github_repositories"></a> [github\_repositories](#input\_github\_repositories) | A list of GitHub repositories the OIDC provider should authenticate against. The format is org/user/repository-name | `set(string)` | `[]` | no |
| <a name="input_role_names"></a> [role\_names](#input\_role\_names) | The set of names for roles that GitHub Actions will be able to assume | `set(string)` | `[]` | no |
| <a name="input_role_path"></a> [role\_path](#input\_role\_path) | The path the created roles are going to live under | `string` | `"/"` | no |
| <a name="input_tags"></a> [tags](#input\_tags) | A key > value map of tags to associate with the resources that are being created | `map(string)` | `{}` | no |
Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ variable "github_actions_oidc_url" {

variable "github_repositories" {
type = set(string)
description = "A list of GitHub repositories the OIDC provider should authenticate against. The format is <org/user>/<repository-name>"
description = "A list of GitHub repositories the OIDC provider should authenticate against. The format is org/user/repository-name"
default = []

validation {
condition = alltrue([for repo in var.github_repositories : substr(repo, 0, 4) != "http"])
error_message = "The repositories must not have a http(s):// prefix. The format is <org/user>/<repository-name>."
error_message = "The repositories must not have a http(s):// prefix. The format is org/user/repository-name."
}
}

Expand Down

0 comments on commit d4eb12e

Please sign in to comment.