Skip to content

Commit

Permalink
Adds descriptions to repos variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lorengordon committed Jul 20, 2020
1 parent 5ef24c0 commit a25d114
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ No provider.
|------|-------------|------|---------|:--------:|
| bucket\_name | S3 bucket where salt repo will be mirrored | `string` | n/a | yes |
| repo\_endpoint | HTTP/S endpoint URL that hosts the yum repos; used with the baseurl in the yum .repo definitions | `string` | n/a | yes |
| repos | n/a | <pre>list(object({<br> repo_prefix = string<br> salt_s3_endpoint = string<br> salt_versions = list(string)<br> yum_prefix = string<br> }))</pre> | `[]` | no |
| repos | Schema list of repo objects. `repo_prefix` is the S3 key prefix where the repo will be mirrored. `salt_s3_endpoint` is the upstream s3 endpoint hosting the repos. `salt_versions` is the list of salt versions to mirror. `yum_prefix` is the S3 key prefix for the yum repo definition files. | <pre>list(object({<br> repo_prefix = string<br> salt_s3_endpoint = string<br> salt_versions = list(string)<br> yum_prefix = string<br> }))</pre> | n/a | yes |

## Outputs

Expand Down
2 changes: 1 addition & 1 deletion modules/defs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ No requirements.
|------|-------------|------|---------|:--------:|
| bucket\_name | n/a | `string` | n/a | yes |
| repo\_endpoint | n/a | `string` | n/a | yes |
| repos | n/a | <pre>list(object({<br> repo_prefix = string<br> salt_versions = list(string)<br> yum_prefix = string<br> }))</pre> | `[]` | no |
| repos | Schema list of repo objects. `repo_prefix` is the S3 key prefix where the repo is located. `salt_versions` is the list of salt versions for which repo definitions will be generated. `yum_prefix` is the S3 key prefix for the yum repo definition files. | <pre>list(object({<br> repo_prefix = string<br> salt_versions = list(string)<br> yum_prefix = string<br> }))</pre> | n/a | yes |

## Outputs

Expand Down
2 changes: 1 addition & 1 deletion modules/defs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ variable "repo_endpoint" {
}

variable "repos" {
description = "Schema list of repo objects. `repo_prefix` is the S3 key prefix where the repo is located. `salt_versions` is the list of salt versions for which repo definitions will be generated. `yum_prefix` is the S3 key prefix for the yum repo definition files."
type = list(object({
repo_prefix = string
salt_versions = list(string)
yum_prefix = string
}))
default = []
}
2 changes: 1 addition & 1 deletion modules/repo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ No requirements.
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| bucket\_name | n/a | `string` | n/a | yes |
| repos | n/a | <pre>list(object({<br> repo_prefix = string<br> salt_s3_endpoint = string<br> salt_versions = list(string)<br> }))</pre> | `[]` | no |
| repos | Schema list of repo objects. `repo_prefix` is the S3 key prefix where the repo will be mirrored. `salt_s3_endpoint` is the upstream s3 endpoint hosting the repos. `salt_versions` is the list of salt versions to mirror. | <pre>list(object({<br> repo_prefix = string<br> salt_s3_endpoint = string<br> salt_versions = list(string)<br> }))</pre> | n/a | yes |

## Outputs

Expand Down
2 changes: 1 addition & 1 deletion modules/repo/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ variable "bucket_name" {
}

variable "repos" {
description = "Schema list of repo objects. `repo_prefix` is the S3 key prefix where the repo will be mirrored. `salt_s3_endpoint` is the upstream s3 endpoint hosting the repos. `salt_versions` is the list of salt versions to mirror."
type = list(object({
repo_prefix = string
salt_s3_endpoint = string
salt_versions = list(string)
}))
default = []
}
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ variable "repo_endpoint" {
}

variable "repos" {
description = "Schema list of repo objects. `repo_prefix` is the S3 key prefix where the repo will be mirrored. `salt_s3_endpoint` is the upstream s3 endpoint hosting the repos. `salt_versions` is the list of salt versions to mirror. `yum_prefix` is the S3 key prefix for the yum repo definition files."
type = list(object({
repo_prefix = string
salt_s3_endpoint = string
salt_versions = list(string)
yum_prefix = string
}))
default = []
}

0 comments on commit a25d114

Please sign in to comment.