File tree Expand file tree Collapse file tree 8 files changed +103
-281
lines changed Expand file tree Collapse file tree 8 files changed +103
-281
lines changed Original file line number Diff line number Diff line change @@ -29,3 +29,4 @@ website/vendor
29
29
# Test exclusions
30
30
! command /test-fixtures /** /* .tfstate
31
31
! command /test-fixtures /** /.terraform /
32
+ /terraform-provider-null
Original file line number Diff line number Diff line change
1
+ # Visit https://goreleaser.com for documentation on how to customize this
2
+ # behavior.
3
+ before :
4
+ hooks :
5
+ # this is just an example and not a requirement for provider building/publishing
6
+ - go mod tidy
7
+ builds :
8
+ - env :
9
+ # goreleaser does not work with CGO, it could also complicate
10
+ # usage by users in CI/CD systems like Terraform Cloud where
11
+ # they are unable to install libraries.
12
+ - CGO_ENABLED=0
13
+ mod_timestamp : ' {{ .CommitTimestamp }}'
14
+ flags :
15
+ - -trimpath
16
+ ldflags :
17
+ - ' -s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
18
+ goos :
19
+ - freebsd
20
+ - windows
21
+ - linux
22
+ - darwin
23
+ goarch :
24
+ - amd64
25
+ - ' 386'
26
+ - arm
27
+ - arm64
28
+ ignore :
29
+ - goos : darwin
30
+ goarch : ' 386'
31
+ - goos : freebsd
32
+ goarch : arm64
33
+ binary : ' {{ .ProjectName }}_v{{ .Version }}'
34
+ archives :
35
+ - format : zip
36
+ name_template : ' {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}'
37
+ checksum :
38
+ name_template : ' {{ .ProjectName }}_{{ .Version }}_SHA256SUMS'
39
+ algorithm : sha256
40
+ signs :
41
+ - artifacts : checksum
42
+ args :
43
+ # if you are using this is a GitHub action or some other automated pipeline, you
44
+ # need to pass the batch flag to indicate its not interactive.
45
+ - " --batch"
46
+ - " --local-user"
47
+ - " {{ .Env.GPG_FINGERPRINT }}" # set this environment variable for your signing key
48
+ - " --output"
49
+ - " ${signature}"
50
+ - " --detach-sign"
51
+ - " ${artifact}"
52
+ release :
53
+ # Visit your project's GitHub Releases page to publish this release.
54
+ draft : true
55
+ changelog :
56
+ skip : true
Original file line number Diff line number Diff line change 1
- ## 1.0.1 (Unreleased)
1
+ ## 1.1.0 (July 31, 2020)
2
+
3
+ * Add null_resource.inputs, outputs and values
4
+
5
+ NOTES:
6
+
7
+ * Migrate to terraform SDK v1
8
+ * Provider was forked and this version is no longer maintained by Terraform team
9
+
2
10
## 1.0.0 (September 26, 2017)
3
11
4
12
* No changes from 0.1.0; just adjusting to [ the new version numbering scheme] ( https://www.hashicorp.com/blog/hashicorp-terraform-provider-versioning/ ) .
Original file line number Diff line number Diff line change @@ -24,9 +24,22 @@ care and other solutions preferred when available.
24
24
25
25
See documentation for resources:
26
26
27
- - [ null_resource] ( docs/resource.html.markdown )
27
+ - [ null_resource] ( docs/resources/null_resource.md )
28
28
29
29
and for data sources:
30
30
31
- - [ null_data_source] ( docs/data_source.html.markdown )
31
+ - [ null_data_source] ( docs/data-sources/null_data_source.md )
32
+
33
+ Making a release
34
+ ----------------
35
+
36
+ From the [ upstream documentation] ( https://www.terraform.io/docs/registry/providers/publishing.html ) :
37
+
38
+ - ` export GPG_FINGERPRINT=01230FD4CC29DE17 `
39
+ - ` export GITHUB_TOKEN=... `
40
+ - Cache passphrase with ` gpg --armor --detach-sign --local-user $GPG_FINGERPRINT </dev/null `
41
+ - Create tag: ` git tag -s -u $GPG_FINGERPRINT vx.x.x `
42
+ - Make release: ` goreleaser release --rm-dist `
43
+
44
+
32
45
Original file line number Diff line number Diff line change 1
- ---
2
- layout : " null"
3
- page_title : " Null Resource"
4
- sidebar_current : " docs-data-source"
5
- description : |-
6
- A resource that does nothing.
7
- ---
8
-
9
- # Null Resource
1
+ # Null Data Source
2
+
3
+ * A data source that does nothing.*
10
4
11
5
The ` null_data_source ` data source implements the standard data source
12
6
lifecycle but does not interact with any external APIs.
Original file line number Diff line number Diff line change 1
- ---
2
- layout : " null"
3
- page_title : " Provider: Null"
4
- sidebar_current : " docs-null-index"
5
- description : |-
6
- The null provider provides no-op constructs that can be useful helpers in tricky cases.
7
- ---
8
-
9
1
# Null Provider
10
2
3
+ * The null provider provides no-op constructs that can be useful helpers in tricky cases.*
4
+
11
5
The ` null ` provider is a rather-unusual provider that has constructs that
12
6
intentionally do nothing. This may sound strange, and indeed these constructs
13
7
do not need to be used in most cases, but they can be useful in various
Original file line number Diff line number Diff line change 1
- ---
2
- layout : " null"
3
- page_title : " Null Resource"
4
- sidebar_current : " docs-null-resource"
5
- description : |-
6
- A resource that does nothing.
7
- ---
8
-
9
1
# Null Resource
10
2
3
+ * A resource that does nothingg*
4
+
11
5
The ` null_resource ` resource implements the standard resource lifecycle but
12
6
takes no further action.
13
7
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments