Terraform Provider for cascading runs across multiple workspaces.

Overview

Terraform Multispace Provider

The multispace Terraform provider implements resources to help work with multi-workspace workflows in Terraform Cloud (or Enterprise). The goal of the provider is to make it easy to perform cascading creation/deletes in the proper order across a series of dependent Terraform workspaces.

For more details on motivation, see the "why?" section.

Warning: Despite my affiliation with HashiCorp, this is NOT an official HashiCorp project and is not supported by HashiCorp. This was created on my personal time for personal use cases.

Features

  • Cascading create/destroy of multiple Terraform workspaces in dependency order.

  • Automatic retry of failed plans or applies within a workspace.

  • Optionally wait for a human to manually confirm a plan for one or more workspaces before continuing.

Installation

See the installation instructions on the Terraform Registry. Generally, add the mitchellh/multispace provider to your required_providers block and run terraform init:

terraform {
  required_providers {
    multispace = {
      source = "mitchellh/multispace"
      version = "
   
    "
   
    }
  }
}

Usage

The example below cascades applies and destroys across multiple workspaces.

The recommended usage includes pairing this with the tfe provider. The tfe provider is used to configure your workspaces, and the multispace provider is used to create a tree of workspaces that are initialized together.

Note on usage: I usually only use this to manage the create/destroy lifecycle today. The steady-state modification workflow uses the standard Terraform Cloud VCS-driven workflows. This provider just helps me stand up my initial environments and subsequently tear them down.

resource "multispace_run" "root" {
  # Use string workspace names here and not data sources so that
  # you can define the multispace runs before the workspace even exists.
  workspace    = "tfc"
  organization = "my-org"
}

resource "multispace_run" "physical" {
  organization = "my-org"
  workspace    = "k8s-physical"
  depends_on   = [multispace_run.root]

  retry = false
}

resource "multispace_run" "core" {
  organization = "my-org"
  workspace    = "k8s-core"
  depends_on   = [multispace_run.physical]
}

resource "multispace_run" "dns" {
  organization = "my-org"
  workspace    = "dns"
  depends_on   = [multispace_run.root]
  manual_confirm = true
}

resource "multispace_run" "ingress" {
  organization = "my-org"
  workspace    = "ingress"
  depends_on   = [multispace_run.core, multispace_run.dns]
}

Why?

Multiple workspaces are my recommended approach to working with Terraform. Small, focused workspaces make Terraform runs fast, limit the blast radius, and enable easier work separation by teams. The terraform_remote_state data source can be used to pass outputs from one workspace to another workspace. This enables a clean separation of responsibilities. This is also officially recommended by Terraform.

I also use multiple workspaces as a way to model environments: dev, staging, production, etc. An environment to me is a collection of many workspaces working together to create a working environment. For example, one project of mine has the following workspaces that depend on each other to create a full environment: k8s-physical, k8s-core, dns, metrics, etc.

The problem statement is that I do not have a good way to create my workspaces, create them all at once in the right order, and then destroy them if I'm done with the environment. Without this provider, I have to manually click through the Terraform Cloud UI.

With this provider, I can now create a single Terraform module that is used to launch a complete environment for a project, composed of multiple workspaces. And I can destroy that entire environment with a terraform destroy, which cascades a destroy through all the workspaces in the correct order thanks to Terraform.

Note that Terraform Cloud does provide run triggers but this doesn't quite solve my problem: I don't generally want run triggers, I just want to mainly do what I'd describe as a "cascading apply/destroy" for creation/destruction. For steady-state modifications once an environment exists, I use the typical Terraform Cloud VCS-driven workflow (which may or may not involve run triggers at that point).

Future Functionality

The list below has functionality I'd like to add in the future:

  • Only create if there is state, otherwise, assume initialization is done. This will allow this provider to be adopted into existing workspace trees more easily.

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
Issues
  • Unaccounted Run States in `resource_run` -> `waitForRun()`

    Unaccounted Run States in `resource_run` -> `waitForRun()`

    Depending on the specific TFE/TFC organization and/or workspace settings, it appears that resource_run may attempt invalid run transitions. That is, it attempts to apply a run when an apply is not an available action. For example, when the workspace targeted by resource_run has with cost estimation enabled and the run's plan is finished:

    -----------------------------------------------------: timestamp=2021-10-19T13:05:38.006-0500
    2021-10-19T13:05:38.007-0500 [INFO]  provider.terraform-provider-multispace_v0.1.0: 2021/10/19 13:05:38 [DEBUG] non-progressive state, exiting "cost_estimating": timestamp=2021-10-19T13:05:38.007-0500
    2021-10-19T13:05:38.007-0500 [INFO]  provider.terraform-provider-multispace_v0.1.0: 2021/10/19 13:05:38 [INFO] plan complete, confirming apply. "<some-run-id>": timestamp=2021-10-19T13:05:38.007-0500
    2021-10-19T13:05:38.008-0500 [INFO]  provider.terraform-provider-multispace_v0.1.0: 2021/10/19 13:05:38 [DEBUG] TFE API Request Details:
    ---[ REQUEST ]---------------------------------------
    POST /api/v2/runs/<some-run-id>/actions/apply HTTP/1.1
    Host: app.terraform.io
    
    < ... >
    
    {
     "data": {
      "type": "",
      "attributes": {
       "comment": "terraform-provider-multispace on Tue Oct 19 13:05:38 CDT 2021"
      }
     }
    }
    
    -----------------------------------------------------: timestamp=2021-10-19T13:05:38.008-0500
    multispace_run.certificates: Still creating... [4m40s elapsed]
    2021-10-19T13:05:38.059-0500 [TRACE] dag/walk: vertex "multispace_run.infrastructure" is waiting for "multispace_run.certificates"
    2021-10-19T13:05:38.080-0500 [INFO]  provider.terraform-provider-multispace_v0.1.0: 2021/10/19 13:05:38 [DEBUG] TFE API Response Details:
    ---[ RESPONSE ]--------------------------------------
    HTTP/2.0 409 Conflict
    
    <...>
    
    {
     "errors": [
      {
       "status": "409",
       "title": "transition not allowed"
      }
     ]
    }
    -----------------------------------------------------: timestamp=2021-10-19T13:05:38.080-0500
    2021-10-19T13:05:38.083-0500 [TRACE] maybeTainted: multispace_run.certificates encountered an error during creation, so it is now marked as tainted
    
    <...>
    ╷
    │ Error: transition not allowed
    │ 
    │   with multispace_run.certificates,
    │   on integration_tests.tf line 33, in resource "multispace_run" "certificates":
    │   33: resource "multispace_run" "certificates" {
    │ 
    ╵
    2021-10-19T13:05:38.129-0500 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
    2021-10-19T13:05:38.131-0500 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
    2021-10-19T13:05:38.132-0500 [DEBUG] provider.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
    

    and the tl;dr version of those debug logs:

    non-progressive state, exiting "cost_estimating": timestamp=2021-10-19T13:05:38.007-0500
    plan complete, confirming apply. "<some-run-id>": timestamp=2021-10-19T13:05:38.007-0500
    Error: transition not allowed
    

    I'm unclear on what the TFC API maintainers would consider the canonical method for determing when a run is ready to receive an apply action request. Perhaps the actions attribute on the workspace run would be a better fit? This is-confirmable key in particular:

    {
     "data": {
      "id": "<some-run-id>",
      "type": "runs",
      "attributes": {
       "actions": {
        "is-cancelable": true,
        "is-confirmable": false,
        "is-discardable": false,
        "is-force-cancelable": false
       },
       # ...
    }
    

    Anywho, I would be happy to try submitting a patch along these lines at some point but figured I would lodge an issue on the matter in the meantime. 😄

    opened by jeffwecan 4
  • Error: Run entered unexpected state

    Error: Run entered unexpected state "policy_checked", expected applied

    Terraform Version

    $ terraform -v
    Terraform v1.0.10
    on darwin_amd64
    + provider registry.terraform.io/hashicorp/null v3.1.0
    + provider registry.terraform.io/hashicorp/random v3.1.0
    + provider registry.terraform.io/hashicorp/tfe v0.26.1
    + provider registry.terraform.io/hashicorp/time v0.7.2
    + provider registry.terraform.io/mitchellh/multispace v0.1.0
    
    Your version of Terraform is out of date! The latest version
    is 1.0.11. You can update by downloading from https://www.terraform.io/downloads.html
    

    Affected Resource(s)

    multispace_run
    

    Expected Behavior

    What should have happened?

    terraform apply should have triggered a run on a workspace, and succeeded once that workspace had completed

    Actual Behavior

    What actually happened?

    ╷
    │ Error: Run "run-Bd9KyxHaiT5bQgVw" entered unexpected state "policy_checked", expected applied
    │
    │   with multispace_run.webserver["dev"],
    │   on main.tf line 96, in resource "multispace_run" "webserver":
    │   96: resource "multispace_run" "webserver" {
    │
    

    Steps to Reproduce

    • Have some sentinel policies enabled on a workspace
    • Workspace should also require manual approval before apply
    • Trigger the workspace with multispace_run

    Important Factoids

    Are there anything atypical about your accounts that we should know? For example: Running in EC2 Classic? Custom version of OpenStack? Tight ACLs?

    References

    To my layperson's eye, it appears the issue is in (at least) one of these places:

    • https://github.com/mitchellh/terraform-provider-multispace/blob/main/internal/provider/resource_run.go#L182-L194
    • https://github.com/mitchellh/terraform-provider-multispace/blob/main/internal/provider/resource_run.go#L222-L224
    • https://github.com/mitchellh/terraform-provider-multispace/blob/main/internal/provider/resource_run.go#L243-L249

    The provider does not account for the possibility that a run may be in a RunPolicy* or RunCost* state

    Seems like a relatively simple fix, so I may see if I can PR it myself :)

    opened by lucymhdavies 2
  • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.5.0

    Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.5.0

    Bumps github.com/hashicorp/go-tfe from 0.19.0 to 1.5.0.

    Release notes

    Sourced from github.com/hashicorp/go-tfe's releases.

    v1.5.0

    Enhancements

    • [BETA] Add support for triggering Workspace runs through matching Git tags by @​hashimoon #434
    • Add Query param field to AgentPoolListOptions to allow searching based on agent pool name, by @​JarrettSpiker #417
    • Add organization scope and allowed workspaces field for scope agents by @​Netra2104 #453
    • Adds Namespace and RegistryName fields to RegistryModuleID to allow reading of Public Registry Modules by @​Uk1288 #464

    Bug fixes

    • Fixed JSON mapping for Configuration Versions failing to properly set the speculative property by @​straubt1 #459

    v1.4.0

    Enhancements

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state, by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393
    • Adds Run Tasks API support by @​glennsarti #381, #382 and #383

    Bug fixes

    • Fixes ignored comment when performing apply, discard, cancel, and force-cancel run actions by @​brandonc #388

    v1.1.0

    Enhancements

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/go-tfe's changelog.

    v1.5.0

    Enhancements

    • [beta] Add support for triggering Workspace runs through matching Git tags #434
    • Add Query param field to AgentPoolListOptions to allow searching based on agent pool name, by @​JarrettSpiker #417
    • Add organization scope and allowed workspaces field for scope agents by @​Netra2104 #453
    • Adds Namespace and RegistryName fields to RegistryModuleID to allow reading of Public Registry Modules by @​Uk1288 #464

    Bug fixes

    • Fixed JSON mapping for Configuration Versions failing to properly set the speculative property #459

    v1.4.0

    Enhancements

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393
    • Adds Run Tasks API support by @​glennsarti #381, #382 and #383

    Bug fixes

    • Fixes ignored comment when performing apply, discard, cancel, and force-cancel run actions #388

    v1.1.0

    ... (truncated)

    Commits
    • de32e24 Merge pull request #463 from hashicorp/hashimoon/v1.5.0
    • b62af28 Merge pull request #458 from hashicorp/patch-panic
    • 7f3cf28 Update Changelog for v1.5.0
    • 0f7b645 Merge pull request #464 from hashicorp/uk1288-replace-deprecated-api
    • 1138e10 update test
    • 7df1f34 update test
    • 6c6a105 update PR number
    • 5ba4056 replace deprecated GET api for registry modules
    • 859701a Use require to prevent a panic when dereferencing a nil pointer
    • 833ec49 Merge pull request #417 from hashicorp/jspiker/agent-pool-search
    • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.4.0

    Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.4.0

    Bumps github.com/hashicorp/go-tfe from 0.19.0 to 1.4.0.

    Release notes

    Sourced from github.com/hashicorp/go-tfe's releases.

    v1.4.0

    Enhancements

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state, by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393
    • Adds Run Tasks API support by @​glennsarti #381, #382 and #383

    Bug fixes

    • Fixes ignored comment when performing apply, discard, cancel, and force-cancel run actions by @​brandonc #388

    v1.1.0

    Enhancements

    v1.0.0

    Breaking Changes

    • Renamed methods named Generate to Create for AgentTokens, OrganizationTokens, TeamTokens, UserTokens by @​sebasslash #327
    • Methods that express an action on a relationship have been prefixed with a verb, e.g Current() is now ReadCurrent() by @​sebasslash #327
    • All list option structs are now pointers @​uturunku1 #309
    • All errors have been refactored into constants in errors.go @​uturunku1 #310
    • The ID field in Create/Update option structs has been renamed to Type in accordance with the JSON:API spec by @​omarismail, @​uturunku1 #190, #323, #332

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/go-tfe's changelog.

    v1.4.0

    Enhancements

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393
    • Adds Run Tasks API support by @​glennsarti #381, #382 and #383

    Bug fixes

    • Fixes ignored comment when performing apply, discard, cancel, and force-cancel run actions #388

    v1.1.0

    Enhancements

    v1.0.0

    Breaking Changes

    • Renamed methods named Generate to Create for AgentTokens, OrganizationTokens, TeamTokens, UserTokens by @​sebasslash #327
    • Methods that express an action on a relationship have been prefixed with a verb, e.g Current() is now ReadCurrent() by @​sebasslash #327
    • All list option structs are now pointers @​uturunku1 #309
    • All errors have been refactored into constants in errors.go @​uturunku1 #310

    ... (truncated)

    Commits
    • 05a88ee Update CHANGELOG.md
    • 7ec05b6 Merge pull request #454 from hashicorp/mjyocca/runs-list-api-changelog
    • ae26154 Merge branch 'main' into mjyocca/runs-list-api-changelog
    • 21015f0 Merge pull request #452 from hashicorp/brandonc/jsonstateoutputs
    • fd0b70e test: TestConfigurationVersionsReadWithOptions should retry
    • 9008efb test: retry workspace read resource count test
    • b3fd1d7 test fix: revert me soon
    • 90f07dd Update state_version.go
    • 9bc3f45 Update state_version.go
    • 1fbe39d Update CHANGELOG.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)
    dependencies go 
    opened by dependabot[bot] 1
  • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.12.0

    Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.12.0

    Bumps github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.12.0.

    Release notes

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

    v0.12.0

    BUG FIXES:

    • template data: A regression was introduced in #155 making template data field HasExample and HasImport always true (#162).

    NEW FEATURES:

    • template functions: Added lower, upper and title (#162).

    ENHANCEMENTS:

    • Added documentation for all the template functions and template data fields (#162).

    v0.11.0

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI argument ignore-deprecated allows to skip deprecated resources and data-sources when generating docs (#154).

    BUG FIXES:

    • cmd/tfplugindocs: Pass through filepaths for examples and import to allow use of HasExample and HasImport template helpers in custom templates (#155).
    • cmd/tfplugindocs: Fixed issue with the generation of title and reference links, when nested attributes go too deep (#56).

    v0.10.1

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    v0.10.0

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    v0.9.0

    NEW FEATURES:

    • cmd/tflugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    • cmd/tflugindocs: Implemented usage output (i.e. --help) for generate and validate commands (#95).

    v0.8.1

    BUG FIXES:

    ... (truncated)

    Changelog

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

    0.12.0 (June 29, 2022)

    BUG FIXES:

    • template data: A regression was introduced in #155 making template data field HasExample and HasImport always true (#162).

    NEW FEATURES:

    • template functions: Added lower, upper and title (#162).

    ENHANCEMENTS:

    • Added documentation for all the template functions and template data fields (#162).

    0.11.0 (June 28, 2022)

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI argument ignore-deprecated allows to skip deprecated resources and data-sources when generating docs (#154).

    BUG FIXES:

    • cmd/tfplugindocs: Pass through filepaths for examples and import to allow use of HasExample and HasImport template helpers in custom templates (#155).
    • cmd/tfplugindocs: Fixed issue with the generation of title and reference links, when nested attributes go too deep (#56).

    0.10.1 (June 14, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    0.10.0 (June 13, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    0.9.0 (June 1, 2022)

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    ... (truncated)

    Commits
    • fac6290 Preparing changelog for 0.12.0
    • 88d3e4a Also fixing HasExample for Provider templates
    • f34937b Adding lower, upper and title functions
    • 1998ecc Document template data fields and functions
    • 35b2c89 Bugfix: Ensure we don't set HasExample and HasImport unless the file actu...
    • 45633dd Update README.md
    • 9f026b2 Updating README with explicit call-out to the usages
    • 6339051 Preparing CHANGELOG for 0.11.0
    • acb07f7 Updating deps
    • e778685 Bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0
    • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.11.0

    Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.11.0

    Bumps github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.11.0.

    Release notes

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

    v0.11.0

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI argument ignore-deprecated allows to skip deprecated resources and data-sources when generating docs (#154).

    BUG FIXES:

    • cmd/tfplugindocs: Pass through filepaths for examples and import to allow use of HasExample and HasImport template helpers in custom templates (#155).
    • cmd/tfplugindocs: Fixed issue with the generation of title and reference links, when nested attributes go too deep (#56).

    v0.10.1

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    v0.10.0

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    v0.9.0

    NEW FEATURES:

    • cmd/tflugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    • cmd/tflugindocs: Implemented usage output (i.e. --help) for generate and validate commands (#95).

    v0.8.1

    BUG FIXES:

    v0.8.0

    ENHANCEMENTS:

    • template functions: Added split to help separating a string into substrings (#70).

    BUG FIXES:

    • cmd/tflugindocs: Support for schemas containing empty nested attributes or empty nested blocks (#99, #134).
    • schemamd: Attribute ID is considered "Read Only", unless there's a description defined, in which case it's handled like any other attribute in the schema (#46, #134).

    ... (truncated)

    Changelog

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

    0.11.0 (June 28, 2022)

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI argument ignore-deprecated allows to skip deprecated resources and data-sources when generating docs (#154).

    BUG FIXES:

    • cmd/tfplugindocs: Pass through filepaths for examples and import to allow use of HasExample and HasImport template helpers in custom templates (#155).
    • cmd/tfplugindocs: Fixed issue with the generation of title and reference links, when nested attributes go too deep (#56).

    0.10.1 (June 14, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    0.10.0 (June 13, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    0.9.0 (June 1, 2022)

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Implemented usage output (i.e. --help) for generate and validate commands (#95).

    0.8.1 (May 10, 2022)

    BUG FIXES:

    0.8.0 (May 3, 2022)

    ENHANCEMENTS:

    • template functions: Added split to help separating a string into substrings (#70).

    ... (truncated)

    Commits
    • 45633dd Update README.md
    • 9f026b2 Updating README with explicit call-out to the usages
    • 6339051 Preparing CHANGELOG for 0.11.0
    • acb07f7 Updating deps
    • e778685 Bump github.com/hashicorp/go-version from 1.5.0 to 1.6.0
    • cabc562 Fix title and reference links of nested blocks/attributes
    • 044f0f3 Update CHANGELOG
    • 1a3dce2 Add option to ignore deprecated resources and data-sources
    • 091ffc6 Bump github.com/hashicorp/terraform-exec from 0.17.0 to 0.17.1
    • ad61b2c add CHANGELOG entry
    • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.10.1

    Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.10.1

    Bumps github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.10.1.

    Release notes

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

    v0.10.1

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    v0.10.0

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    v0.9.0

    NEW FEATURES:

    • cmd/tflugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    • cmd/tflugindocs: Implemented usage output (i.e. --help) for generate and validate commands (#95).

    v0.8.1

    BUG FIXES:

    v0.8.0

    ENHANCEMENTS:

    • template functions: Added split to help separating a string into substrings (#70).

    BUG FIXES:

    • cmd/tflugindocs: Support for schemas containing empty nested attributes or empty nested blocks (#99, #134).
    • schemamd: Attribute ID is considered "Read Only", unless there's a description defined, in which case it's handled like any other attribute in the schema (#46, #134).

    v0.7.0

    ENHANCEMENTS:

    BUG FIXES:

    ... (truncated)

    Changelog

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

    0.10.1 (June 14, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    0.10.0 (June 13, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    0.9.0 (June 1, 2022)

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Implemented usage output (i.e. --help) for generate and validate commands (#95).

    0.8.1 (May 10, 2022)

    BUG FIXES:

    0.8.0 (May 3, 2022)

    ENHANCEMENTS:

    • template functions: Added split to help separating a string into substrings (#70).

    BUG FIXES:

    • cmd/tflugindocs: Support for schemas containing empty nested attributes or empty nested blocks (#99, #134).
    • schemamd: Attribute ID is considered "Read Only", unless there's a description defined, in which case it's handled like any other attribute in the schema (#46, #134).

    0.7.0 (March 15, 2022)

    ENHANCEMENTS:

    ... (truncated)

    Commits
    • 70c0afc Do not error if data source or resource not found in schemas (#151)
    • eaa28b7 Preparing CHANGELOG for v0.10.0
    • e52e735 expose RenderedProviderName to templating
    • 042480e generate: pass through correct name of schema provider
    • cbd432b Allowing single word resources to use templates (#147)
    • ed20132 Update all dependencies
    • 3a797e0 lint
    • 979f2e0 Updated CHANGELOG
    • f138db5 Implemented usage (i.e. --help) output for generate and validate commands
    • 65804a6 add CHANGELOG entry
    • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.10.0

    Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.10.0

    Bumps github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.10.0.

    Release notes

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

    v0.10.0

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    v0.9.0

    NEW FEATURES:

    • cmd/tflugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    • cmd/tflugindocs: Implemented usage output (i.e. --help) for generate and validate commands (#95).

    v0.8.1

    BUG FIXES:

    v0.8.0

    ENHANCEMENTS:

    • template functions: Added split to help separating a string into substrings (#70).

    BUG FIXES:

    • cmd/tflugindocs: Support for schemas containing empty nested attributes or empty nested blocks (#99, #134).
    • schemamd: Attribute ID is considered "Read Only", unless there's a description defined, in which case it's handled like any other attribute in the schema (#46, #134).

    v0.7.0

    ENHANCEMENTS:

    BUG FIXES:

    v0.6.0

    NOTES:

    • The github.com/hashicorp/terraform-exec dependency has been updated to match terraform-plugin-sdk, which replaced the removed tfinstall package with github.com/hashicorp/hc-install. This will resolve Go build errors for projects that import both terraform-plugin-docs and terraform-plugin-sdk.
    Changelog

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

    0.10.0 (June 13, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    0.9.0 (June 1, 2022)

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI arguments provider-name, rendered-provider-name, rendered-website-dir, examples-dir, website-temp-dir, and website-source-dir. These allow to further customise generated doc (#95).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Implemented usage output (i.e. --help) for generate and validate commands (#95).

    0.8.1 (May 10, 2022)

    BUG FIXES:

    0.8.0 (May 3, 2022)

    ENHANCEMENTS:

    • template functions: Added split to help separating a string into substrings (#70).

    BUG FIXES:

    • cmd/tflugindocs: Support for schemas containing empty nested attributes or empty nested blocks (#99, #134).
    • schemamd: Attribute ID is considered "Read Only", unless there's a description defined, in which case it's handled like any other attribute in the schema (#46, #134).

    0.7.0 (March 15, 2022)

    ENHANCEMENTS:

    BUG FIXES:

    ... (truncated)

    Commits
    • eaa28b7 Preparing CHANGELOG for v0.10.0
    • e52e735 expose RenderedProviderName to templating
    • 042480e generate: pass through correct name of schema provider
    • cbd432b Allowing single word resources to use templates (#147)
    • ed20132 Update all dependencies
    • 3a797e0 lint
    • 979f2e0 Updated CHANGELOG
    • f138db5 Implemented usage (i.e. --help) output for generate and validate commands
    • 65804a6 add CHANGELOG entry
    • 5bbee04 update flag descriptions
    • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.3.0

    Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.3.0

    Bumps github.com/hashicorp/go-tfe from 0.19.0 to 1.3.0.

    Release notes

    Sourced from github.com/hashicorp/go-tfe's releases.

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state, by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393
    • Adds Run Tasks API support by @​glennsarti #381, #382 and #383

    Bug fixes

    • Fixes ignored comment when performing apply, discard, cancel, and force-cancel run actions by @​brandonc #388

    v1.1.0

    Enhancements

    v1.0.0

    Breaking Changes

    • Renamed methods named Generate to Create for AgentTokens, OrganizationTokens, TeamTokens, UserTokens by @​sebasslash #327
    • Methods that express an action on a relationship have been prefixed with a verb, e.g Current() is now ReadCurrent() by @​sebasslash #327
    • All list option structs are now pointers @​uturunku1 #309
    • All errors have been refactored into constants in errors.go @​uturunku1 #310
    • The ID field in Create/Update option structs has been renamed to Type in accordance with the JSON:API spec by @​omarismail, @​uturunku1 #190, #323, #332
    • Nested URL params (consisting of an organization, module and provider name) used to identify a RegistryModule have been refactored into a struct RegistryModuleID by @​sebasslash #337

    Enhancements

    • Added missing include fields for AdminRuns, AgentPools, ConfigurationVersions, OAuthClients, Organizations, PolicyChecks, PolicySets, Policies and RunTriggers by @​uturunku1 #339
    • Cleanup documentation and improve consistency by @​uturunku1 #331
    • Add more linters to our CI pipeline by @​sebasslash #326
    • Resolve TFE_HOSTNAME as fallback for TFE_ADDRESS by @​sebasslash #340
    • Adds a fetching status to RunStatus and adds the Archive method to the ConfigurationVersions interface by @​mpminardi #338

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/go-tfe's changelog.

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393
    • Adds Run Tasks API support by @​glennsarti #381, #382 and #383

    Bug fixes

    • Fixes ignored comment when performing apply, discard, cancel, and force-cancel run actions #388

    v1.1.0

    Enhancements

    v1.0.0

    Breaking Changes

    • Renamed methods named Generate to Create for AgentTokens, OrganizationTokens, TeamTokens, UserTokens by @​sebasslash #327
    • Methods that express an action on a relationship have been prefixed with a verb, e.g Current() is now ReadCurrent() by @​sebasslash #327
    • All list option structs are now pointers @​uturunku1 #309
    • All errors have been refactored into constants in errors.go @​uturunku1 #310
    • The ID field in Create/Update option structs has been renamed to Type in accordance with the JSON:API spec by @​omarismail, @​uturunku1 #190, #323, #332
    • Nested URL params (consisting of an organization, module and provider name) used to identify a RegistryModule have been refactored into a struct RegistryModuleID by @​sebasslash #337

    Enhancements

    • Added missing include fields for AdminRuns, AgentPools, ConfigurationVersions, OAuthClients, Organizations, PolicyChecks, PolicySets, Policies and RunTriggers by @​uturunku1 #339
    • Cleanup documentation and improve consistency by @​uturunku1 #331
    • Add more linters to our CI pipeline by @​sebasslash #326
    • Resolve TFE_HOSTNAME as fallback for TFE_ADDRESS by @​sebasslash #340
    • Adds a fetching status to RunStatus and adds the Archive method to the ConfigurationVersions interface by @​mpminardi #338

    ... (truncated)

    Commits
    • 3fbaf67 Merge pull request #428 from hashicorp/v1.3-changelog-sync
    • e6ba3c8 Update ExtState docs to mention beta
    • 9b97a6a v1.3.0 Changelog
    • 599a87f Merge pull request #407 from hashicorp/sebasslash/audit-trail
    • e2887f5 Merge pull request #427 from hashicorp/brandonc/TestWorkspacesUnlock
    • 45ecd02 try moving test setup
    • 3e459a1 Update audit trail mocks with new interface
    • 9980e06 Improve audit trail interface by using client token
    • 957d12a Add support for the AuditTrail API
    • 7f5d83c Merge pull request #413 from kgns/feature/webhook_url
    • 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)
    dependencies go 
    opened by dependabot[bot] 1
  • 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)
    dependencies go 
    opened by dependabot[bot] 0
  • Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.6.0

    Bump github.com/hashicorp/go-tfe from 0.19.0 to 1.6.0

    Bumps github.com/hashicorp/go-tfe from 0.19.0 to 1.6.0.

    Release notes

    Sourced from github.com/hashicorp/go-tfe's releases.

    v1.6.0

    Enhancements

    v1.5.0

    Enhancements

    • [BETA] Add support for triggering Workspace runs through matching Git tags by @​hashimoon #434
    • Add Query param field to AgentPoolListOptions to allow searching based on agent pool name, by @​JarrettSpiker #417
    • Add organization scope and allowed workspaces field for scope agents by @​Netra2104 #453
    • Adds Namespace and RegistryName fields to RegistryModuleID to allow reading of Public Registry Modules by @​Uk1288 #464

    Bug fixes

    • Fixed JSON mapping for Configuration Versions failing to properly set the speculative property by @​straubt1 #459

    v1.4.0

    Enhancements

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state, by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393
    • Adds Run Tasks API support by @​glennsarti #381, #382 and #383

    ... (truncated)

    Changelog

    Sourced from github.com/hashicorp/go-tfe's changelog.

    v1.6.0

    Enhancements

    v1.5.0

    Enhancements

    • [beta] Add support for triggering Workspace runs through matching Git tags #434
    • Add Query param field to AgentPoolListOptions to allow searching based on agent pool name, by @​JarrettSpiker #417
    • Add organization scope and allowed workspaces field for scope agents by @​Netra2104 #453
    • Adds Namespace and RegistryName fields to RegistryModuleID to allow reading of Public Registry Modules by @​Uk1288 #464

    Bug fixes

    • Fixed JSON mapping for Configuration Versions failing to properly set the speculative property #459

    v1.4.0

    Enhancements

    v1.3.0

    Enhancements

    v1.2.0

    Enhancements

    • Adds support for reading current state version outputs to StateVersionOutputs, which can be useful for reading outputs when users don't have the necessary permissions to read the entire state by @​brandonc #370
    • Adds Variable Set methods for ApplyToWorkspaces and RemoveFromWorkspaces by @​byronwolfman #375
    • Adds Names query param field to TeamListOptions by @​sebasslash #393
    • Adds Emails query param field to OrganizationMembershipListOptions by @​sebasslash #393

    ... (truncated)

    Commits
    • bfcb195 Merge pull request #480 from hashicorp/Uk1288-patch-1
    • c3ac9a2 Update CHANGELOG.md
    • 2103edf Update CHANGELOG.md
    • 70d165e Update RELEASES.md
    • cfcfa2a Update RELEASES.md
    • 8bd9134 Merge pull request #479 from hashicorp/brandonc/detailed_type_outputs
    • 1e7d00b Update state_version_output.go
    • 1af5708 Merge pull request #477 from hashicorp/laurenolivia/docs-update-contributing-...
    • 206cd90 fix another typo
    • b1b6bfa Merge pull request #476 from hashicorp/laurenolivia/docs-update-contributing-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)
    dependencies go 
    opened by dependabot[bot] 0
  • Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.13.0

    Bump github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.13.0

    Bumps github.com/hashicorp/terraform-plugin-docs from 0.5.1 to 0.13.0.

    Release notes

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

    v0.13.0

    ENHANCEMENTS:

    • schemamd: Nested attributes are now correctly grouped in "optional", "required" and "read-only" (#163).

    BUG FIXES:

    • template functions: title now capitalizes each word in the input string, instead of upper-casing them (#165).

    v0.12.0

    BUG FIXES:

    • template data: A regression was introduced in #155 making template data field HasExample and HasImport always true (#162).

    NEW FEATURES:

    • template functions: Added lower, upper and title (#162).

    ENHANCEMENTS:

    • Added documentation for all the template functions and template data fields (#162).

    v0.11.0

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI argument ignore-deprecated allows to skip deprecated resources and data-sources when generating docs (#154).

    BUG FIXES:

    • cmd/tfplugindocs: Pass through filepaths for examples and import to allow use of HasExample and HasImport template helpers in custom templates (#155).
    • cmd/tfplugindocs: Fixed issue with the generation of title and reference links, when nested attributes go too deep (#56).

    v0.10.1

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    v0.10.0

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    • cmd/tfplugindocs: Expose RenderedProviderName to templates (#149).

    v0.9.0

    NEW FEATURES:

    ... (truncated)

    Changelog

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

    0.13.0 (July 8, 2022)

    ENHANCEMENTS:

    • schemamd: Nested attributes are now correctly grouped in "optional", "required" and "read-only" (#163).

    BUG FIXES:

    • template functions: title now capitalizes each word in the input string, instead of upper-casing them (#165).

    0.12.0 (June 29, 2022)

    BUG FIXES:

    • template data: A regression was introduced in #155 making template data field HasExample and HasImport always true (#162).

    NEW FEATURES:

    • template functions: Added lower, upper and title (#162).

    ENHANCEMENTS:

    • Added documentation for all the template functions and template data fields (#162).

    0.11.0 (June 28, 2022)

    NEW FEATURES:

    • cmd/tfplugindocs: Additional CLI argument ignore-deprecated allows to skip deprecated resources and data-sources when generating docs (#154).

    BUG FIXES:

    • cmd/tfplugindocs: Pass through filepaths for examples and import to allow use of HasExample and HasImport template helpers in custom templates (#155).
    • cmd/tfplugindocs: Fixed issue with the generation of title and reference links, when nested attributes go too deep (#56).

    0.10.1 (June 14, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Do not error when schema not found, issue log warning (#151).

    0.10.0 (June 13, 2022)

    BUG FIXES:

    • cmd/tfplugindocs: Allow single word resources to use templates (#147).
    • cmd/tfplugindocs: Pass in correct provider name for data-source and resource schema lookup when overidden with rendered-provider-name flag (#148).

    ENHANCEMENTS:

    ... (truncated)

    Commits
    • ff6f844 Prepare CHANGELOG for 0.13.0
    • 78dfb78 fix(template functions): Use function Title instead of ToTitle to get Capital...
    • 0aa71ca Add changelog
    • fad3045 Fix render newline and pass tests
    • c0143dd Group nested attributes by optional, required and computed value
    • 02e3188 Bump github.com/hashicorp/terraform-exec from 0.17.1 to 0.17.2
    • fac6290 Preparing changelog for 0.12.0
    • 88d3e4a Also fixing HasExample for Provider templates
    • f34937b Adding lower, upper and title functions
    • 1998ecc Document template data fields and functions
    • 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)
    dependencies go 
    opened by dependabot[bot] 0
  • Bump goreleaser/goreleaser-action from 2.8.0 to 3.0.0

    Bump goreleaser/goreleaser-action from 2.8.0 to 3.0.0

    Bumps goreleaser/goreleaser-action from 2.8.0 to 3.0.0.

    Release notes

    Sourced from goreleaser/goreleaser-action's releases.

    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

    What's Changed

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

    Commits
    • 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
    • c56d8df Revert "chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#354)"
    • d1c2f83 chore(deps): bump @​actions/core from 1.6.0 to 1.8.2 (#354)
    • 5c65fd8 chore(deps): bump @​actions/http-client from 1.0.11 to 2.0.1 (#353)
    • 46cd12b chore(deps): bump yargs from 17.4.1 to 17.5.1 (#352)
    • 822d1bf chore(deps): bump docker/bake-action from 1 to 2 (#346)
    • c25888f chore: update dev dependencies and workflow (#342)
    • ec57748 chore(deps): bump yargs from 17.4.0 to 17.4.1 (#339)
    • 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)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Bump actions/checkout from 2.4.0 to 3.0.2

    Bump actions/checkout from 2.4.0 to 3.0.2

    Bumps actions/checkout from 2.4.0 to 3.0.2.

    Release notes

    Sourced from actions/checkout's releases.

    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.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)

    • Improved fetch performance
      • The default behavior now fetches only the SHA being checked-out
    • Script authenticated git commands

    ... (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)
    dependencies github_actions 
    opened by dependabot[bot] 0
  • Bump actions/setup-go from 2 to 3

    Bump actions/setup-go from 2 to 3

    Bumps actions/setup-go from 2 to 3.

    Release notes

    Sourced from actions/setup-go's releases.

    v3.0.0

    What's Changed

    Breaking Changes

    With the update to Node 16, all scripts will now be run with Node 16 rather than Node 12.

    This new major release removes the stable input, so there is no need to specify additional input to use pre-release versions. This release also corrects the pre-release versions syntax to satisfy the SemVer notation (1.18.0-beta1 -> 1.18.0-beta.1, 1.18.0-rc1 -> 1.18.0-rc.1).

    steps:
      - uses: actions/[email protected]
      - uses: actions/[email protected]
        with:
          go-version: '1.18.0-rc.1' 
      - run: go version
    

    Add check-latest input

    In scope of this release we add the check-latest input. If check-latest is set to true, the action first checks if the cached version is the latest one. If the locally cached version is not the most up-to-date, a Go version will then be downloaded from go-versions repository. By default check-latest is set to false. Example of usage:

    steps:
      - uses: actions/[email protected]
      - uses: actions/[email protected]
        with:
          go-version: '1.16'
          check-latest: true
      - run: go version
    

    Moreover, we updated @actions/core from 1.2.6 to 1.6.0

    v2.1.5

    In scope of this release we updated matchers.json to improve the problem matcher pattern. For more information please refer to this pull request

    v2.1.4

    What's Changed

    New Contributors

    Full Changelog: https://github.com/actions/setup-go/compare/v2.1.3...v2.1.4

    v2.1.3

    • Updated communication with runner to use environment files rather then workflow commands

    v2.1.2

    This release includes vendored licenses for this action's npm dependencies.

    ... (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)
    dependencies github_actions 
    opened by dependabot[bot] 0
Releases(v0.1.1)
A terraform provider for Sparkpost

terraform-provider-sparkpost A terraform provider for Sparkpost Local Development Run the following command to build the provider make build Test Exam

SurveyMonkey 4 Mar 1, 2022
Terraform Provider for PGP Actions

Terraform Provider PGP Warning: Use of this provider will result in secrets being in terraform state in PLAIN TEXT (aka NOT ENCRYPTED). You've been wa

Erik Kristensen 5 Jan 6, 2022
Terraform provider for OCM

Terraform provider for OCM Build To build the provider use the make command. Use To use the provider first build and install it: $ make install Then g

Juan Hernández 0 Nov 11, 2021
Pulumi Terraform provider for Artifactory

Terraform Bridge Provider Boilerplate This repository contains boilerplate code for building a new Pulumi provider which wraps an existing Terraform p

Pulumi 5 May 24, 2022
:runner:runs go generate recursively on a specified path or environment variable and can filter by regex

Package generate Package generate runs go generate recursively on a specified path or environment variable like $GOPATH and can filter by regex Why wo

Go Playgound 27 Jul 23, 2022
A limited Flow Access API which runs outside of the Flow Network using the DPS

Access API Flow DPS implements the Flow Access API Specification, except for the following endpoints: SendTransaction GetLatestProtocolStateSnapshot G

optakt 3 Jul 28, 2022
Initiate Chainlink job runs from external sources.

External Initiator Initiate Chainlink job runs from external sources. Installation go install Configuration Environment variables Key Description Exam

PlugIn (PLI) 0 Nov 6, 2021
An experimental distribution of Temporal that runs as a single process

Temporalite ⚠️ This project is experimental and not suitable for production use. ⚠️ Temporalite is a distribution of Temporal that runs as a single pr

Datadog, Inc. 287 Aug 7, 2022
Fast conversions across various Go types with a simple API.

Go Package: conv Get: go get -u github.com/cstockton/go-conv Example: // Basic types if got, err := conv.Bool(`TRUE`); err == nil { fmt.Printf("conv.

Chris Stockton 381 Aug 3, 2022
🌍 📋 A web dashboard to inspect Terraform States

?? ?? A web dashboard to inspect Terraform States

Camptocamp 1.6k Aug 6, 2022
OPG sirius supervision firm deputy hub: Managed by opg-org-infra & Terraform

OPG sirius supervision firm deputy hub: Managed by opg-org-infra & Terraform

Ministry of Justice 0 Jan 10, 2022
A boilerplate showing how to create a Pulumi component provider written in Go

xyz Pulumi Component Provider (Go) This repo is a boilerplate showing how to create a Pulumi component provider written in Go. You can search-replace

Pulumi 1 Mar 4, 2022
create a provider to get atlassian resources

Terraform Provider Scaffolding This repository is a template for a Terraform provider. It is intended as a starting point for creating Terraform provi

null 0 Dec 31, 2021
Apple Push Notification (APN) Provider library for Go 1.6 and HTTP/2.

Apple Push Notification (APN) Provider library for Go 1.6 and HTTP/2. Send remote notifications to iOS, macOS, tvOS and watchOS. Buford can also sign push packages for Safari notifications and Wallet passes.

null 0 Dec 6, 2021
Help to release a project which especially has multiple git repositories

This project aims to help to release a project which especially has multiple git repositories. Installation Install it to a Kubernetes cluster. You ca

KubeSphere SIGs 8 Jul 7, 2022
detects conflicting requirements between multiple go.mod files

gomodconflict Prints out conflicting version requirements between multiple go.mod files. Building First download earthly. Then run: earthly +all buil

Alex Couture-Beil 0 Nov 3, 2021
Assemble multiple CODEOWNERS file into one

Codeowners Tool to generate a GitHub CODEOWNERS file from multiple CODEOWNERS files throughout the repo. This makes it easier to manage code ownership

Georg Molau 2 Apr 11, 2022
An easy-to-use Map Reduce Go parallel-computing framework inspired by 2021 6.824 lab1. It supports multiple workers on a single machine right now.

MapReduce This is an easy-to-use Map Reduce Go framework inspired by 2021 6.824 lab1. Feature Multiple workers on single machine right now. Easy to pa

Bo-Wei Chen 193 Jun 9, 2022
Filter out multiple strings from stdin.

minus The minus tool accepts data from stdin and filters out any arguments passed. It simplifies something like this: some_command | grep -vF thing1 |

Shawn Milochik 1 Dec 20, 2021