A terraform module to create a new repository in github and link a google service account to it.
ToDo
Name | Version |
---|---|
terraform | >= 0.12.28 |
github | >= 2.9.0 |
>= 3.28.0 | |
template | >= 2.1.2 |
Name | Version |
---|---|
github | >= 2.9.0 |
>= 3.28.0 | |
template | >= 2.1.2 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
bucket | The full qualified name of the bucket to store the terraform states | string |
n/a | yes |
description | The description of the repository to create | string |
"" |
no |
domain | The domain used for templating. | string |
n/a | yes |
github_owner | The github organization or user under which the repository will be created | string |
n/a | yes |
github_template_owner | The github organization or user that hosts the template for this repository | string |
n/a | yes |
github_template_repository | The github repository name that hosts the templates | string |
n/a | yes |
github_token | The github token to authenticate against the Github API | string |
n/a | yes |
name | The name of the repository to create | string |
n/a | yes |
org_id | The organization id under which the project was created. | string |
n/a | yes |
project_id | The project id for which the new repository shall be created. | string |
n/a | yes |
service_account_email | The service account that github actions will use within the repository | string |
n/a | yes |
Name | Description |
---|---|
repository_html_url | The HTML Url of the repository |
repository_http_clone_url | The HTML Clone Url of the repository |
repository_name | The full name of the created repository in the form owner/repository_name |
I am using TFLint in version v0.17.0
to lint the terraform files for basic stuff.
The implemented and activated rules can be found in the file .tflint.hcl. Documentation about those rules can be
found here.
TFLint currently supports AWS resources and terraform resources out of the box. Google Cloud support is being worked on. Contributions are welcome here.