Skip to content

Latest commit

 

History

History
297 lines (184 loc) · 10.6 KB

CHANGELOG.md

File metadata and controls

297 lines (184 loc) · 10.6 KB

Changes

v4.0.1 - 2024-10-04

Changelog

  • 7ac4229 Merge pull request #78 from silinternational/release/v4.0.0
  • 10f4354 update module path to v4

Changes

v4.0.0 - 2024-10-02

Added

Changed

  • CallApi returns an error instead of panic

Removed

  • Deleted commented out code
  • Removed TFVars struct as it was a strict subset of the Vars struct.
  • Removed deprecated --dry-run-mode flag

Changes

v3.5.4 - 2024-02-05

Fixed

  • Fixed workspaces clone command to omit the VCS config parameters if the token is not specified.

Changes

Fixed

Changes

Fixed

  • Better error handling in GetVarsFromWorkspace to indicate the cause of a 404 from the Terraform Cloud API. Addresses #60.

Changes

v3.5.0 - 2023-06-20

Added

  • New library function CreateRunTrigger to configure workspaces to trigger a run from another workspace.
  • New library function ListRunTriggers to list configured run triggers for a given workspace.
  • New library function FindRunTrigger to find a run trigger given the source and destination workspaces.

Changes

v3.4.0 - 2023-06-19

Added

  • Added a new library function, CreateRun, to start a Run

Changes

v3.3.0 - 2023-06-15

Added

  • Added new function AddRemoteStateConsumers
  • Added new CLI command "workspaces consumers"

Fixed

  • Use the proper /v3 reference for internal package references. It conveniently worked before correcting the module line in go.mod (v3.2.1).

Changes

v3.2.1 - 2023-06-15

Fixed

  • Added the missing /v3 on the module line in go.mod

Changes

Added

  • Added a workspace clone option to apply the source workspace's variable sets to the new workspace.

Changes

3.2.0 - 2023-06-15

Added

  • Added a workspace clone option to apply the source workspace's variable sets to the new workspace.

Changes

3.1.2 - 2023-04-25

Fixed

  • Fix variables add command to exit with a non-zero error code when the requested variable already exists.
  • Fix error message in variables add command to include line termination and correct variable interpolation.

Changes

3.1.1 - 2023-03-09

Changelog

  • fa67f00 Merge pull request #58 from silinternational/feature/upgrade-deps-for-security-alerts
  • ab6abf4 Merge pull request #59 from silinternational/develop
  • 1ffe978 upgrade dependencies due to security alerts

Changes

3.1.0 - 2023-03-08

Added

  • New command, varsets apply, applies a variable set to one or more workspaces.
  • New command, variables add, adds a new variable. Fails if the variable exists.
  • New command, variables delete, deletes a variable.
  • Added -w --workspace flag as persistent on all variables commands.
  • Added unit test flow in Github Actions.
  • New flag --csv: output variables list in CSV format.

Changed

  • Changed "Terraform Enterprise" to "Terraform Cloud" in help output text.

Fixed

  • Internally, changed global variable dryRunMode to readOnlyMode.
  • Internal refactoring to remove the API token from most function signatures.
  • Escape quotes and newlines in CSV content.
  • Removed internal references to API V2 since all API V1 support has already been removed.
  • Dependency update.

Deprecated

  • Deprecated --dry-run-mode for workspaces update and variables update commands to alleviate confusion with workspaces clone -d. Going forward, use the equivalent -r --read-only-mode instead.

Included

Changes

3.0.0 - 2022-03-03

Added

  • workspaces update and workspaces list now accept any attribute defined in the Terraform Cloud API. id is also accepted.
  • Added version command.

Removed

  • Breaking change: attribute names that didn't exactly match the API have been removed. These were: createdat, workingdirectory, terraformversion, and vcsrepo. They are still accessible as created-at, working-directory, terraform-version, and vcs-repo.identifier.

Fixed

  • workspaces update now uses the search[name] API parameter rather than retrieving the full list of workspaces.

Changes

2.1.1 - 2022-02-07

Fixed

  • update README for changes made previously
  • change from master to main branch

Changes

2.1.0 - 2022-02-07

Added

  • Added created-at, structured-run-output-enabled, terraform-version, vcs-repo.display-identifier, vcs-repo-oauth-token-id attributes to "workspaces list" command
  • Added structured-run-output, vcs-repo.oauth-token-id to "workspaces update" command

Deprecated

  • Deprecated createdat, workingdirectory, terraformversion, vcsrepo on "workspaces list" command to use attribute names that exactly match the names in the Terraform API. This would make it easier to programmatically reference attribute names, and full support for all workspace attributes

Fixed

  • By including vcs-repo.display-identifier this also addresses issue #29.

Changes

2.0.3 - 2021-04-30

Changelog

0a28080 Merge pull request #37 from silinternational/develop 3eab6d0 use Github actions to run goreleaser

Changes

2.0.2 - 2021-04-29

Changelog

540714a Merge pull request #36 from silinternational/develop 6408e3c install goreleaser config e415db3 print "found (n) workspace(s)" in dry run mode

Changes

Bugfix (2.0.1) - 2021-04-26

  • fixed bug in workspaces update command
  • removed binaries from repo

Changes

Changes

This version was used to migrate around 75 production environments successfully so we believe it is ready for others to use in migrating their production environments.

Changes