Terraform Provider for cascading runs across multiple workspaces.

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
Comments
  • 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. 😄

  • 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 :)

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

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

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

    Release notes

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

    v1.15.0

    Enhancements

    • Add Beta Projects endpoint. The API is in not yet available to all users @​hs26gill #564

    v1.14.0

    Enhancements

    • Adds Beta parameter Overridable for OPA policy set update API (PolicySetUpdateOptions) @​mrinalirao #594
    • Adds new task stage status values representing canceled, errored, unreachable @​mrinalirao #594

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529

    ... (truncated)

    Changelog

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

    v1.15.0

    Enhancements

    • Add Beta Projects endpoint. The API is in not yet available to all users @​hs26gill #564

    v1.14.0

    Enhancements

    • Adds Beta parameter Overridable for OPA policy set update API (PolicySetUpdateOptions) @​mrinalirao #594
    • Adds new task stage status values representing canceled, errored, unreachable @​mrinalirao #594

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    ... (truncated)

    Commits
    • bf1bc88 Prepare CHANGELOG for release
    • d2e0e00 Merge pull request #598 from hashicorp/brandon/skipUnless
    • 7e6bf06 skipIfCloud -> skipUnlessEnterprise
    • f65aedb Improve go docs for skipUnlessBeta
    • 70a11e5 skipIfNotLinuxAmd64 -> skipUnlessLinuxAMD64
    • 4a0779d skipIfBeta -> skipUnlessBeta
    • 50db25d Merge pull request #597 from hashicorp/brandonc/fix_linter
    • 983c77a Update golangci-lint.yml
    • db37cb5 Is the linter GHA broken?
    • 003c38e Fix or ignore all outsanding golangci-lint errors
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v1.14.0

    Enhancements

    • Adds Beta parameter Overridable for OPA policy set update API (PolicySetUpdateOptions) @​mrinalirao #594
    • Adds new task stage status values representing canceled, errored, unreachable @​mrinalirao #594

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529
    • Add optional AssessmentsEnforced to organizations and AssessmentsEnabled to workspaces for managing the workspace and organization health assessment (drift detection) setting by @​rexredinger #462

    Bug Fixes

    • Fixes null value returned in variable set relationship in VariableSetVariable by @​sebasslash #521

    ... (truncated)

    Changelog

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

    v1.14.0

    Enhancements

    • Adds Beta parameter Overridable for OPA policy set update API (PolicySetUpdateOptions) @​mrinalirao #594
    • Adds new task stage status values representing canceled, errored, unreachable @​mrinalirao #594

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529

    ... (truncated)

    Commits
    • 61acf77 Update CHANGELOG.md
    • b4eca77 Merge pull request #594 from hashicorp/mr/policy-set-bug-fix
    • 8d41a0f Update CHANGELOG.md
    • 9f9c19e Merge pull request #595 from hashicorp/dependabot/go_modules/github.com/hashi...
    • 7f51e0f add missing status required for cli implementation
    • 19a86f7 Bump github.com/hashicorp/go-slug from 0.10.0 to 0.10.1
    • 2940ceb fix test
    • a17b4f1 add changelog
    • 8c28434 fix bug where overridable is not updated
    • b36fd8c Merge pull request #593 from hashicorp/brandonc/upgrade_actions
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529
    • Add optional AssessmentsEnforced to organizations and AssessmentsEnabled to workspaces for managing the workspace and organization health assessment (drift detection) setting by @​rexredinger #462

    Bug Fixes

    • Fixes null value returned in variable set relationship in VariableSetVariable by @​sebasslash #521

    v1.9.0

    Enhancements

    • RunListOptions is generally available, and rename field (Name -> User) by @​mjyocca #472
    • [Beta] Adds optional JsonState field to StateVersionCreateOptions by @​megan07 #514

    Bug Fixes

    ... (truncated)

    Changelog

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

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529
    • Add optional AssessmentsEnforced to organizations and AssessmentsEnabled to workspaces for managing the workspace and organization health assessment (drift detection) setting by @​rexredinger #462

    Bug Fixes

    • Fixes null value returned in variable set relationship in VariableSetVariable by @​sebasslash #521

    v1.9.0

    ... (truncated)

    Commits
    • b43ad70 Merge pull request #588 from hashicorp/miguelhrocha/v1.13.0-release
    • c29008f Update CHANGELOG.md
    • c3856bb Update changelog for v1.13.0 release
    • 6dcc99c no code provisioning in registry modules (#562)
    • 0f28f32 Merge pull request #584 from hashicorp/mr/TF-1450-policy-override
    • 34922c8 minor fixes
    • 7a3cfda Merge pull request #586 from hashicorp/brandonc/audit_trail_pagination
    • 6aee364 Update CHANGELOG.md
    • 430f6d3 Fixes audit trail pagination data within list endpoint
    • 0d8c80d Merge pull request #587 from hashicorp/brandonc/3_test_jobs
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529
    • Add optional AssessmentsEnforced to organizations and AssessmentsEnabled to workspaces for managing the workspace and organization health assessment (drift detection) setting by @​rexredinger #462

    Bug Fixes

    • Fixes null value returned in variable set relationship in VariableSetVariable by @​sebasslash #521

    v1.9.0

    Enhancements

    • RunListOptions is generally available, and rename field (Name -> User) by @​mjyocca #472
    • [Beta] Adds optional JsonState field to StateVersionCreateOptions by @​megan07 #514

    Bug Fixes

    v1.8.0

    Enhancements

    • Adds support for reading and listing Agents by @​laurenolivia #456
    • It was previously logged that we added an Include param field to PolicySetListOptions to allow policy list to include related resource data such as workspaces, policies, newest_version, or current_version by @​Uk1288 #497 in 1.7.0, but this was a mistake and the field is added in v1.8.0

    v1.7.0

    Enhancements

    • Adds new run creation attributes: allow-empty-apply, terraform-version, plan-only by @​sebasslash #482
    • Adds additional Task Stage and Run Statuses for Pre-plan run tasks by @​glennsarti #469

    ... (truncated)

    Changelog

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

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529
    • Add optional AssessmentsEnforced to organizations and AssessmentsEnabled to workspaces for managing the workspace and organization health assessment (drift detection) setting by @​rexredinger #462

    Bug Fixes

    • Fixes null value returned in variable set relationship in VariableSetVariable by @​sebasslash #521

    v1.9.0

    Enhancements

    • RunListOptions is generally available, and rename field (Name -> User) by @​mjyocca #472
    • [Beta] Adds optional JsonState field to StateVersionCreateOptions by @​megan07 #514

    Bug Fixes

    v1.8.0

    Enhancements

    • Adds support for reading and listing Agents by @​laurenolivia #456
    • It was previously logged that we added an Include param field to PolicySetListOptions to allow policy list to include related resource data such as workspaces, policies, newest_version, or current_version by @​Uk1288 #497 in 1.7.0, but this was a mistake and the field is added in v1.8.0

    ... (truncated)

    Commits
    • af0a606 Merge pull request #575 from hashicorp/TF-1450
    • 15525b2 Merge branch 'main' into TF-1450
    • f656b57 Add CHANELOG entry and fix minor typo
    • 804748d Merge pull request #578 from hashicorp/aw/update-changelog-for-release
    • 1119f2c Add additional pr
    • c6b3550 Update changelog for v1.12.0 release
    • 40ddff2 Merge pull request #569 from hashicorp/laurenolivia/update-workspace-list-opt...
    • 4c23de2 expose search param option to filter using wildcard
    • 6777fea Merge pull request #570 from hashicorp/aw/force-execute-run
    • 063f7ad change overridable to a pointer and fix tests
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529
    • Add optional AssessmentsEnforced to organizations and AssessmentsEnabled to workspaces for managing the workspace and organization health assessment (drift detection) setting by @​rexredinger #462

    Bug Fixes

    • Fixes null value returned in variable set relationship in VariableSetVariable by @​sebasslash #521

    v1.9.0

    Enhancements

    • RunListOptions is generally available, and rename field (Name -> User) by @​mjyocca #472
    • [Beta] Adds optional JsonState field to StateVersionCreateOptions by @​megan07 #514

    Bug Fixes

    v1.8.0

    Enhancements

    • Adds support for reading and listing Agents by @​laurenolivia #456
    • It was previously logged that we added an Include param field to PolicySetListOptions to allow policy list to include related resource data such as workspaces, policies, newest_version, or current_version by @​Uk1288 #497 in 1.7.0, but this was a mistake and the field is added in v1.8.0

    v1.7.0

    Enhancements

    v1.6.0

    Enhancements

    ... (truncated)

    Changelog

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

    (Unreleased)

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    Bug Fixes

    • Fix marshalling of run variables in RunCreateOptions. The Variables field type in Run struct has changed from []*RunVariable to []*RunVariableAttr by @​Uk1288 #531

    v1.10.0

    Enhancements

    • Add Query param field to OrganizationListOptions to allow searching based on name or email by @​laurenolivia #529
    • Add optional AssessmentsEnforced to organizations and AssessmentsEnabled to workspaces for managing the workspace and organization health assessment (drift detection) setting by @​rexredinger #462

    Bug Fixes

    • Fixes null value returned in variable set relationship in VariableSetVariable by @​sebasslash #521

    v1.9.0

    Enhancements

    • RunListOptions is generally available, and rename field (Name -> User) by @​mjyocca #472
    • [Beta] Adds optional JsonState field to StateVersionCreateOptions by @​megan07 #514

    Bug Fixes

    v1.8.0

    Enhancements

    • Adds support for reading and listing Agents by @​laurenolivia #456
    • It was previously logged that we added an Include param field to PolicySetListOptions to allow policy list to include related resource data such as workspaces, policies, newest_version, or current_version by @​Uk1288 #497 in 1.7.0, but this was a mistake and the field is added in v1.8.0

    v1.7.0

    Enhancements

    • Adds new run creation attributes: allow-empty-apply, terraform-version, plan-only by @​sebasslash #482
    • Adds additional Task Stage and Run Statuses for Pre-plan run tasks by @​glennsarti #469
    • Adds stage field to the create and update methods for Workspace Run Tasks by @​glennsarti #469
    • Adds ResourcesProcessed, StateVersion, TerraformVersion, Modules, Providers, and Resources fields to the State Version struct by @​laurenolivia #484
    • Add Include param field to PolicySetListOptions to allow policy list to include related resource data such as workspaces, policies, newest_version, or current_version by @​Uk1288 #497
    • Allow FileTriggersEnabled to be set to false when Git tags are present by @​mjyocca @​hashimoon #468 (hashicorp/go-tfe#468)

    v1.6.0

    ... (truncated)

    Commits
    • 3c8cb87 Merge pull request #554 from hashicorp/v1.11-changelog
    • cd77d1d Sync changelog with latest changes
    • c9d05af Merge pull request #553 from hashicorp/fix-nightly-test-env-var
    • 5c31a0c Merge pull request #552 from hashicorp/list-workspace-variable-sets
    • 40e79dd Rename TF_CLOUD_WORKSPACE to TF_WORKSPACE
    • 5d4da4e Regenerate mocks
    • 092d1b7 Update changelog
    • 6dbb1b3 Add method to list variable sets by workspace
    • 27c5ea1 Merge pull request #550 from hashicorp/add-search-to-orgmembers
    • 739497b Update changelog
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

    Bump goreleaser/goreleaser-action from 2.8.0 to 3.2.0

    Bumps goreleaser/goreleaser-action from 2.8.0 to 3.2.0.

    Release notes

    Sourced from goreleaser/goreleaser-action's releases.

    v3.2.0

    What's Changed

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

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

    v3.1.0

    What's Changed

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

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

    v3.0.0

    What's Changed

    New Contributors

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

    v2.9.1

    What's Changed

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

    v2.9.0

    What's Changed

    ... (truncated)

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

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v2.24.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.23.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.22.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.21.0

    NOTES:

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

    BUG FIXES:

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

    v2.20.0

    NOTES:

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

    FEATURES:

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

    v2.19.0

    NOTES:

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

    v2.18.0

    ... (truncated)

    Changelog

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

    2.24.0 (October 13, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.21.0 (August 15, 2022)

    NOTES:

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

    BUG FIXES:

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

    2.20.0 (July 28, 2022)

    NOTES:

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

    FEATURES:

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

    2.19.0 (July 15, 2022)

    ... (truncated)

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

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

    Bump actions/checkout from 2.4.0 to 3.1.0

    Bumps actions/checkout from 2.4.0 to 3.1.0.

    Release notes

    Sourced from actions/checkout's releases.

    v3.1.0

    What's Changed

    New Contributors

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

    v3.0.2

    What's Changed

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

    v3.0.1

    v3.0.0

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

    v2.4.2

    What's Changed

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

    v2.4.1

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

    Sourced from actions/checkout's changelog.

    v3.1.0

    v3.0.2

    v3.0.1

    v3.0.0

    v2.3.1

    v2.3.0

    v2.2.0

    v2.1.1

    • Changes to support GHES (here and here)

    v2.1.0

    v2.0.0

    v2 (beta)

    ... (truncated)

    Commits

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v2.23.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.22.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.21.0

    NOTES:

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

    BUG FIXES:

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

    v2.20.0

    NOTES:

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

    FEATURES:

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

    v2.19.0

    NOTES:

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

    v2.18.0

    ENHANCEMENTS:

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

    BUG FIXES:

    ... (truncated)

    Changelog

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

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.21.0 (August 15, 2022)

    NOTES:

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

    BUG FIXES:

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

    2.20.0 (July 28, 2022)

    NOTES:

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

    FEATURES:

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

    2.19.0 (July 15, 2022)

    NOTES:

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

    2.18.0 (July 5, 2022)

    ENHANCEMENTS:

    ... (truncated)

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

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

    Bump goreleaser/goreleaser-action from 2.8.0 to 4.1.0

    Bumps goreleaser/goreleaser-action from 2.8.0 to 4.1.0.

    Release notes

    Sourced from goreleaser/goreleaser-action's releases.

    v4.1.0

    What's Changed

    New Contributors

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

    v4.0.0

    What's Changed

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

    v3.2.0

    What's Changed

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

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

    v3.1.0

    What's Changed

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

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

    v3.0.0

    What's Changed

    ... (truncated)

    Commits
    • 8f67e59 chore: regenerate
    • 78df308 chore(deps): bump minimatch from 3.0.4 to 3.1.2 (#383)
    • 66134d9 Merge remote-tracking branch 'origin/master' into flarco/master
    • 3c08cfd chore(deps): bump yargs from 17.6.0 to 17.6.2
    • 5dc579b docs: add example when using workdir along with upload-artifact (#366)
    • 3b7d1ba feat!: remove auto-snapshot on dirty tag (#382)
    • 23e0ed5 fix: do not override GORELEASER_CURRENT_TAG (#370)
    • 1315dab update build
    • b60ea88 improve install
    • 4d25ab4 Update goreleaser.ts
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

    Bump actions/checkout from 2.4.0 to 3.2.0

    Bumps actions/checkout from 2.4.0 to 3.2.0.

    Release notes

    Sourced from actions/checkout's releases.

    v3.2.0

    What's Changed

    New Contributors

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

    v3.1.0

    What's Changed

    New Contributors

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

    v3.0.2

    What's Changed

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

    v3.0.1

    v3.0.0

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

    v2.5.0

    What's Changed

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

    ... (truncated)

    Changelog

    Sourced from actions/checkout's changelog.

    Changelog

    v3.1.0

    v3.0.2

    v3.0.1

    v3.0.0

    v2.3.1

    v2.3.0

    v2.2.0

    v2.1.1

    • Changes to support GHES (here and here)

    v2.1.0

    v2.0.0

    ... (truncated)

    Commits

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v1.16.0

    BUG FIXES

    ENHANCEMENTS

    v1.15.0

    Enhancements

    • Add Beta Projects endpoint. The API is in not yet available to all users @​hs26gill #564

    v1.14.0

    Enhancements

    • Adds Beta parameter Overridable for OPA policy set update API (PolicySetUpdateOptions) @​mrinalirao #594
    • Adds new task stage status values representing canceled, errored, unreachable @​mrinalirao #594

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    v1.11.0

    Enhancements

    • Add Query and Status fields to OrganizationMembershipListOptions to allow filtering memberships by status or username by @​sebasslash #550
    • Add ListForWorkspace method to VariableSets interface to enable fetching variable sets associated with a workspace by @​tstapler #552
    • Add NotificationTriggerAssessmentDrifted and NotificationTriggerAssessmentFailed notification trigger types by @​lawliet89 #542

    ... (truncated)

    Changelog

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

    v1.16.0

    Bug Fixes

    Enhancements

    v1.15.0

    Enhancements

    • Add Beta Projects endpoint. The API is in not yet available to all users @​hs26gill #564

    v1.14.0

    Enhancements

    • Adds Beta parameter Overridable for OPA policy set update API (PolicySetUpdateOptions) @​mrinalirao #594
    • Adds new task stage status values representing canceled, errored, unreachable @​mrinalirao #594

    v1.13.0

    Bug Fixes

    • Fixes AuditTrail pagination parameters (CurrentPage, PreviousPage, NextPage, TotalPages, TotalCount), which were not deserialized after reading from the List endpoint by @​brandonc #586

    Enhancements

    v1.12.0

    Enhancements

    • Add search[wildcard-name] to WorkspaceListOptions by @​laurenolivia #569
    • Add NotificationTriggerAssessmentCheckFailed notification trigger type by @​rexredinger #549
    • Add RemoteTFEVersion() to the Client interface, which exposes the X-TFE-Version header set by a remote TFE instance by @​sebasslash #563
    • Validate the module version as a version instead of an ID #409
    • Add AllowForceDeleteWorkspaces setting to Organizations by @​JarrettSpiker #539
    • Add SafeDelete and SafeDeleteID APIs to Workspaces by @​JarrettSpiker #539
    • Add ForceExecute() to Runs to allow force executing a run by @​annawinkler #570
    • Pre-plan and Pre-Apply Run Tasks are now generally available (beta comments removed) by @​glennsarti #555

    ... (truncated)

    Commits
    • 365cb76 Update CHANGELOG for release
    • 21e8cad Merge pull request #602 from hashicorp/super-ticket
    • 199d4b1 Update Changelog
    • 4809bb7 Add provider-binary-uploaded field to RegistryPlatform
    • 32e3b03 Add support for List GPG Keys endpoint
    • 2355d59 Merge pull request #608 from hashicorp/brandonc/TF-3329_project_name_id
    • 78d45da Update nightly-tfe-ci.yml
    • 3ac0491 Merge pull request #606 from hashicorp/brandonc/TF-2774_fmt_ci
    • db7acaa Fixes project names being validated as IDs
    • 7155a4d run make fmt
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

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

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

    Release notes

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

    v2.24.1

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateCheck field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#1089)
    • helper/resource: Prevented go-plugin goroutine leak per Terraform command (#1095)
    • helper/resource: Prevented goroutine leak per Terraform command when testing terraform-plugin-sdk based providers via Providers or ProviderFactories (#1091)
    • helper/resource: Prevented provider configuration already given error when TestStep type Config field already contained provider configuration block (#1092)

    v2.24.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.23.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.22.0

    ENHANCEMENTS:

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

    BUG FIXES:

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

    v2.21.0

    NOTES:

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

    BUG FIXES:

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

    v2.20.0

    NOTES:

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

    FEATURES:

    ... (truncated)

    Changelog

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

    2.24.1 (November 14, 2022)

    BUG FIXES:

    • helper/resource: Fixed TestStep type ImportStateCheck field so that it only matches against resources following a change in behaviour in Terraform 1.3 that imports both resources and data sources into state (#1089)
    • helper/resource: Prevented go-plugin goroutine leak per Terraform command (#1095)
    • helper/resource: Prevented goroutine leak per Terraform command when testing terraform-plugin-sdk based providers via Providers or ProviderFactories (#1091)
    • helper/resource: Prevented provider configuration already given error when TestStep type Config field already contained provider configuration block (#1092)

    2.24.0 (October 13, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.23.0 (September 15, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.22.0 (September 8, 2022)

    ENHANCEMENTS:

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

    BUG FIXES:

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

    2.21.0 (August 15, 2022)

    NOTES:

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

    BUG FIXES:

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

    2.20.0 (July 28, 2022)

    ... (truncated)

    Commits
    • 5dfe31a Update CHANGELOG for 2.24.1
    • 9523045 helper/resource: Check for existing provider configuration block in TestStep ...
    • ff2cdef Linking to the framework migration guide (#1097) (#1098)
    • ac0b965 build(deps): Bump github.com/hashicorp/hcl/v2 from 2.14.1 to 2.15.0 (#1100)
    • dfa6529 build(deps): Bump github.com/zclconf/go-cty from 1.12.0 to 1.12.1 (#1096)
    • 81b192b build(deps): Bump github.com/hashicorp/terraform-plugin-go from 0.14.0 to 0.1...
    • 7bc4c6e helper/resource: Various small fixes (#1091)
    • 6275669 all: Remove deprecated io/ioutil package usage (#1090)
    • ba4b604 helper/resource: Skip data source states with TestStep.ImportStateCheck (#1089)
    • f5c914f build(deps): Bump github.com/zclconf/go-cty from 1.11.0 to 1.12.0 (#1086)
    • Additional commits viewable in compare view

    Dependabot compatibility score

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


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

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

    Bump actions/setup-go from 2.1.3 to 3.3.1

    Bumps actions/setup-go from 2.1.3 to 3.3.1.

    Release notes

    Sourced from actions/setup-go's releases.

    Fix cache issues and update dependencies

    In scope of this release we fixed the issue with the correct generation of the cache key when the go-version-file input is set (actions/setup-go#267). Moreover, we fixed an issue when the cache folder was not found. Besides, we updated actions/core to 1.10.0 version (actions/setup-go#273).

    Support architecture input and fix Expand-Archive issue

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

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

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

    Update actions/cache version to 3.0.0

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

    Support for caching dependency files and compiler's build outputs

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

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

    Examples of use-cases:

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

    ... (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)
  • Additional workspace states (e.g. post_plan_running) the provider does not expect

    Additional workspace states (e.g. post_plan_running) the provider does not expect

    Moved out of https://github.com/mitchellh/terraform-provider-multispace/pull/68

    Found a few more instances of unhandled workspace states, so either a similar fix to https://github.com/mitchellh/terraform-provider-multispace/pull/8 is needed, or perhaps something more forwards-compatible.

    (i.e. list all the states we do expect, and do nothing for the ones we do not expect)

    Debug Output

    -----------------------------------------------------: timestamp=2022-10-07T14:01:17.596+0100
    2022-10-07T14:01:17.597+0100 [INFO]  provider.terraform-provider-multispace_v0.2.0: 2022/10/07 14:01:17 [DEBUG] non-progressive state, exiting "post_plan_running": timestamp=2022-10-07T14:01:17.597+0100
    2022-10-07T14:01:17.597+0100 [INFO]  provider.terraform-provider-multispace_v0.2.0: 2022/10/07 14:01:17 [INFO] plan complete, confirming apply. "run-sQQsTk8Nt8qQXxXB": timestamp=2022-10-07T14:01:17.597+0100
    2022-10-07T14:01:17.597+0100 [INFO]  provider.terraform-provider-multispace_v0.2.0: 2022/10/07 14:01:17 [DEBUG] TFE API Request Details:
    ---[ REQUEST ]---------------------------------------
    POST /api/v2/runs/run-sQQsTk8Nt8qQXxXB/actions/apply HTTP/1.1
    Host: app.terraform.io
    User-Agent: go-tfe
    Content-Length: 109
    Accept: application/vnd.api+json
    Authorization: Bearer S6JcndyjRR8ZJQ.atlasv1.REVOKED_TOKEN
    Content-Type: application/vnd.api+json
    Accept-Encoding: gzip
    
    {
     "data": {
      "type": "",
      "attributes": {
       "comment": "terraform-provider-multispace on Fri Oct 7 14:01:17 BST 2022"
      }
     }
    }
    
    -----------------------------------------------------: timestamp=2022-10-07T14:01:17.597+0100
    2022-10-07T14:01:17.720+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState to workingState for multispace_run.trigger_workspaces["webserver-aws-dev"]
    2022-10-07T14:01:17.720+0100 [TRACE] NodeAbstractResouceInstance.writeResourceInstanceState: writing state object for multispace_run.trigger_workspaces["webserver-aws-dev"]
    2022-10-07T14:01:17.721+0100 [INFO]  provider.terraform-provider-multispace_v0.2.0: 2022/10/07 14:01:17 [DEBUG] TFE API Response Details:
    ---[ RESPONSE ]--------------------------------------
    HTTP/2.0 409 Conflict
    Content-Length: 62
    Cache-Control: no-cache
    Content-Type: application/vnd.api+json; charset=utf-8
    Date: Fri, 07 Oct 2022 13:01:17 GMT
    Referrer-Policy: strict-origin-when-cross-origin
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
    Tfp-Api-Version: 2.5
    Vary: Accept-Encoding
    Vary: Accept, Origin
    X-Content-Type-Options: nosniff
    X-Download-Options: noopen
    X-Frame-Options: SAMEORIGIN
    X-Permitted-Cross-Domain-Policies: none
    X-Ratelimit-Limit: 30
    X-Ratelimit-Remaining: 27
    X-Ratelimit-Reset: 0.043
    X-Request-Id: 8419f58a-d2d5-46c0-2ba0-f9e3cffe4a30
    X-Xss-Protection: 1; mode=block
    
    {
     "errors": [
      {
       "status": "409",
       "title": "transition not allowed"
      }
     ]
    }
    
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

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

Sep 30, 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

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

Aug 11, 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

Sep 27, 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

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

Sep 12, 2022
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

Dec 31, 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.

Nov 29, 2022
🌍 📋 A web dashboard to inspect Terraform States
 🌍 📋 A web dashboard to inspect Terraform States

?? ?? A web dashboard to inspect Terraform States

Jan 1, 2023
OPG sirius supervision firm deputy hub: Managed by opg-org-infra & Terraform

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

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

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

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.

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

Dec 15, 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

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

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

Dec 5, 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 |

Dec 20, 2021