This repository was archived by the owner on Oct 6, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 8 files changed +11
-86
lines changed Expand file tree Collapse file tree 8 files changed +11
-86
lines changed Original file line number Diff line number Diff line change 24
24
"project_support_nomad" : false ,
25
25
"project_support_packer" : false ,
26
26
"project_support_terraform" : true ,
27
- "project_support_terraform_module" : true
27
+ "project_support_terraform_module" : false
28
28
}
29
29
},
30
30
"directory" : null ,
Original file line number Diff line number Diff line change @@ -31,14 +31,6 @@ updates:
31
31
open-pull-requests-limit : 8
32
32
assignees :
33
33
- " jlec"
34
- - package-ecosystem : " terraform"
35
- directory : " /"
36
- schedule :
37
- interval : " weekly"
38
- registries : " *"
39
- open-pull-requests-limit : 8
40
- assignees :
41
- - " jlec"
42
34
registries :
43
35
terraform-jlec :
44
36
type : terraform-registry
Original file line number Diff line number Diff line change 4
4
before :
5
5
hooks :
6
6
# this is just an example and not a requirement for provider building/publishing
7
- - go mod tidy
8
- # you may remove this if you don't need go generate
9
- - go generate ./...
7
+ - go mod tidy -v
10
8
builds :
11
- - binary : " {{ .ProjectName }}_v{{ .Version }}"
12
- env :
9
+ - env :
13
10
# goreleaser does not work with CGO, it could also complicate
14
11
# usage by users in CI/CD systems like Terraform Cloud where
15
12
# they are unable to install libraries.
@@ -19,19 +16,20 @@ builds:
19
16
- -trimpath
20
17
ldflags :
21
18
- " -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}"
22
- goarch :
23
- - amd64
24
- - " 386"
25
- - arm
26
- - arm64
27
19
goos :
28
- - freebsd
29
- - windows
20
+ # - freebsd
21
+ # - windows
30
22
- linux
31
23
- darwin
24
+ goarch :
25
+ - amd64
26
+ # - "386"
27
+ # - arm
28
+ - arm64
32
29
ignore :
33
30
- goos : darwin
34
31
goarch : " 386"
32
+ binary : " {{ .ProjectName }}_v{{ .Version }}"
35
33
archives :
36
34
- format : zip
37
35
name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
Original file line number Diff line number Diff line change 2
2
3
3
TF provider for Turing PI BMC
4
4
5
- <!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
6
- <!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
7
5
8
6
## License
9
7
Original file line number Diff line number Diff line change 3
3
TF provider for Turing PI BMC
4
4
5
5
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
6
- ## Requirements
7
-
8
- | Name | Version |
9
- | ------| ---------|
10
- | <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.4.0 |
11
- | <a name =" requirement_tfe " ></a > [ tfe] ( #requirement\_ tfe ) | ~ >0.40 |
12
-
13
- ## Providers
14
-
15
- | Name | Version |
16
- | ------| ---------|
17
- | <a name =" provider_tfe " ></a > [ tfe] ( #provider\_ tfe ) | ~ >0.40 |
18
-
19
- ## Modules
20
-
21
- No modules.
22
-
23
- ## Resources
24
-
25
- | Name | Type |
26
- | ------| ------|
27
- | [ tfe_registry_module.terraform-module] ( https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/resources/registry_module ) | resource |
28
- | [ tfe_oauth_client.gh_oauth_token] ( https://registry.terraform.io/providers/hashicorp/tfe/latest/docs/data-sources/oauth_client ) | data source |
29
-
30
- ## Inputs
31
-
32
- | Name | Description | Type | Default | Required |
33
- | ------| -------------| ------| ---------| :--------:|
34
- | <a name =" input_tfe_token " ></a > [ tfe\_ token] ( #input\_ tfe\_ token ) | TFE access for agents | ` string ` | n/a | yes |
35
-
36
- ## Outputs
37
-
38
- No outputs.
39
6
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
40
7
41
8
## License
Original file line number Diff line number Diff line change 1
1
locals {
2
- tfe_oauth_name = " TF/Github/jlec"
3
- tfe_org_name = " jlec"
4
- }
5
-
6
- data "tfe_oauth_client" "gh_oauth_token" {
7
- name = local. tfe_oauth_name
8
- organization = local. tfe_org_name
9
- }
10
-
11
- resource "tfe_registry_module" "terraform-module" {
12
- vcs_repo {
13
- display_identifier = " jlec/terraform-provider-turing-pi-bmc"
14
- identifier = " jlec/terraform-provider-turing-pi-bmc"
15
- oauth_token_id = data. tfe_oauth_client . gh_oauth_token . oauth_token_id
16
- }
17
2
}
Original file line number Diff line number Diff line change 1
-
2
- variable "tfe_token" {
3
- type = string
4
- description = " TFE access for agents"
5
- }
Original file line number Diff line number Diff line change @@ -7,14 +7,4 @@ terraform {
7
7
name = " terraform_provider_turing_pi_bmc"
8
8
}
9
9
}
10
- required_providers {
11
- tfe = {
12
- source = " hashicorp/tfe"
13
- version = " ~>0.40"
14
- }
15
- }
16
- }
17
- provider "tfe" {
18
- # Configuration options
19
- token = var. tfe_token
20
10
}
You can’t perform that action at this time.
0 commit comments