Update examples and test pipeline to fix build. Add additional documentation. Update terraform docs. (#112) Some checks failed Setup Terraform / Terraform Versions (push) Failing after 13m22s
Some checks failed
Setup Terraform / Terraform Versions (push) Failing after 13m22s
PR to fix the build again before proposing changes to enable #111. This is my first time contributing to a Terraform Provider, any thoughts or feedback will be greatly appreciated! No functionality is changed, only the examples, test pipelines and docs, so I did not increment the version of the provider. I am still a bit unsure about the lifecycle management of Terraform Providers. Should it be incremented anyway? Co-authored-by: Boris van der Donck <b.vanderdonck@kadaster.nl> Reviewed-on: #112 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.com> Co-authored-by: BravoDeltaBD <bravodeltabd@noreply.gitea.com> Co-committed-by: BravoDeltaBD <bravodeltabd@noreply.gitea.com>
This commit was merged in pull request #112.
This commit is contained in:
@@ -16,8 +16,9 @@ jobs: | ||||
| ||||
- name: Terraform fmt | ||||
id: fmt | ||||
run: terraform fmt -check | ||||
run: terraform fmt -check -diff -recursive | ||||
continue-on-error: true | ||||
working-directory: examples | ||||
| ||||
- name: Terraform Init | ||||
id: init | ||||
| ||||
60 CONTRIBUTING.md Normal file
60
CONTRIBUTING.md Normal file @@ -0,0 +1,60 @@ | ||||
# Contributing to the Gitea Terraform Provider | ||||
| ||||
Thank you for your interest in contributing to the Gitea Terraform Provider! This document outlines the basic process to contribute effectively. | ||||
| ||||
## Getting Started | ||||
| ||||
1. **Fork the repository** on Gitea. | ||||
2. **Clone your fork** locally. | ||||
3. **Create a branch** for your changes. | ||||
| ||||
| ||||
See also [Hashicorp's Terraform Provider tutorial](https://developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-provider) | ||||
| ||||
## Testing your changes | ||||
| ||||
### Running a local Gitea instance | ||||
| ||||
```bash | ||||
docker run -p 3000:3000 gitea/gitea:latest-rootless | ||||
``` | ||||
| ||||
Visit http://localhost:3000 and go through the setup: | ||||
1. Url: http://localhost:3000 | ||||
2. Username: gitea_admin | ||||
3. Password: gitea_admin | ||||
4. Email: admin@gitea.local | ||||
| ||||
### Using the local version of the Provider | ||||
This involves 2 main steps: | ||||
- `go install .` to install the provider binary. | ||||
- Use .terraformrc file to point to that binary instead of the terraform registry. | ||||
| ||||
See Terraform docs on [development overrides for provider developers](https://developer.hashicorp.com/terraform/cli/config/config-file#development-overrides-for-provider-developers) | ||||
| ||||
Also see [this tutorial section](https://developer.hashicorp.com/terraform/tutorials/providers-plugin-framework/providers-plugin-framework-provider#prepare-terraform-for-local-provider-install) for a bit more context. | ||||
| ||||
Example linux `~/.terraformrc` file: | ||||
``` | ||||
provider_installation { | ||||
| ||||
dev_overrides { | ||||
"go-gitea/gitea" = "/home/<username>/go/bin" | ||||
} | ||||
| ||||
# For all other providers, install them directly from their origin provider | ||||
# registries as normal. If you omit this, Terraform will _only_ use | ||||
# the dev_overrides block, and so no other providers will be available. | ||||
direct {} | ||||
} | ||||
``` | ||||
| ||||
### Applying the example module | ||||
| ||||
With the local provider and the local Gitea instance set up properly as per above chapters, the example module can be applied: | ||||
| ||||
- navigate into `examples/` | ||||
- run terraform commands | ||||
| ||||
| ||||
| ||||
@@ -16,14 +16,14 @@ description: |- | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
source = "go-gitea/gitea" | ||||
version = "0.6.0" | ||||
} | ||||
} | ||||
} | ||||
| ||||
provider "gitea" { | ||||
base_url = var.gitea_url # optionally use GITEA_BASE_URL env var | ||||
base_url = var.gitea_url # optionally use GITEA_BASE_URL env var | ||||
token = var.gitea_token # optionally use GITEA_TOKEN env var | ||||
| ||||
# Username/Password authentication is mutally exclusive with token authentication | ||||
@@ -31,11 +31,11 @@ provider "gitea" { | ||||
# password = var.password # optionally use GITEA_PASSWORD env var | ||||
| ||||
# A file containing the ca certificate to use in case ssl certificate is not from a standard chain | ||||
cacert_file = var.cacert_file | ||||
| ||||
cacert_file = var.cacert_file | ||||
| ||||
# If you are running a gitea instance with self signed TLS certificates | ||||
# and you want to disable certificate validation you can deactivate it with this flag | ||||
insecure = false | ||||
insecure = false | ||||
} | ||||
``` | ||||
| ||||
| ||||
@@ -21,19 +21,19 @@ if you want to procede, you need to enable server side hooks as stated [here](ht | ||||
## Example Usage | ||||
| ||||
```terraform | ||||
resource "gitea_org" "test_org" { | ||||
name = "test-org" | ||||
resource "gitea_org" "example" { | ||||
name = "git-hook-example-org" | ||||
} | ||||
| ||||
resource "gitea_repository" "org_repo" { | ||||
username = gitea_org.test_org.name | ||||
name = "org-test-repo" | ||||
resource "gitea_repository" "example" { | ||||
username = gitea_org.example.name | ||||
name = "git-hook-example-repo" | ||||
} | ||||
| ||||
resource "gitea_git_hook" "org_repo_post_receive" { | ||||
name = "post-receive" | ||||
user = gitea_org.test_org.name | ||||
repo = gitea_repository.org_repo.name | ||||
user = gitea_org.example.name | ||||
repo = gitea_repository.example.name | ||||
content = file("${path.module}/post-receive.sh") | ||||
} | ||||
``` | ||||
| ||||
@@ -16,13 +16,13 @@ Organisations are a way to group repositories and abstract permission management | ||||
## Example Usage | ||||
| ||||
```terraform | ||||
resource "gitea_org" "test_org" { | ||||
name = "test-org" | ||||
resource "gitea_org" "example" { | ||||
name = "org-example-org" | ||||
} | ||||
| ||||
resource "gitea_repository" "org_repo" { | ||||
username = gitea_org.test_org.name | ||||
name = "org-test-repo" | ||||
resource "gitea_repository" "example" { | ||||
username = gitea_org.example.name | ||||
name = "org-example-repo" | ||||
} | ||||
``` | ||||
| ||||
| ||||
@@ -14,18 +14,17 @@ description: |- | ||||
| ||||
```terraform | ||||
resource "gitea_user" "test" { | ||||
username = "test" | ||||
login_name = "test" | ||||
username = "public-key-test" | ||||
login_name = "public-key-test" | ||||
password = "Geheim1!" | ||||
email = "test@user.dev" | ||||
email = "public-key-test@user.dev" | ||||
must_change_password = false | ||||
} | ||||
| ||||
| ||||
resource "gitea_public_key" "test_user_key" { | ||||
title = "test" | ||||
key = file("${path.module}/id_ed25519.pub") | ||||
username = gitea_user.test.username | ||||
title = "public-key-test" | ||||
key = file("${path.module}/id_ed25519.pub") | ||||
username = gitea_user.test.username | ||||
} | ||||
``` | ||||
| ||||
| ||||
@@ -21,9 +21,16 @@ Repository migrations have some properties that are not available to regular rep | ||||
## Example Usage | ||||
| ||||
```terraform | ||||
resource "gitea_user" "example" { | ||||
username = "repo_example_user" | ||||
login_name = "repo_example_user" | ||||
password = "Geheim1!" | ||||
email = "repo_example_user@user.dev" | ||||
} | ||||
| ||||
resource "gitea_repository" "test" { | ||||
username = "lerentis" | ||||
name = "test" | ||||
username = gitea_user.example.username | ||||
name = "repository-test" | ||||
private = true | ||||
issue_labels = "Default" | ||||
license = "MIT" | ||||
@@ -31,23 +38,35 @@ resource "gitea_repository" "test" { | ||||
} | ||||
| ||||
resource "gitea_repository" "mirror" { | ||||
username = "lerentis" | ||||
username = gitea_user.example.username | ||||
name = "terraform-provider-gitea-mirror" | ||||
description = "Mirror of Terraform Provider" | ||||
mirror = true | ||||
migration_clone_addresse = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git" | ||||
migration_service = "gitea" | ||||
migration_service_auth_token = var.gitea_mirror_token | ||||
| ||||
depends_on = [gitea_user.example] | ||||
} | ||||
| ||||
resource "gitea_repository" "clone" { | ||||
username = "lerentis" | ||||
username = gitea_user.example.username | ||||
name = "terraform-provider-gitea-clone" | ||||
description = "Clone of Terraform Provider" | ||||
mirror = false | ||||
migration_clone_address = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git" | ||||
migration_service = "gitea" | ||||
migration_service_auth_token = var.gitea_clone_token | ||||
| ||||
depends_on = [gitea_user.example] | ||||
} | ||||
| ||||
variable "gitea_mirror_token" { | ||||
default = "dummy-token" | ||||
} | ||||
| ||||
variable "gitea_clone_token" { | ||||
default = "dummy-token" | ||||
} | ||||
``` | ||||
| ||||
| ||||
28 docs/resources/repository_actions_secret.md Normal file
28
docs/resources/repository_actions_secret.md Normal file @@ -0,0 +1,28 @@ | ||||
--- | ||||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||||
page_title: "gitea_repository_actions_secret Resource - terraform-provider-gitea" | ||||
subcategory: "" | ||||
description: |- | ||||
| ||||
--- | ||||
| ||||
# gitea_repository_actions_secret (Resource) | ||||
| ||||
| ||||
| ||||
| ||||
| ||||
<!-- schema generated by tfplugindocs --> | ||||
## Schema | ||||
| ||||
### Required | ||||
| ||||
- `repository` (String) Name of the repository. | ||||
- `repository_owner` (String) Owner of the repository. | ||||
- `secret_name` (String) Name of the secret. | ||||
- `secret_value` (String, Sensitive) Value of the secret. | ||||
| ||||
### Read-Only | ||||
| ||||
- `created_at` (String) Date of 'actions_secret' creation. | ||||
- `id` (String) The ID of this resource. | ||||
27 docs/resources/repository_actions_variable.md Normal file
27
docs/resources/repository_actions_variable.md Normal file @@ -0,0 +1,27 @@ | ||||
--- | ||||
# generated by https://github.com/hashicorp/terraform-plugin-docs | ||||
page_title: "gitea_repository_actions_variable Resource - terraform-provider-gitea" | ||||
subcategory: "" | ||||
description: |- | ||||
| ||||
--- | ||||
| ||||
# gitea_repository_actions_variable (Resource) | ||||
| ||||
| ||||
| ||||
| ||||
| ||||
<!-- schema generated by tfplugindocs --> | ||||
## Schema | ||||
| ||||
### Required | ||||
| ||||
- `repository` (String) Name of the repository. | ||||
- `repository_owner` (String) Owner of the repository. | ||||
- `value` (String) Value of the variable. | ||||
- `variable_name` (String) Name of the variable. | ||||
| ||||
### Read-Only | ||||
| ||||
- `id` (String) The ID of this resource. | ||||
@@ -16,30 +16,29 @@ Every key needs a unique name and unique key, i.e. no key can be added twice to | ||||
## Example Usage | ||||
| ||||
```terraform | ||||
terraform { | ||||
required_providers { | ||||
tls = { | ||||
source = "hashicorp/tls" | ||||
version = "4.0.4" | ||||
} | ||||
} | ||||
resource "tls_private_key" "example" { | ||||
algorithm = "RSA" | ||||
rsa_bits = 4096 | ||||
} | ||||
| ||||
resource "tls_private_key" "example" { | ||||
type = "RSA" | ||||
rsa_bits = 4096 | ||||
resource "gitea_user" "example" { | ||||
username = "repo_key_example_user" | ||||
login_name = "repo_key_example_user" | ||||
password = "Geheim1!" | ||||
email = "repo_key_example_user@user.dev" | ||||
} | ||||
| ||||
resource "gitea_repository" "example" { | ||||
name = "example" | ||||
private = true | ||||
name = "example" | ||||
username = gitea_user.example.username | ||||
private = true | ||||
} | ||||
| ||||
resource "gitea_repository_key" "example" { | ||||
repository = gitea_repository.example.id | ||||
title = "Example Deploy Key" | ||||
read_only = true | ||||
key = tls_private_key.example.public_key_openssh | ||||
title = "Example Deploy Key" | ||||
read_only = true | ||||
key = tls_private_key.example.public_key_openssh | ||||
} | ||||
``` | ||||
| ||||
| ||||
@@ -14,31 +14,19 @@ description: |- | ||||
| ||||
```terraform | ||||
resource "gitea_org" "test_org" { | ||||
name = "test-org" | ||||
name = "team-example-org" | ||||
} | ||||
| ||||
resource "gitea_user" "test" { | ||||
username = "test" | ||||
login_name = "test" | ||||
password = "Geheim1!" | ||||
email = "test@user.dev" | ||||
must_change_password = false | ||||
admin = true | ||||
} | ||||
| ||||
| ||||
resource "gitea_team" "test_team" { | ||||
name = "Devs" | ||||
organisation = gitea_org.test_org.name | ||||
description = "Devs of Test Org" | ||||
permission = "write" | ||||
members = [gitea_user.test.username] | ||||
} | ||||
| ||||
| ||||
resource "gitea_repository" "test" { | ||||
username = gitea_org.test_org.name | ||||
name = "test" | ||||
name = "team-example-repo" | ||||
private = true | ||||
issue_labels = "Default" | ||||
license = "MIT" | ||||
@@ -46,11 +34,10 @@ resource "gitea_repository" "test" { | ||||
} | ||||
| ||||
resource "gitea_team" "test_team_restricted" { | ||||
name = "Restricted Devs" | ||||
name = "Devs-Restricted" | ||||
organisation = gitea_org.test_org.name | ||||
description = "Restricted Devs of Test Org" | ||||
permission = "write" | ||||
members = [gitea_user.test.username] | ||||
include_all_repositories = false | ||||
repositories = [gitea_repository.test.name] | ||||
} | ||||
| ||||
@@ -14,19 +14,19 @@ description: |- | ||||
| ||||
```terraform | ||||
resource "gitea_org" "example_org" { | ||||
name = "m_example_org" | ||||
name = "members_example_org" | ||||
} | ||||
| ||||
resource "gitea_user" "example_users" { | ||||
count = 5 | ||||
username = "m_example_user_${count.index}" | ||||
login_name = "m_example_user_${count.index}" | ||||
username = "members_example_user_${count.index}" | ||||
login_name = "members_example_user_${count.index}" | ||||
password = "Geheim1!" | ||||
email = "m_example_user_${count.index}@user.dev" | ||||
email = "members_example_user_${count.index}@user.dev" | ||||
} | ||||
| ||||
resource "gitea_team" "example_team" { | ||||
name = "m_example_team" | ||||
name = "members_example_team" | ||||
organisation = gitea_org.example_org.name | ||||
description = "An example of team membership" | ||||
permission = "read" | ||||
| ||||
@@ -14,19 +14,19 @@ description: |- | ||||
| ||||
```terraform | ||||
resource "gitea_org" "example_org" { | ||||
name = "m_example_org" | ||||
name = "membership_example_org" | ||||
} | ||||
| ||||
resource "gitea_user" "example_users" { | ||||
count = 5 | ||||
username = "m_example_user_${count.index}" | ||||
login_name = "m_example_user_${count.index}" | ||||
username = "membership_example_user_${count.index}" | ||||
login_name = "membership_example_user_${count.index}" | ||||
password = "Geheim1!" | ||||
email = "m_example_user_${count.index}@user.dev" | ||||
email = "membership_example_user_${count.index}@user.dev" | ||||
} | ||||
| ||||
resource "gitea_team" "example_team" { | ||||
name = "m_example_team" | ||||
name = "membership_example_team" | ||||
organisation = gitea_org.example_org.name | ||||
description = "An example team for membership testing" | ||||
permission = "read" | ||||
| ||||
@@ -23,12 +23,12 @@ Tokens will be stored in the terraform state! | ||||
## Example Usage | ||||
| ||||
```terraform | ||||
provider "gitea" { | ||||
base_url = var.gitea_url | ||||
# Token Auth can not be used with this resource | ||||
username = var.gitea_username | ||||
password = var.gitea_password | ||||
} | ||||
### !!! Token Auth can not be used with this resource | ||||
# provider "gitea" { | ||||
# base_url = var.gitea_url | ||||
# username = var.gitea_username | ||||
# password = var.gitea_password | ||||
# } | ||||
| ||||
// The token owner is the creator of the token | ||||
resource "gitea_token" "test_token" { | ||||
| ||||
@@ -17,10 +17,10 @@ If you are using OIDC or other kinds of authentication mechanisms you can still | ||||
| ||||
```terraform | ||||
resource "gitea_user" "test" { | ||||
username = "test" | ||||
login_name = "test" | ||||
username = "user-test" | ||||
login_name = "user-test" | ||||
password = "Geheim1!" | ||||
email = "test@user.dev" | ||||
email = "user-test@user.dev" | ||||
must_change_password = false | ||||
} | ||||
``` | ||||
| ||||
5 examples/README.md Normal file
5
examples/README.md Normal file @@ -0,0 +1,5 @@ | ||||
# Examples | ||||
| ||||
The examples in this folder serve multiple purposes. Most importantly: | ||||
- To provide examples used by the tfplugindocs cli tool to generate documentation (in the `docs/` folder). [These filepaths](https://github.com/hashicorp/terraform-plugin-docs/blob/main/README.md#conventional-paths) are used in this way. | ||||
- To provide a central example module (in the root of `examples/`) that in turn uses the valid example modules in `resources/`. This allows the use of the example module as a smoketest for this provider. | ||||
140 examples/main.tf
140
examples/main.tf @@ -1,137 +1,49 @@ | ||||
resource "gitea_repository" "test" { | ||||
username = "lerentis" | ||||
name = "test" | ||||
private = true | ||||
issue_labels = "Default" | ||||
license = "MIT" | ||||
gitignores = "Go" | ||||
| ||||
module "test_gitea_fork" { | ||||
source = "./resources/gitea_fork" | ||||
} | ||||
| ||||
resource "gitea_repository" "mirror" { | ||||
username = "lerentis" | ||||
name = "terraform-provider-gitea-mirror" | ||||
description = "Mirror of Terraform Provider" | ||||
mirror = true | ||||
migration_clone_address = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git" | ||||
migration_service = "gitea" | ||||
migration_service_auth_token = var.gitea_mirror_token | ||||
module "test_gitea_git_hook" { | ||||
count = var.server_side_hooks_enabled ? 1 : 0 | ||||
source = "./resources/gitea_git_hook" | ||||
} | ||||
| ||||
resource "gitea_org" "test_org" { | ||||
name = "test-org" | ||||
description = "test description" | ||||
module "test_gitea_org" { | ||||
source = "./resources/gitea_org" | ||||
} | ||||
| ||||
resource "gitea_repository" "org_repo" { | ||||
username = gitea_org.test_org.name | ||||
name = "org-test-repo" | ||||
module "test_gitea_public_key" { | ||||
source = "./resources/gitea_public_key" | ||||
} | ||||
| ||||
data "gitea_user" "me" { | ||||
username = "lerentis" | ||||
module "test_gitea_repo_branch_protection" { | ||||
source = "./resources/gitea_repo_branch_protection" | ||||
} | ||||
| ||||
resource "gitea_user" "test" { | ||||
username = "test" | ||||
login_name = "test" | ||||
password = "Geheim1!" | ||||
email = "test@user.dev" | ||||
must_change_password = false | ||||
admin = true | ||||
module "test_gitea_repository" { | ||||
source = "./resources/gitea_repository" | ||||
} | ||||
| ||||
| ||||
resource "gitea_public_key" "test_user_key" { | ||||
title = "test" | ||||
key = file("${path.module}/resources/gitea_public_key/id_ed25519.pub") | ||||
read_only = true | ||||
username = gitea_user.test.username | ||||
module "test_gitea_repository_key" { | ||||
source = "./resources/gitea_repository_key" | ||||
} | ||||
| ||||
| ||||
resource "gitea_team" "test_team" { | ||||
name = "Devs" | ||||
organisation = gitea_org.test_org.name | ||||
description = "Devs of Test Org" | ||||
permission = "write" | ||||
members = [gitea_user.test.username] | ||||
module "test_gitea_team" { | ||||
source = "./resources/gitea_team" | ||||
} | ||||
| ||||
resource "gitea_team" "admin_team" { | ||||
name = "Admins" | ||||
organisation = gitea_org.test_org.name | ||||
description = "Admins of Test Org" | ||||
permission = "admin" | ||||
members = [data.gitea_user.me.username] | ||||
module "test_gitea_team_members" { | ||||
source = "./resources/gitea_team_members" | ||||
} | ||||
| ||||
resource "gitea_git_hook" "org_repo_pre_receive" { | ||||
name = "pre-receive" | ||||
user = gitea_org.test_org.name | ||||
repo = gitea_repository.org_repo.name | ||||
content = file("${path.module}/pre-receive.sh") | ||||
module "test_gitea_team_membership" { | ||||
source = "./resources/gitea_team_membership" | ||||
} | ||||
| ||||
resource "gitea_org" "org1" { | ||||
name = "org1" | ||||
module "test_gitea_token" { | ||||
source = "./resources/gitea_token" | ||||
} | ||||
| ||||
resource "gitea_org" "org2" { | ||||
name = "org2" | ||||
} | ||||
| ||||
resource "gitea_repository" "repo1_in_org1" { | ||||
username = gitea_org.org1.name | ||||
name = "repo1-in-org1" | ||||
} | ||||
| ||||
resource "gitea_fork" "user_fork_of_repo1_in_org1" { | ||||
owner = gitea_org.org1.name | ||||
repo = gitea_repository.repo1_in_org1.name | ||||
} | ||||
| ||||
resource "gitea_fork" "org2_fork_of_repo1_in_org1" { | ||||
owner = gitea_org.org1.name | ||||
repo = gitea_repository.repo1_in_org1.name | ||||
organization = gitea_org.org2.name | ||||
} | ||||
| ||||
resource "gitea_token" "test_token" { | ||||
username = data.gitea_user.me.username | ||||
name = "test-token" | ||||
} | ||||
| ||||
resource "gitea_repository" "test_existing_user" { | ||||
username = "testuser2" | ||||
name = "testExistingUser" | ||||
private = true | ||||
issue_labels = "Default" | ||||
license = "MIT" | ||||
gitignores = "Go" | ||||
} | ||||
| ||||
//resource "gitea_repository" "test_bs_user" { | ||||
// username = "manualTest" | ||||
// name = "testBullshitUser" | ||||
// private = true | ||||
// issue_labels = "Default" | ||||
// license = "MIT" | ||||
// gitignores = "Go" | ||||
//} | ||||
| ||||
output "token" { | ||||
value = resource.gitea_token.test_token.token | ||||
sensitive = true | ||||
} | ||||
| ||||
data "gitea_repo" "org_repos" { | ||||
name = each.key | ||||
username = gitea_org.org1.name | ||||
for_each = { | ||||
for repo in resource.gitea_org.org1.repos : repo => repo | ||||
} | ||||
} | ||||
| ||||
output "repos" { | ||||
value = data.gitea_repo.org_repos["repo1-in-org1"].clone_url | ||||
module "test_gitea_user" { | ||||
source = "./resources/gitea_user" | ||||
} | ||||
| ||||
@@ -2,14 +2,12 @@ terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
version = "0.6.0" | ||||
} | ||||
} | ||||
} | ||||
| ||||
provider "gitea" { | ||||
base_url = var.gitea_url | ||||
username = "lerentis" | ||||
username = var.gitea_username | ||||
password = var.gitea_password | ||||
#token = var.gitea_token | ||||
} | ||||
| ||||
@@ -1,14 +1,14 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
source = "go-gitea/gitea" | ||||
version = "0.6.0" | ||||
} | ||||
} | ||||
} | ||||
| ||||
provider "gitea" { | ||||
base_url = var.gitea_url # optionally use GITEA_BASE_URL env var | ||||
base_url = var.gitea_url # optionally use GITEA_BASE_URL env var | ||||
token = var.gitea_token # optionally use GITEA_TOKEN env var | ||||
| ||||
# Username/Password authentication is mutally exclusive with token authentication | ||||
@@ -16,9 +16,9 @@ provider "gitea" { | ||||
# password = var.password # optionally use GITEA_PASSWORD env var | ||||
| ||||
# A file containing the ca certificate to use in case ssl certificate is not from a standard chain | ||||
cacert_file = var.cacert_file | ||||
| ||||
cacert_file = var.cacert_file | ||||
| ||||
# If you are running a gitea instance with self signed TLS certificates | ||||
# and you want to disable certificate validation you can deactivate it with this flag | ||||
insecure = false | ||||
insecure = false | ||||
} | ||||
7 examples/resources/gitea_fork/provider.tf Normal file
7
examples/resources/gitea_fork/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -4,5 +4,6 @@ do | ||||
branch=$(git rev-parse --symbolic --abbrev-ref $refname) | ||||
if [ "master" = "$branch" ]; then | ||||
# Do something | ||||
true | ||||
fi | ||||
done | ||||
7 examples/resources/gitea_git_hook/provider.tf Normal file
7
examples/resources/gitea_git_hook/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,15 +1,15 @@ | ||||
resource "gitea_org" "test_org" { | ||||
name = "test-org" | ||||
resource "gitea_org" "example" { | ||||
name = "git-hook-example-org" | ||||
} | ||||
| ||||
resource "gitea_repository" "org_repo" { | ||||
username = gitea_org.test_org.name | ||||
name = "org-test-repo" | ||||
resource "gitea_repository" "example" { | ||||
username = gitea_org.example.name | ||||
name = "git-hook-example-repo" | ||||
} | ||||
| ||||
resource "gitea_git_hook" "org_repo_post_receive" { | ||||
name = "post-receive" | ||||
user = gitea_org.test_org.name | ||||
repo = gitea_repository.org_repo.name | ||||
user = gitea_org.example.name | ||||
repo = gitea_repository.example.name | ||||
content = file("${path.module}/post-receive.sh") | ||||
} | ||||
7 examples/resources/gitea_org/provider.tf Normal file
7
examples/resources/gitea_org/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,8 +1,8 @@ | ||||
resource "gitea_org" "test_org" { | ||||
name = "test-org" | ||||
resource "gitea_org" "example" { | ||||
name = "org-example-org" | ||||
} | ||||
| ||||
resource "gitea_repository" "org_repo" { | ||||
username = gitea_org.test_org.name | ||||
name = "org-test-repo" | ||||
resource "gitea_repository" "example" { | ||||
username = gitea_org.example.name | ||||
name = "org-example-repo" | ||||
} | ||||
7 examples/resources/gitea_public_key/provider.tf Normal file
7
examples/resources/gitea_public_key/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,14 +1,13 @@ | ||||
resource "gitea_user" "test" { | ||||
username = "test" | ||||
login_name = "test" | ||||
username = "public-key-test" | ||||
login_name = "public-key-test" | ||||
password = "Geheim1!" | ||||
email = "test@user.dev" | ||||
email = "public-key-test@user.dev" | ||||
must_change_password = false | ||||
} | ||||
| ||||
| ||||
resource "gitea_public_key" "test_user_key" { | ||||
title = "test" | ||||
key = file("${path.module}/id_ed25519.pub") | ||||
username = gitea_user.test.username | ||||
title = "public-key-test" | ||||
key = file("${path.module}/id_ed25519.pub") | ||||
username = gitea_user.test.username | ||||
} | ||||
| ||||
@@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,6 +1,13 @@ | ||||
resource "gitea_user" "example" { | ||||
username = "bp_example_user" | ||||
login_name = "bp_example_user" | ||||
password = "Geheim1!" | ||||
email = "bp_example_user@user.dev" | ||||
} | ||||
| ||||
resource "gitea_repository" "repo" { | ||||
username = var.username | ||||
name = var.name | ||||
username = gitea_user.example.username | ||||
name = "bp-branch-protection-example-repo" | ||||
auto_init = false | ||||
} | ||||
| ||||
@@ -8,7 +15,6 @@ resource "gitea_repository_branch_protection" "main" { | ||||
username = gitea_repository.repo.username | ||||
name = gitea_repository.repo.name | ||||
| ||||
rule_name = "main" | ||||
enable_push = true | ||||
status_check_patterns = var.branch_protection_patterns | ||||
rule_name = "main" | ||||
enable_push = false | ||||
} | ||||
| ||||
7 examples/resources/gitea_repository/provider.tf Normal file
7
examples/resources/gitea_repository/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,6 +1,13 @@ | ||||
resource "gitea_user" "example" { | ||||
username = "repo_example_user" | ||||
login_name = "repo_example_user" | ||||
password = "Geheim1!" | ||||
email = "repo_example_user@user.dev" | ||||
} | ||||
| ||||
resource "gitea_repository" "test" { | ||||
username = "lerentis" | ||||
name = "test" | ||||
username = gitea_user.example.username | ||||
name = "repository-test" | ||||
private = true | ||||
issue_labels = "Default" | ||||
license = "MIT" | ||||
@@ -8,21 +15,33 @@ resource "gitea_repository" "test" { | ||||
} | ||||
| ||||
resource "gitea_repository" "mirror" { | ||||
username = "lerentis" | ||||
username = gitea_user.example.username | ||||
name = "terraform-provider-gitea-mirror" | ||||
description = "Mirror of Terraform Provider" | ||||
mirror = true | ||||
migration_clone_addresse = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git" | ||||
migration_service = "gitea" | ||||
migration_service_auth_token = var.gitea_mirror_token | ||||
| ||||
depends_on = [gitea_user.example] | ||||
} | ||||
| ||||
resource "gitea_repository" "clone" { | ||||
username = "lerentis" | ||||
username = gitea_user.example.username | ||||
name = "terraform-provider-gitea-clone" | ||||
description = "Clone of Terraform Provider" | ||||
mirror = false | ||||
migration_clone_address = "https://git.uploadfilter24.eu/lerentis/terraform-provider-gitea.git" | ||||
migration_service = "gitea" | ||||
migration_service_auth_token = var.gitea_clone_token | ||||
| ||||
depends_on = [gitea_user.example] | ||||
} | ||||
| ||||
variable "gitea_mirror_token" { | ||||
default = "dummy-token" | ||||
} | ||||
| ||||
variable "gitea_clone_token" { | ||||
default = "dummy-token" | ||||
} | ||||
11 examples/resources/gitea_repository_key/provider.tf Normal file
11
examples/resources/gitea_repository_key/provider.tf Normal file @@ -0,0 +1,11 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
tls = { | ||||
source = "hashicorp/tls" | ||||
version = "4.0.4" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,25 +1,24 @@ | ||||
terraform { | ||||
required_providers { | ||||
tls = { | ||||
source = "hashicorp/tls" | ||||
version = "4.0.4" | ||||
} | ||||
} | ||||
resource "tls_private_key" "example" { | ||||
algorithm = "RSA" | ||||
rsa_bits = 4096 | ||||
} | ||||
| ||||
resource "tls_private_key" "example" { | ||||
type = "RSA" | ||||
rsa_bits = 4096 | ||||
resource "gitea_user" "example" { | ||||
username = "repo_key_example_user" | ||||
login_name = "repo_key_example_user" | ||||
password = "Geheim1!" | ||||
email = "repo_key_example_user@user.dev" | ||||
} | ||||
| ||||
resource "gitea_repository" "example" { | ||||
name = "example" | ||||
private = true | ||||
name = "example" | ||||
username = gitea_user.example.username | ||||
private = true | ||||
} | ||||
| ||||
resource "gitea_repository_key" "example" { | ||||
repository = gitea_repository.example.id | ||||
title = "Example Deploy Key" | ||||
read_only = true | ||||
key = tls_private_key.example.public_key_openssh | ||||
title = "Example Deploy Key" | ||||
read_only = true | ||||
key = tls_private_key.example.public_key_openssh | ||||
} | ||||
7 examples/resources/gitea_team/provider.tf Normal file
7
examples/resources/gitea_team/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,29 +1,17 @@ | ||||
resource "gitea_org" "test_org" { | ||||
name = "test-org" | ||||
name = "team-example-org" | ||||
} | ||||
| ||||
resource "gitea_user" "test" { | ||||
username = "test" | ||||
login_name = "test" | ||||
password = "Geheim1!" | ||||
email = "test@user.dev" | ||||
must_change_password = false | ||||
admin = true | ||||
} | ||||
| ||||
| ||||
resource "gitea_team" "test_team" { | ||||
name = "Devs" | ||||
organisation = gitea_org.test_org.name | ||||
description = "Devs of Test Org" | ||||
permission = "write" | ||||
members = [gitea_user.test.username] | ||||
} | ||||
| ||||
| ||||
resource "gitea_repository" "test" { | ||||
username = gitea_org.test_org.name | ||||
name = "test" | ||||
name = "team-example-repo" | ||||
private = true | ||||
issue_labels = "Default" | ||||
license = "MIT" | ||||
@@ -31,11 +19,10 @@ resource "gitea_repository" "test" { | ||||
} | ||||
| ||||
resource "gitea_team" "test_team_restricted" { | ||||
name = "Restricted Devs" | ||||
name = "Devs-Restricted" | ||||
organisation = gitea_org.test_org.name | ||||
description = "Restricted Devs of Test Org" | ||||
permission = "write" | ||||
members = [gitea_user.test.username] | ||||
include_all_repositories = false | ||||
repositories = [gitea_repository.test.name] | ||||
} | ||||
| ||||
7 examples/resources/gitea_team_members/provider.tf Normal file
7
examples/resources/gitea_team_members/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,17 +1,17 @@ | ||||
resource "gitea_org" "example_org" { | ||||
name = "m_example_org" | ||||
name = "members_example_org" | ||||
} | ||||
| ||||
resource "gitea_user" "example_users" { | ||||
count = 5 | ||||
username = "m_example_user_${count.index}" | ||||
login_name = "m_example_user_${count.index}" | ||||
username = "members_example_user_${count.index}" | ||||
login_name = "members_example_user_${count.index}" | ||||
password = "Geheim1!" | ||||
email = "m_example_user_${count.index}@user.dev" | ||||
email = "members_example_user_${count.index}@user.dev" | ||||
} | ||||
| ||||
resource "gitea_team" "example_team" { | ||||
name = "m_example_team" | ||||
name = "members_example_team" | ||||
organisation = gitea_org.example_org.name | ||||
description = "An example of team membership" | ||||
permission = "read" | ||||
| ||||
7 examples/resources/gitea_team_membership/provider.tf Normal file
7
examples/resources/gitea_team_membership/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,17 +1,17 @@ | ||||
resource "gitea_org" "example_org" { | ||||
name = "m_example_org" | ||||
name = "membership_example_org" | ||||
} | ||||
| ||||
resource "gitea_user" "example_users" { | ||||
count = 5 | ||||
username = "m_example_user_${count.index}" | ||||
login_name = "m_example_user_${count.index}" | ||||
username = "membership_example_user_${count.index}" | ||||
login_name = "membership_example_user_${count.index}" | ||||
password = "Geheim1!" | ||||
email = "m_example_user_${count.index}@user.dev" | ||||
email = "membership_example_user_${count.index}@user.dev" | ||||
} | ||||
| ||||
resource "gitea_team" "example_team" { | ||||
name = "m_example_team" | ||||
name = "membership_example_team" | ||||
organisation = gitea_org.example_org.name | ||||
description = "An example team for membership testing" | ||||
permission = "read" | ||||
| ||||
7 examples/resources/gitea_token/provider.tf Normal file
7
examples/resources/gitea_token/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,9 +1,9 @@ | ||||
provider "gitea" { | ||||
base_url = var.gitea_url | ||||
# Token Auth can not be used with this resource | ||||
username = var.gitea_username | ||||
password = var.gitea_password | ||||
} | ||||
### !!! Token Auth can not be used with this resource | ||||
# provider "gitea" { | ||||
# base_url = var.gitea_url | ||||
# username = var.gitea_username | ||||
# password = var.gitea_password | ||||
# } | ||||
| ||||
// The token owner is the creator of the token | ||||
resource "gitea_token" "test_token" { | ||||
| ||||
7 examples/resources/gitea_user/provider.tf Normal file
7
examples/resources/gitea_user/provider.tf Normal file @@ -0,0 +1,7 @@ | ||||
terraform { | ||||
required_providers { | ||||
gitea = { | ||||
source = "go-gitea/gitea" | ||||
} | ||||
} | ||||
} | ||||
@@ -1,7 +1,7 @@ | ||||
resource "gitea_user" "test" { | ||||
username = "test" | ||||
login_name = "test" | ||||
username = "user-test" | ||||
login_name = "user-test" | ||||
password = "Geheim1!" | ||||
email = "test@user.dev" | ||||
email = "user-test@user.dev" | ||||
must_change_password = false | ||||
} | ||||
@@ -2,14 +2,14 @@ variable "gitea_url" { | ||||
default = "http://localhost:3000/" | ||||
} | ||||
| ||||
variable "gitea_token" { | ||||
| ||||
} | ||||
| ||||
variable "gitea_mirror_token" { | ||||
| ||||
variable "gitea_username" { | ||||
default = "gitea_admin" | ||||
} | ||||
| ||||
variable "gitea_password" { | ||||
| ||||
default = "gitea_admin" | ||||
} | ||||
| ||||
variable "server_side_hooks_enabled" { | ||||
default = false | ||||
} | ||||
70 go.sum
70
go.sum @@ -20,8 +20,6 @@ github.com/Masterminds/sprig/v3 v3.2.3 h1:eL2fZNezLomi0uOLqjQoN6BfsDD+fyLtgbJMAj | ||||
github.com/Masterminds/sprig/v3 v3.2.3/go.mod h1:rXcFaZ2zZbLRJv/xSysmlgIM1u11eBaRMhvYXJNkGuM= | ||||
github.com/Microsoft/go-winio v0.6.1 h1:9/kr64B9VUZrLm5YYwbGtUJnMgqWVOdUAXu6Migciow= | ||||
github.com/Microsoft/go-winio v0.6.1/go.mod h1:LRdKpFKfdobln8UmuiYcKPot9D2v6svN5+sAH+4kjUM= | ||||
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 h1:bkyFVUP+ROOARdgCiJzNQo2V2kiB97LyUpzH9P6Hrlg= | ||||
github.com/ProtonMail/go-crypto v1.1.0-alpha.2/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= | ||||
github.com/ProtonMail/go-crypto v1.1.3 h1:nRBOetoydLeUb4nHajyO2bKqMLfWQ/ZPwkXqXxPxCFk= | ||||
github.com/ProtonMail/go-crypto v1.1.3/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= | ||||
github.com/agext/levenshtein v1.2.2 h1:0S/Yg6LYmFJ5stwQeRp6EeOcCbj7xiqQSdNelsXvaqE= | ||||
@@ -39,8 +37,8 @@ github.com/bufbuild/protocompile v0.4.0 h1:LbFKd2XowZvQ/kajzguUp2DC9UEIQhIq77fZZ | ||||
github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8= | ||||
github.com/cloudflare/circl v1.3.7 h1:qlCDlTPz2n9fu58M0Nh1J/JzcFpfgkFHHX3O35r5vcU= | ||||
github.com/cloudflare/circl v1.3.7/go.mod h1:sRTcRWXGLrKw6yIGJ+l7amYJFfAXbZG0kBSc8r4zxgA= | ||||
github.com/cyphar/filepath-securejoin v0.2.4 h1:Ugdm7cg7i6ZK6x3xDF1oEu1nfkyfH53EtKeQYTC3kyg= | ||||
github.com/cyphar/filepath-securejoin v0.2.4/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= | ||||
github.com/cyphar/filepath-securejoin v0.2.5 h1:6iR5tXJ/e6tJZzzdMc1km3Sa7RRIVBKAK32O2s7AYfo= | ||||
github.com/cyphar/filepath-securejoin v0.2.5/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4= | ||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= | ||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||||
@@ -57,10 +55,14 @@ github.com/go-fed/httpsig v1.1.0 h1:9M+hb0jkEICD8/cAiNqEB66R87tTINszBRTjwjQzWcI= | ||||
github.com/go-fed/httpsig v1.1.0/go.mod h1:RCMrTZvN1bJYtofsG4rd5NaO5obxQ5xBkdiS7xsT7bM= | ||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= | ||||
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= | ||||
github.com/go-git/go-billy/v5 v5.5.0 h1:yEY4yhzCDuMGSv83oGxiBotRzhwhNr8VZyphhiu+mTU= | ||||
github.com/go-git/go-billy/v5 v5.5.0/go.mod h1:hmexnoNsr2SJU1Ju67OaNz5ASJY3+sHgFRpCtpDCKow= | ||||
github.com/go-git/go-git/v5 v5.12.0 h1:7Md+ndsjrzZxbddRDZjF14qK+NN56sy6wkqaVrjZtys= | ||||
github.com/go-git/go-git/v5 v5.12.0/go.mod h1:FTM9VKtnI2m65hNI/TenDDDnUf2Q9FHnXYjuz9i5OEY= | ||||
github.com/go-git/go-billy/v5 v5.6.0 h1:w2hPNtoehvJIxR00Vb4xX94qHQi/ApZfX+nBE2Cjio8= | ||||
github.com/go-git/go-billy/v5 v5.6.0/go.mod h1:sFDq7xD3fn3E0GOwUSZqHo9lrkmx8xJhA0ZrfvjBRGM= | ||||
github.com/go-git/go-git/v5 v5.13.0 h1:vLn5wlGIh/X78El6r3Jr+30W16Blk0CTcxTYcYPWi5E= | ||||
github.com/go-git/go-git/v5 v5.13.0/go.mod h1:Wjo7/JyVKtQgUNdXYXIepzWfJQkUEIGvkvVkiXRR/zw= | ||||
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY= | ||||
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= | ||||
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= | ||||
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= | ||||
github.com/go-test/deep v1.0.3 h1:ZrJSEWsXzPOxaZnFteGEfooLba+ju3FYIbOrS+rQd68= | ||||
github.com/go-test/deep v1.0.3/go.mod h1:wGDj63lr65AM2AQyKZd/NYHGb0R+1RLqB8NKt3aSFNA= | ||||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= | ||||
@@ -103,38 +105,24 @@ github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/C | ||||
github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= | ||||
github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= | ||||
github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= | ||||
github.com/hashicorp/hc-install v0.9.0 h1:2dIk8LcvANwtv3QZLckxcjyF5w8KVtiMxu6G6eLhghE= | ||||
github.com/hashicorp/hc-install v0.9.0/go.mod h1:+6vOP+mf3tuGgMApVYtmsnDoKWMDcFXeTxCACYZ8SFg= | ||||
github.com/hashicorp/hc-install v0.9.1 h1:gkqTfE3vVbafGQo6VZXcy2v5yoz2bE0+nhZXruCuODQ= | ||||
github.com/hashicorp/hc-install v0.9.1/go.mod h1:pWWvN/IrfeBK4XPeXXYkL6EjMufHkCK5DvwxeLKuBf0= | ||||
github.com/hashicorp/hcl/v2 v2.22.0 h1:hkZ3nCtqeJsDhPRFz5EA9iwcG1hNWGePOTw6oyul12M= | ||||
github.com/hashicorp/hcl/v2 v2.22.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= | ||||
github.com/hashicorp/hcl/v2 v2.23.0 h1:Fphj1/gCylPxHutVSEOf2fBOh1VE4AuLV7+kbJf3qos= | ||||
github.com/hashicorp/hcl/v2 v2.23.0/go.mod h1:62ZYHrXgPoX8xBnzl8QzbWq4dyDsDtfCRgIq1rbJEvA= | ||||
github.com/hashicorp/logutils v1.0.0 h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y= | ||||
github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= | ||||
github.com/hashicorp/terraform-exec v0.21.0 h1:uNkLAe95ey5Uux6KJdua6+cv8asgILFVWkd/RG0D2XQ= | ||||
github.com/hashicorp/terraform-exec v0.21.0/go.mod h1:1PPeMYou+KDUSSeRE9szMZ/oHf4fYUmB923Wzbq1ICg= | ||||
github.com/hashicorp/terraform-exec v0.22.0 h1:G5+4Sz6jYZfRYUCg6eQgDsqTzkNXV+fP8l+uRmZHj64= | ||||
github.com/hashicorp/terraform-exec v0.22.0/go.mod h1:bjVbsncaeh8jVdhttWYZuBGj21FcYw6Ia/XfHcNO7lQ= | ||||
github.com/hashicorp/terraform-json v0.23.0 h1:sniCkExU4iKtTADReHzACkk8fnpQXrdD2xoR+lppBkI= | ||||
github.com/hashicorp/terraform-json v0.23.0/go.mod h1:MHdXbBAbSg0GvzuWazEGKAn/cyNfIB7mN6y7KJN6y2c= | ||||
github.com/hashicorp/terraform-json v0.24.0 h1:rUiyF+x1kYawXeRth6fKFm/MdfBS6+lW4NbeATsYz8Q= | ||||
github.com/hashicorp/terraform-json v0.24.0/go.mod h1:Nfj5ubo9xbu9uiAoZVBsNOjvNKB66Oyrvtit74kC7ow= | ||||
github.com/hashicorp/terraform-plugin-docs v0.20.1 h1:Fq7E/HrU8kuZu3hNliZGwloFWSYfWEOWnylFhYQIoys= | ||||
github.com/hashicorp/terraform-plugin-docs v0.20.1/go.mod h1:Yz6HoK7/EgzSrHPB9J/lWFzwl9/xep2OPnc5jaJDV90= | ||||
github.com/hashicorp/terraform-plugin-go v0.25.0 h1:oi13cx7xXA6QciMcpcFi/rwA974rdTxjqEhXJjbAyks= | ||||
github.com/hashicorp/terraform-plugin-go v0.25.0/go.mod h1:+SYagMYadJP86Kvn+TGeV+ofr/R3g4/If0O5sO96MVw= | ||||
github.com/hashicorp/terraform-plugin-go v0.26.0 h1:cuIzCv4qwigug3OS7iKhpGAbZTiypAfFQmw8aE65O2M= | ||||
github.com/hashicorp/terraform-plugin-go v0.26.0/go.mod h1:+CXjuLDiFgqR+GcrM5a2E2Kal5t5q2jb0E3D57tTdNY= | ||||
github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9TFvymaRGZED3FCV0= | ||||
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow= | ||||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 h1:wyKCCtn6pBBL46c1uIIBNUOWlNfYXfXpVo16iDyLp8Y= | ||||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0/go.mod h1:B0Al8NyYVr8Mp/KLwssKXG1RqnTk7FySqSn4fRuLNgw= | ||||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.36.1 h1:WNMsTLkZf/3ydlgsuXePa3jvZFwAJhruxTxP/c1Viuw= | ||||
github.com/hashicorp/terraform-plugin-sdk/v2 v2.36.1/go.mod h1:P6o64QS97plG44iFzSM6rAn6VJIC/Sy9a9IkEtl79K4= | ||||
github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= | ||||
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= | ||||
github.com/hashicorp/terraform-registry-address v0.2.4 h1:JXu/zHB2Ymg/TGVCRu10XqNa4Sh2bWcqCNyKWjnCPJA= | ||||
github.com/hashicorp/terraform-registry-address v0.2.4/go.mod h1:tUNYTVyCtU4OIGXXMDp7WNcJ+0W1B4nmstVDgHMjfAU= | ||||
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ= | ||||
@@ -197,8 +185,8 @@ github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG | ||||
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= | ||||
github.com/shopspring/decimal v1.3.1 h1:2Usl1nmF/WZucqkFZhnfFYxxxu8LG21F6nPQBE5gKV8= | ||||
github.com/shopspring/decimal v1.3.1/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= | ||||
github.com/skeema/knownhosts v1.2.2 h1:Iug2P4fLmDw9f41PB6thxUkNUkJzB5i+1/exaj40L3A= | ||||
github.com/skeema/knownhosts v1.2.2/go.mod h1:xYbVRSPxqBZFrdmDyMmsOs+uX1UZC3nTN3ThzgDxUwo= | ||||
github.com/skeema/knownhosts v1.3.0 h1:AM+y0rI04VksttfwjkSTNQorvGqmwATnvnAHpSgc0LY= | ||||
github.com/skeema/knownhosts v1.3.0/go.mod h1:sPINvnADmT/qYH1kfv+ePMmOBTH6Tbl7b5LvTDjFK7M= | ||||
github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= | ||||
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w= | ||||
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU= | ||||
@@ -223,28 +211,32 @@ github.com/yuin/goldmark v1.7.7 h1:5m9rrB1sW3JUMToKFQfb+FGt1U7r57IHu5GrYrG2nqU= | ||||
github.com/yuin/goldmark v1.7.7/go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E= | ||||
github.com/yuin/goldmark-meta v1.1.0 h1:pWw+JLHGZe8Rk0EGsMVssiNb/AaPMHfSRszZeUeiOUc= | ||||
github.com/yuin/goldmark-meta v1.1.0/go.mod h1:U4spWENafuA7Zyg+Lj5RqK/MF+ovMYtBvXi1lBb2VP0= | ||||
github.com/zclconf/go-cty v1.15.0 h1:tTCRWxsexYUmtt/wVxgDClUe+uQusuI443uL6e+5sXQ= | ||||
github.com/zclconf/go-cty v1.15.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= | ||||
github.com/zclconf/go-cty v1.16.2 h1:LAJSwc3v81IRBZyUVQDUdZ7hs3SYs9jv0eZJDWHD/70= | ||||
github.com/zclconf/go-cty v1.16.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= | ||||
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= | ||||
github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= | ||||
go.abhg.dev/goldmark/frontmatter v0.2.0 h1:P8kPG0YkL12+aYk2yU3xHv4tcXzeVnN+gU0tJ5JnxRw= | ||||
go.abhg.dev/goldmark/frontmatter v0.2.0/go.mod h1:XqrEkZuM57djk7zrlRUB02x8I5J0px76YjkOzhB4YlU= | ||||
go.opentelemetry.io/otel v1.31.0 h1:NsJcKPIW0D0H3NgzPDHmo0WW6SptzPdqg/L1zsIm2hY= | ||||
go.opentelemetry.io/otel v1.31.0/go.mod h1:O0C14Yl9FgkjqcCZAsE053C13OaddMYr/hz6clDkEJE= | ||||
go.opentelemetry.io/otel/metric v1.31.0 h1:FSErL0ATQAmYHUIzSezZibnyVlft1ybhy4ozRPcF2fE= | ||||
go.opentelemetry.io/otel/metric v1.31.0/go.mod h1:C3dEloVbLuYoX41KpmAhOqNriGbA+qqH6PQ5E5mUfnY= | ||||
go.opentelemetry.io/otel/sdk v1.31.0 h1:xLY3abVHYZ5HSfOg3l2E5LUj2Cwva5Y7yGxnSW9H5Gk= | ||||
go.opentelemetry.io/otel/sdk v1.31.0/go.mod h1:TfRbMdhvxIIr/B2N2LQW2S5v9m3gOQ/08KsbbO5BPT0= | ||||
go.opentelemetry.io/otel/sdk/metric v1.31.0 h1:i9hxxLJF/9kkvfHppyLL55aW7iIJz4JjxTeYusH7zMc= | ||||
go.opentelemetry.io/otel/sdk/metric v1.31.0/go.mod h1:CRInTMVvNhUKgSAMbKyTMxqOBC0zgyxzW55lZzX43Y8= | ||||
go.opentelemetry.io/otel/trace v1.31.0 h1:ffjsj1aRouKewfr85U2aGagJ46+MvodynlQ1HYdmJys= | ||||
go.opentelemetry.io/otel/trace v1.31.0/go.mod h1:TXZkRk7SM2ZQLtR6eoAWQFIHPvzQ06FJAsO1tJg480A= | ||||
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= | ||||
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= | ||||
golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8= | ||||
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= | ||||
golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4= | ||||
golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= | ||||
golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= | ||||
golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus= | ||||
golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M= | ||||
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df h1:UA2aFVmmsIlefxMk29Dp2juaUSth8Pyn3Tq5Y5mJGME= | ||||
golang.org/x/exp v0.0.0-20230626212559-97b1e661b5df/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= | ||||
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= | ||||
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0= | ||||
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= | ||||
golang.org/x/mod v0.22.0 h1:D4nJWe9zXqHOmWqj4VMOJhvzj7bEZg4wEYa759z1pH4= | ||||
golang.org/x/mod v0.22.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY= | ||||
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= | ||||
@@ -252,15 +244,11 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL | ||||
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= | ||||
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= | ||||
golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY= | ||||
golang.org/x/net v0.28.0 h1:a9JDOJc5GMUJ0+UDqmLT86WiEy7iWyIhz8gz8E4e5hE= | ||||
golang.org/x/net v0.28.0/go.mod h1:yqtgsTWOOnlGLG9GFRrK3++bGOUEkNBoHZc8MEDWPNg= | ||||
golang.org/x/net v0.34.0 h1:Mb7Mrk043xzHgnRM88suvJFwzVrRfHEHJEl5/71CKw0= | ||||
golang.org/x/net v0.34.0/go.mod h1:di0qlW3YNM5oh6GqDGQr92MyTozJPmybPK4Ev/Gm31k= | ||||
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= | ||||
golang.org/x/sync v0.9.0 h1:fEo0HyrW1GIgZdpbhCRO0PkJajUS5H9IFUztCgEo2jQ= | ||||
golang.org/x/sync v0.9.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= | ||||
golang.org/x/sync v0.11.0 h1:GGz8+XQP4FvTTrjZPzNKTMFtSXH80RAzG+5ghFPgK9w= | ||||
golang.org/x/sync v0.11.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= | ||||
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= | ||||
@@ -277,23 +265,19 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc | ||||
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= | ||||
golang.org/x/sys v0.26.0 h1:KHjCJyddX0LoSTb3J+vWpupP9p0oznkqVk/IfjymZbo= | ||||
golang.org/x/sys v0.26.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||||
golang.org/x/sys v0.30.0 h1:QjkSwP/36a20jFYWkSue1YwXzLmsV5Gfq7Eiy72C1uc= | ||||
golang.org/x/sys v0.30.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= | ||||
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= | ||||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= | ||||
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc= | ||||
golang.org/x/term v0.25.0 h1:WtHI/ltw4NvSUig5KARz9h521QvRC8RmF/cuYqifU24= | ||||
golang.org/x/term v0.25.0/go.mod h1:RPyXicDX+6vLxogjjRxjgD2TKtmAO6NZBsBRfrOLu7M= | ||||
golang.org/x/term v0.29.0 h1:L6pJp37ocefwRRtYPKSWOWzOtWSxVajvz2ldH/xi3iU= | ||||
golang.org/x/term v0.29.0/go.mod h1:6bl4lRlvVuDgSf3179VpIxBF0o10JUpXWOnI7nErv7s= | ||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= | ||||
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= | ||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= | ||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= | ||||
golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= | ||||
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= | ||||
golang.org/x/text v0.20.0 h1:gK/Kv2otX8gz+wn7Rmb3vT96ZwuoxnQlY+HlJVj7Qug= | ||||
golang.org/x/text v0.20.0/go.mod h1:D4IsuqiFMhST5bX19pQ9ikHC2GsaKyk/oF+pn3ducp4= | ||||
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM= | ||||
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY= | ||||
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= | ||||
@@ -306,18 +290,12 @@ golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8T | ||||
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= | ||||
google.golang.org/appengine v1.6.8 h1:IhEN5q69dyKagZPYMSdIjS2HqprW324FRQZJcGqPAsM= | ||||
google.golang.org/appengine v1.6.8/go.mod h1:1jJ3jBArFh5pcgW8gCtRJnepW8FzD1V44FJffLiz/Ds= | ||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 h1:e7S5W7MGGLaSu8j3YjdezkZ+m1/Nm0uRVRMEMGk26Xs= | ||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142/go.mod h1:UqMtugtsSgubUsoxbuAoiCXvqvErP7Gf0so0mK9tHxU= | ||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53 h1:X58yt85/IXCx0Y3ZwN6sEIKZzQtDEYaBWrDvErdXrRE= | ||||
google.golang.org/genproto/googleapis/rpc v0.0.0-20241015192408-796eee8c2d53/go.mod h1:GX3210XPVPUjJbTUbvwI8f2IpZDMZuPJWDzDuebbviI= | ||||
google.golang.org/grpc v1.67.1 h1:zWnc1Vrcno+lHZCOofnIMvycFcc0QRGIzm9dhnDX68E= | ||||
google.golang.org/grpc v1.67.1/go.mod h1:1gLDyUQU7CTLJI90u3nXZ9ekeghjeM7pTDZlqFNg2AA= | ||||
google.golang.org/grpc v1.69.4 h1:MF5TftSMkd8GLw/m0KM6V8CMOCY6NZ1NQDPGFgbTt4A= | ||||
google.golang.org/grpc v1.69.4/go.mod h1:vyjdE6jLBI76dgpDojsFGNaHlxdjXN9ghpnd2o7JGZ4= | ||||
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= | ||||
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= | ||||
google.golang.org/protobuf v1.35.1 h1:m3LfL6/Ca+fqnjnlqQXNpFPABW1UD7mjh8KO2mKFytA= | ||||
google.golang.org/protobuf v1.35.1/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= | ||||
google.golang.org/protobuf v1.36.3 h1:82DV7MYdb8anAVi3qge1wSnMDrnKK7ebr+I0hHRN1BU= | ||||
google.golang.org/protobuf v1.36.3/go.mod h1:9fA7Ob0pmnwhb644+1+CVWFRbNajQ6iRojtC/QF5bRE= | ||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= | ||||
| ||||
Reference in New Issue
Block a user