A convenience provider for reading `.env` files in Terraform.

Terraform Provider dotenv

This is a convenience provider for Terraform that provides a data source for reading .env files.

Using the provider

Below is an example illustrating how to use the data source with a kubernetes_config_map resource.

terraform {
  required_providers {
    dotenv = {
      source  = "jrhouston/dotenv"
      version = "~> 1.0"
    }
  }
}

provider kubernetes {
  config_path = "~/.kube/config"
}

data dotenv dev_config {
  # NOTE there must be a file called `dev.env` in the same directory as the .tf config
  filename = "dev.env"
}

resource kubernetes_config_map cm {
  metadata {
    name = "example"
  }

  data = data.dotenv.dev_config.env
}

Requirements

Building The Provider

  1. Clone the repository
  2. Enter the repository directory
  3. Build the provider using the Go install command:
$ go install

Adding Dependencies

This provider uses Go modules. Please see the Go documentation for the most up to date information about using Go modules.

To add a new dependency github.com/author/dependency to your Terraform provider:

go get github.com/author/dependency
go mod tidy

Then commit the changes to go.mod and go.sum.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (see Requirements above).

To compile the provider, run go install. This will build the provider and put the provider binary in the $GOPATH/bin directory.

To generate or update documentation, run go generate.

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc
Owner
Comments
  • Bump goreleaser/goreleaser-action from 2.8.0 to 3.2.0

    Bump goreleaser/goreleaser-action from 2.8.0 to 3.2.0

    Bumps goreleaser/goreleaser-action from 2.8.0 to 3.2.0.

    Release notes

    Sourced from goreleaser/goreleaser-action's releases.

    v3.2.0

    What's Changed

    • chore: remove workaround for setOutput by @​crazy-max (#374)
    • chore(deps): bump @​actions/core from 1.9.1 to 1.10.0 (#372)
    • chore(deps): bump yargs from 17.5.1 to 17.6.0 (#373)

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3.1.0...v3.2.0

    v3.1.0

    What's Changed

    • fix: dist resolution from config file by @​crazy-max (#369)
    • ci: fix workflow by @​crazy-max (#357)
    • docs: bump actions to latest major by @​crazy-max (#356)
    • chore(deps): bump crazy-max/ghaction-import-gpg from 4 to 5 (#360)
    • chore(deps): bump ghaction-import-gpg to v5 (#359)
    • chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#358)
    • chore(deps): bump @​actions/core from 1.8.2 to 1.9.1 (#367)

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3.0.0...v3.1.0

    v3.0.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v2.9.1...v3.0.0

    v2.9.1

    What's Changed

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v2...v2.9.1

    v2.9.0

    What's Changed

    ... (truncated)

    Commits
    • b508e2e chore: remove workaround for setOutput (#374)
    • 0ca84fc chore(deps): bump yargs from 17.5.1 to 17.6.0 (#373)
    • 685a991 chore(deps): bump @​actions/core from 1.9.1 to 1.10.0 (#372)
    • ff11ca2 fix: dist resolution from config file (#369)
    • ef54bd4 chore(deps): bump @​actions/core from 1.8.2 to 1.9.1 (#367)
    • aab65f3 chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#358)
    • 7bb9301 chore(deps): bump ghaction-import-gpg to v5 (#359)
    • 50f10b3 chore(deps): bump crazy-max/ghaction-import-gpg from 4 to 5 (#360)
    • 188063d ci: fix workflow (#357)
    • 7e270cc docs: bump actions to latest major (#356)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.24.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.24.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.24.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.24.0

    ENHANCEMENTS:

    • helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)

    v2.23.0

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    v2.22.0

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    v2.21.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.24.0 (October 13, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type RefreshState field, which enables a step that refreshes state without an explicit apply or configuration changes (#1070)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateVerify field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and their dependent data sources (#1077)

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    2.21.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    2.20.0 (July 28, 2022)

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    2.19.0 (July 15, 2022)

    ... (truncated)

    Commits
    • 3827d73 Update CHANGELOG for 2.24.0
    • bee17ac Adding test coverage for changes to ignore data sources in imported state (#1...
    • 443a5c7 [COMPLIANCE] Update MPL 2.0 LICENSE (#1078)
    • 1dba057 Adding RefreshState test step (#1070)
    • 3495894 helper/schema: Compile valid field name regex once (#1062)
    • 6c09938 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.14.0 to 2.14.1 (#1067)
    • e6f34f7 build(deps): Bump leonsteinhaeuser/project-beta-automations (#1068)
    • fa98583 Merge DevPortal into Main (#1061)
    • a0ace48 Update CHANGELOG for 2.23.0
    • 755f211 helper/resource: Add Terraform configuration to TRACE logging (#1059)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump actions/checkout from 2.4.0 to 3.1.0

    Bump actions/checkout from 2.4.0 to 3.1.0

    Bumps actions/checkout from 2.4.0 to 3.1.0.

    Release notes

    Sourced from actions/checkout's releases.

    v3.1.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/actions/checkout/compare/v3.0.2...v3.1.0

    v3.0.2

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v3...v3.0.2

    v3.0.1

    v3.0.0

    • Updated to the node16 runtime by default
      • This requires a minimum Actions Runner version of v2.285.0 to run, which is by default available in GHES 3.4 or later.

    v2.4.2

    What's Changed

    Full Changelog: https://github.com/actions/checkout/compare/v2...v2.4.2

    v2.4.1

    • Fixed an issue where checkout failed to run in container jobs due to the new git setting safe.directory
    Changelog

    Sourced from actions/checkout's changelog.

    v3.1.0

    v3.0.2

    v3.0.1

    v3.0.0

    v2.3.1

    v2.3.0

    v2.2.0

    v2.1.1

    • Changes to support GHES (here and here)

    v2.1.0

    v2.0.0

    v2 (beta)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.23.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.23.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.23.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.23.0

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    v2.22.0

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    v2.21.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

    • helper/resource: Added Terraform configuration to TRACE logging (#1059)
    • helper/resource: Added terraform plan output to TRACE logging (#1058)

    BUG FIXES:

    • helper/resource: Prevented Inconsistent dependency lock file errors when using ExternalProviders outside the hashicorp namespace (#1057)

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    2.21.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    2.20.0 (July 28, 2022)

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    2.19.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    ... (truncated)

    Commits
    • a0ace48 Update CHANGELOG for 2.23.0
    • 755f211 helper/resource: Add Terraform configuration to TRACE logging (#1059)
    • 0f41bb0 helper/resource: Add terraform plan output to TRACE logging (#1058)
    • a096f3a internal/plugintest: Switch from (os.File).Readdir() to os.ReadDir() (#1056)
    • ef65fde helper/resource: Prevent Inconsistent dependency lock file errors when usin...
    • 44ccfdc build(deps): Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#1054)
    • c425f01 Update CHANGELOG for 2.22.0
    • d0009e2 Use ImportStatePersist to preserve state generated by import operation (#1052)
    • 3951e14 build(deps): Bump leonsteinhaeuser/project-beta-automations (#1051)
    • ec0c139 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.13.0 to 2.14.0 (#1046)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.22.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.22.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.22.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.22.0

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    v2.21.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    v2.17.0

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

    • helper/resource: Add ImportStatePersist to optionally persist state generated during import (#1052)

    BUG FIXES:

    • helper/schema: Delayed deprecated attribute warnings for unknown values, which may be null (#1047)
    • helper/schema: Included path information in list size diagnostics for cases where Terraform does not include the configuration source (#826)

    2.21.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    2.20.0 (July 28, 2022)

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    2.19.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    2.17.0 (May 31, 2022)

    NOTES:

    ... (truncated)

    Commits
    • c425f01 Update CHANGELOG for 2.22.0
    • d0009e2 Use ImportStatePersist to preserve state generated by import operation (#1052)
    • 3951e14 build(deps): Bump leonsteinhaeuser/project-beta-automations (#1051)
    • ec0c139 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.13.0 to 2.14.0 (#1046)
    • 89d4f75 build(deps): Bump github.com/hashicorp/terraform-exec (#1044)
    • 0393316 plugin: Additional documentation clarification of ServeOpts type ProviderAddr...
    • 6ffc927 Update CHANGELOG for #1047
    • 1288887 schema: fix unknown value validation bug (#1047)
    • a5eecf7 helper/logging: Update test Content-Type header to match terraform.io change ...
    • 1423b82 Update CHANGELOG for #826
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump actions/setup-go from 2.1.3 to 3.3.0

    Bump actions/setup-go from 2.1.3 to 3.3.0

    Bumps actions/setup-go from 2.1.3 to 3.3.0.

    Release notes

    Sourced from actions/setup-go's releases.

    Support architecture input and fix Expand-Archive issue

    This release introduces support for architecture input for setup-go action #253. It also adds support for arm32 architecture for self-hosted runners. If architecture is not provided action will use default runner architecture. Example of usage:

    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-go@v3
      with:
       go-version: '1.16'
       architecture: arm
    

    This release also provides fix for issue #241. #250 adds support for using explicit filename for Windows which is necessary to satisfy Expand-Archive's requirement on .zip extension.

    Update actions/cache version to 3.0.0

    In scope of this release we updated actions/cache package as the new version contains fixes for caching error handling

    Support for caching dependency files and compiler's build outputs

    This release introduces support for caching dependency files and compiler's build outputs #228. For that action uses @​toolkit/cache library under the hood that in turn allows getting rid of configuring @​actions/cache action separately and simplifies the whole workflow.

    Such input parameters as cache and cache-dependency-path were added. The cache input is optional, and caching is turned off by default, cache-dependency-path is used to specify the path to a dependency file - go.sum.

    Examples of use-cases:

    • cache input only:
    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-go@v3
      with:
        go-version: '18'
        cache: true
    
    • cache along with cache-dependency-path:
    steps:
    - uses: actions/checkout@v3
    - uses: actions/setup-go@v3
      with:
        go-version: '18'
        cache: true
        cache-dependency-path: subdir/go.sum
    

    Add go-version-file input

    Adding Go version file support

    ... (truncated)

    Commits
    • 268d8c0 Add support for arm32 go arch (#253)
    • f279813 Merge pull request #250 from jromero/feature/windows-download-filename
    • 1022489 Merge pull request #249 from e-korolevskii/main
    • e0dce94 Use explicit filename when downloading Windows go package
    • dab57c7 update docs
    • f2e56d8 Merge pull request #246 from e-korolevskii/Update-contributors-guide
    • edd0aca update tests path
    • f3e3b7c Update docs/contributors.md
    • 4a0c081 Update docs/contributors.md
    • 185e7f2 Update docs/contributors.md
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump goreleaser/goreleaser-action from 2.8.0 to 3.1.0

    Bump goreleaser/goreleaser-action from 2.8.0 to 3.1.0

    Bumps goreleaser/goreleaser-action from 2.8.0 to 3.1.0.

    Release notes

    Sourced from goreleaser/goreleaser-action's releases.

    v3.1.0

    What's Changed

    • fix: dist resolution from config file by @​crazy-max (#369)
    • ci: fix workflow by @​crazy-max (#357)
    • docs: bump actions to latest major by @​crazy-max (#356)
    • chore(deps): bump crazy-max/ghaction-import-gpg from 4 to 5 (#360)
    • chore(deps): bump ghaction-import-gpg to v5 (#359)
    • chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#358)
    • chore(deps): bump @​actions/core from 1.8.2 to 1.9.1 (#367)

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v3.0.0...v3.1.0

    v3.0.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v2.9.1...v3.0.0

    v2.9.1

    What's Changed

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v2...v2.9.1

    v2.9.0

    What's Changed

    Full Changelog: https://github.com/goreleaser/goreleaser-action/compare/v2.8.1...v2.9.0

    v2.8.1

    ... (truncated)

    Commits
    • ff11ca2 fix: dist resolution from config file (#369)
    • ef54bd4 chore(deps): bump @​actions/core from 1.8.2 to 1.9.1 (#367)
    • aab65f3 chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#358)
    • 7bb9301 chore(deps): bump ghaction-import-gpg to v5 (#359)
    • 50f10b3 chore(deps): bump crazy-max/ghaction-import-gpg from 4 to 5 (#360)
    • 188063d ci: fix workflow (#357)
    • 7e270cc docs: bump actions to latest major (#356)
    • 68acf3b chore(deps): bump @​actions/tool-cache from 1.7.2 to 2.0.1 (#355)
    • 46da113 chore: node 16 as default runtime (#343)
    • 223909a chore: update
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.21.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.21.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.21.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.21.0

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    v2.17.0

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    v2.16.0

    ENHANCEMENTS:

    • helper/resource: Added error logging before failing tests, so errors are visible in test output and any separate log file (#958)

    BUG FIXES:

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.21.0 (August 15, 2022)

    NOTES:

    • This Go module has been updated to Go 1.18 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#1027)

    BUG FIXES:

    • helper/resource: Fixed TestStep type Taint field usage to properly recreate resources (#1031)
    • helper/schema: Ensured RawConfig, RawPlan, and RawState are correctly copied during planning with recreation (#1024)

    2.20.0 (July 28, 2022)

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    2.19.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    2.17.0 (May 31, 2022)

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    ... (truncated)

    Commits
    • e14d3b6 Updating CHANGELOG.md for 2.21.0
    • 848ee9f helper/schema: Ensure InstanceDiff RawConfig/RawPlan/RawState are always copi...
    • 5ba37ad build(deps): Bump github.com/hashicorp/terraform-plugin-go (#1033)
    • 989becd Modifying underlying logic behind TestStep.Taint to call the `terrafom tain...
    • 1fdf154 website: Replace interface{} with any (#1029)
    • 7f4847b helper/schema: Clarify Schema type Deprecated documentation for Terraform 1.2...
    • 28f7b22 all: Bump Go Version to 1.18 (#1027)
    • 156a638 all: Run Go 1.19 fmt (#1025)
    • 2f7133b build(deps): Bump leonsteinhaeuser/project-beta-automations (#1021)
    • c004533 build(deps): Bump github.com/hashicorp/terraform-plugin-go (#1019)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.20.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.20.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.20.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.20.0

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    v2.17.0

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    v2.16.0

    ENHANCEMENTS:

    • helper/resource: Added error logging before failing tests, so errors are visible in test output and any separate log file (#958)

    BUG FIXES:

    v2.15.0

    FEATURES:

    • helper/resource: New TestCheckResourceAttrWith test helper, that simplifies checking of attribute values via custom functions (#950)

    ENHANCEMENTS:

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.20.0 (July 28, 2022)

    NOTES:

    • helper/logging: Existing NewTransport() is now deprecated in favour of using the new NewLoggingHTTPTransport() or NewSubsystemLoggingHTTPTransport() (#1006)

    FEATURES:

    • helper/logging: New NewLoggingHTTPTransport() and NewSubsystemLoggingHTTPTransport() functions, providing http.RoundTripper Transport implementations that log request/response using terraform-plugin-log (#546) (#1006)

    2.19.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    2.17.0 (May 31, 2022)

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    2.16.0 (May 10, 2022)

    ENHANCEMENTS:

    • helper/resource: Added error logging before failing tests, so errors are visible in test output and any separate log file (#958)

    BUG FIXES:

    2.15.0 (May 4, 2022)

    ... (truncated)

    Commits
    • a21509d Preparing CHANGELOG for 2.20.0 (#1017)
    • fa35150 website: Logging navigation adjustments, minor HTTP Transport page fixes (#1016)
    • 92520a9 New SDKv2/logging documentation section (#1011)
    • 69b5079 helper/schema: Clarify Schema type Deprecated field usage (#1013)
    • 426ae64 Introduce NewLoggingHTTPTransport and deprecate NewTransport (#1006)
    • 06cd54f chore: readme and contributing (#1008)
    • b61403b Update CHANGELOG for 2.19.0
    • 9f6c454 Update CHANGELOG for #1003
    • 9ab0fa2 build(deps): Bump github.com/hashicorp/terraform-plugin-log from 0.4.1 to 0.6...
    • 70ce77b .github: Remove @​hashicorp/team-tw-packer-and-terraform from CODEOWNERS (#999)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.19.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.19.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.19.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.19.0

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    v2.18.0

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    v2.17.0

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    v2.16.0

    ENHANCEMENTS:

    • helper/resource: Added error logging before failing tests, so errors are visible in test output and any separate log file (#958)

    BUG FIXES:

    v2.15.0

    FEATURES:

    • helper/resource: New TestCheckResourceAttrWith test helper, that simplifies checking of attribute values via custom functions (#950)

    ENHANCEMENTS:

    • helper/schema: Propagated tf_data_source_type, tf_req_id, tf_resource_type, and tf_rpc fields in log entries (#955)

    BUG FIXES:

    • helper/resource: Prevented Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options warning logs during acceptance testing (#955)

    v2.14.0

    NOTES:

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.19.0 (July 15, 2022)

    NOTES:

    • The underlying terraform-plugin-log dependency has been updated to v0.6.0, which includes log filtering support and breaking changes of With() to SetField() function names. Any provider logging which calls those functions may require updates. (#1003)

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    2.17.0 (May 31, 2022)

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    2.16.0 (May 10, 2022)

    ENHANCEMENTS:

    • helper/resource: Added error logging before failing tests, so errors are visible in test output and any separate log file (#958)

    BUG FIXES:

    2.15.0 (May 4, 2022)

    FEATURES:

    • helper/resource: New TestCheckResourceAttrWith test helper, that simplifies checking of attribute values via custom functions (#950)

    ENHANCEMENTS:

    • helper/schema: Propagated tf_data_source_type, tf_req_id, tf_resource_type, and tf_rpc fields in log entries (#955)

    BUG FIXES:

    ... (truncated)

    Commits
    • b61403b Update CHANGELOG for 2.19.0
    • 9f6c454 Update CHANGELOG for #1003
    • 9ab0fa2 build(deps): Bump github.com/hashicorp/terraform-plugin-log from 0.4.1 to 0.6...
    • 70ce77b .github: Remove @​hashicorp/team-tw-packer-and-terraform from CODEOWNERS (#999)
    • d02874b build(deps): Bump github.com/hashicorp/terraform-plugin-go (#1000)
    • 62e2d2d website: Documentation for parallel logging issues with TF_LOG_PATH_MASK (#997)
    • 079dac2 Update CHANGELOG for 2.18.0
    • e76916f build(deps): Bump github.com/hashicorp/terraform-plugin-go from 0.9.1 to 0.10...
    • a9d04ec helper/resource: Add TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER envir...
    • aad6301 build(deps): Bump github.com/hashicorp/terraform-exec (#994)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.18.0

    Bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.18.0

    Bumps github.com/hashicorp/terraform-plugin-sdk/v2 from 2.8.0 to 2.18.0.

    Release notes

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's releases.

    v2.18.0

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    v2.17.0

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    v2.16.0

    ENHANCEMENTS:

    • helper/resource: Added error logging before failing tests, so errors are visible in test output and any separate log file (#958)

    BUG FIXES:

    v2.15.0

    FEATURES:

    • helper/resource: New TestCheckResourceAttrWith test helper, that simplifies checking of attribute values via custom functions (#950)

    ENHANCEMENTS:

    • helper/schema: Propagated tf_data_source_type, tf_req_id, tf_resource_type, and tf_rpc fields in log entries (#955)

    BUG FIXES:

    • helper/resource: Prevented Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options warning logs during acceptance testing (#955)

    v2.14.0

    NOTES:

    • This Go module has been updated to Go 1.17 per the Go support policy. Any consumers building on earlier Go versions may experience errors. (#934)

    BUG FIXES:

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/terraform-plugin-sdk/v2's changelog.

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    • helper/resource: Added TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER environment variable handling for Terraform versions 0.15 and later (#993)
    • helper/schema: Added sdk.proto logger request duration and response diagnostics logging (#996)

    BUG FIXES:

    • helper/resource: Ensured errors are always logged. (#983)

    2.17.0 (May 31, 2022)

    NOTES:

    • helper/resource: Provider references or external installation can now be handled at either the TestCase or TestStep level. Using the TestStep handling, advanced use cases are now enabled such as state upgrade acceptance testing. (#972)

    ENHANCEMENTS:

    • helper/resource: Added TestStep type ExternalProviders, ProtoV5ProviderFactories, ProtoV6ProviderFactories, and ProviderFactories fields (#972)

    BUG FIXES:

    • helper/resource: Removed extraneous terraform state show command when not using the TestStep type Taint field (#972)

    2.16.0 (May 10, 2022)

    ENHANCEMENTS:

    • helper/resource: Added error logging before failing tests, so errors are visible in test output and any separate log file (#958)

    BUG FIXES:

    2.15.0 (May 4, 2022)

    FEATURES:

    • helper/resource: New TestCheckResourceAttrWith test helper, that simplifies checking of attribute values via custom functions (#950)

    ENHANCEMENTS:

    • helper/schema: Propagated tf_data_source_type, tf_req_id, tf_resource_type, and tf_rpc fields in log entries (#955)

    BUG FIXES:

    • helper/resource: Prevented Unable to create logging subsystem with AdditionalLocationOffset due to missing root logger options warning logs during acceptance testing (#955)

    2.14.0 (April 14, 2022)

    NOTES:

    ... (truncated)

    Commits
    • 079dac2 Update CHANGELOG for 2.18.0
    • e76916f build(deps): Bump github.com/hashicorp/terraform-plugin-go from 0.9.1 to 0.10...
    • a9d04ec helper/resource: Add TF_ACC_LOG, TF_LOG_CORE, and TF_LOG_PROVIDER envir...
    • aad6301 build(deps): Bump github.com/hashicorp/terraform-exec (#994)
    • 8486195 Mention terraform-plugin-framework in README (#991)
    • 3c1d68d build(deps): Bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0 (#990)
    • 3e56ecf build(deps): Bump github.com/hashicorp/terraform-exec (#989)
    • ec85dbd build(deps): Bump github.com/hashicorp/hc-install from 0.3.2 to 0.4.0 (#988)
    • b8e2b04 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.12.0 to 2.13.0 (#987)
    • 06c780f build(deps): Bump github.com/hashicorp/terraform-exec (#986)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • Bump actions/setup-go from 3.3.1 to 3.5.0

    Bump actions/setup-go from 3.3.1 to 3.5.0

    Bumps actions/setup-go from 3.3.1 to 3.5.0.

    Release notes

    Sourced from actions/setup-go's releases.

    Add support for stable and oldstable aliases

    In scope of this release we introduce aliases for the go-version input. The stable alias instals the latest stable version of Go. The oldstable alias installs previous latest minor release (the stable is 1.19.x -> the oldstable is 1.18.x).

    Stable

    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version: 'stable'
      - run: go run hello.go
    

    OldStable

    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version: 'oldstable'
      - run: go run hello.go
    

    Add support for go.work and pass the token input through on GHES

    In scope of this release we added support for go.work file to pass it in go-version-file input.

    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-go@v3
        with:
          go-version-file: go.work
      - run: go run hello.go
    

    Besides, we added support to pass the token input through on GHES.

    Commits
    • 6edd440 fix log for stable aliases (#303)
    • 38dbe75 Add stable and oldstable aliases (#300)
    • 30c39bf Merge pull request #301 from jongwooo/chore/use-cache-in-check-dist
    • 8377b69 Use cache in check-dist.yml
    • d0a58c1 Merge pull request #294 from JamesMGreene/patch-1
    • 3dcd9d6 Update to latest actions/publish-action
    • e983b65 Merge pull request #283 from koba1t/add_support_gowork_for_go-version-file
    • 27b43e1 Pass the token input through on GHES (#277)
    • 7678c83 add support gowork for go-version-file
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
`tfx` is a standalone CLI for Terraform Cloud and Terraform Enterprise.
`tfx` is a standalone CLI for Terraform Cloud and Terraform Enterprise.

TFx CLI tfx is a standalone CLI for Terraform Cloud and Terraform Enterprise. The initial focus of tfx is to execute the API-Driven workflow for a Wor

Dec 21, 2022
Terraform Redshift provider

Terraform Provider for AWS Redshift This provider allows to manage with Terraform AWS Redshift objects like users, groups, schemas, etc.. It's publish

Dec 12, 2022
Terraform MCS Provider

Terraform MCS Provider Documentation https://registry.terraform.io/providers/MailRuCloudSolutions/mcs/latest/docs Requirements Terraform 1.0.x Go 1.16

Jun 5, 2022
DBT Cloud Terraform Provider

terraform-provider-dbt-cloud Terraform Provider for DBT Cloud Primarily focused on managing jobs in DBT Cloud, given what is available via the API. Da

Dec 11, 2022
This package to make it easy to work with env

Go Env This package to make it easy to work with env Example usage package main

Jan 30, 2022
Envopts - Provides a code generator for turning env structs into functional options

envopts Provides a code generator to turn structs annotated for the popular env

Jan 10, 2022
Library and command line tool for reading xDSL stats

xDSL Stats Parser This is a library and command line tool for reading basic xDSL stats, as well bitloading, SNR, QLN and Hlog data. It supports many d

Nov 12, 2022
I like reading news but I also like the terminal. I am leaning and practicing my go.
I like reading news but I also like the terminal. I am leaning and practicing my go.

I made an api and didn't know how to use it. Screenshots The initial screen when you first run the app. The screen after you specify an id. This app u

Jan 14, 2022
Speaker command reads aloud the text message. It supports multilingual voice reading

speaker - Read the text aloud speaker command reads aloud the text message. It supports multilingual voice reading. If you want the time signal, the s

Aug 22, 2022
Convenient wrappers for reading inputs.

read Convenient wrappers for reading inputs. Examples fmt.Print("input> ") line, err := read.Line() if err != nil { panic(err) } fmt.Println(line) Us

Feb 5, 2022
lls is lightweight ls. Using lls, you can get a list of files in a directory that contains a large number of files.

lls lls is lightweight ls. Using lls, you can get a list of files in a directory that contains a large number of files. How? You allocate a buffer for

Dec 29, 2022
Watcher - A simple command line app to watch files in a directory for changes and run a command when files change!

Watcher - Develop your programs easily Watcher watches all the files present in the directory it is run from of the directory that is specified while

Mar 27, 2022
tinygo-used-files is a CLI tool that lists only the files to be built as specified by buildtag.

tinygo-used-files is a CLI tool that lists only the files to be built as specified by buildtag.

Feb 6, 2022
Related is a simple cli utility tool to create files or a group of files.

Related - Create files based on individual definitions or groups Related helps with common file-creation-based tasks. You can predefine single types a

Apr 16, 2022
A CLI Tool to easily generate your Terraform configuration

Tf Tf is a command line tool to easily generate your Terraform configuration with an interactive prompt. Inspiration Boredom in Covid-19 Installation

Sep 30, 2022
Command Line Interface for Terraform Enterprise/Cloud ( tecli )
Command Line Interface for Terraform Enterprise/Cloud ( tecli )

In a world where everything is Terraform, teams use Terraform Cloud API to manage their workloads. TECLI increases teams productivity by facilitating such interaction and by providing easy commands that can be executed on a terminal or on CI/CD systems.

Dec 16, 2022
Declaratively configure your Hydra server with Terraform.

terraform-provider-hydra The Terraform Hydra provider is a plugin for Terraform that allows for declarative management of a Hydra instance. You can fi

Nov 9, 2022
CLI to support with downloading and compiling terraform providers for Mac with M1 chip

m1-terraform-provider-helper A CLI to help with managing the installation and compilation of terraform providers when running a new M1 Mac. Motivation

Jan 2, 2023
Terraform gitlab environment

terraform-gitlab-environment terraform-gitlab-environment for gitlab Requirements This is a list of plugins that need to be installed previously to en

Feb 23, 2022