terraform-github-secrets
Terraform module to provision an github secrets.
Requirements
This is a list of plugins that need to be installed previously to enjoy all the goodies of this configuration:
Usage
How to use this project
module "main" {
source = "hadenlabs/secrets/github"
version = "0.1.1
providers = {
github = github
}
visibility = "all"
secrets = {
GH_TOKEN = "token"
}
}
Full working examples can be found in examples folder.
Examples
common
module "main" {
source = "hadenlabs/secrets/github"
version = "0.1.1
providers = {
github = github
}
visibility = "all"
secrets = {
GH_TOKEN = "token"
}
}
Requirements
Name | Version |
---|---|
terraform | >= 0.13 |
github | >=4.5.0 |
Providers
Name | Version |
---|---|
github | >=4.5.0 |
Modules
No modules.
Resources
Name | Type |
---|---|
github_actions_organization_secret.this | resource |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
secrets | secrets for repository | map(any) |
n/a | yes |
visibility | The visibility of the secrets. | string |
n/a | yes |
Outputs
Name | Description |
---|---|
secret | output instance github actions secrets organization |
secrets | List of secrets available. |
Help
Got a question?
File a GitHub issue.
Contributing
See Contributing.
Module Versioning
This Module follows the principles of Semantic Versioning (SemVer).
Using the given version number of MAJOR.MINOR.PATCH
, we apply the following constructs:
- Use the
MAJOR
version for incompatible changes. - Use the
MINOR
version when adding functionality in a backwards compatible manner. - Use the
PATCH
version when introducing backwards compatible bug fixes.
0.0.z
and 0.y.z
version
Backwards compatibility in - In the context of initial development, backwards compatibility in versions
0.0.z
is not guaranteed whenz
is increased. (Initial development) - In the context of pre-release, backwards compatibility in versions
0.y.z
is not guaranteed wheny
is increased. (Pre-release)
Copyright
Copyright © 2018-2022 Hadenlabs
Trademarks
All other trademarks referenced herein are the property of their respective owners.
License
The code and styles are licensed under the LGPL-3.0 license See project license..