Hide debug detail (v4.0.2) - 2024-11-08
v4.0.1 - 2024-10-04
- 7ac4229 Merge pull request #78 from silinternational/release/v4.0.0
- 10f4354 update module path to v4
v4.0.0 - 2024-10-02
- CallApi returns an error instead of panic
- Deleted commented out code
- Removed TFVars struct as it was a strict subset of the Vars struct.
- Removed deprecated
--dry-run-mode
flag
v3.5.4 - 2024-02-05
- Fixed
workspaces clone
command to omit the VCS config parameters if the token is not specified.
fix goreleaser (v3.5.3) - 2023-08-31
- Removed
replacements
option removed in goreleaser 1.19
Better error handling (v3.5.2) - 2023-08-31
- Better error handling in
GetVarsFromWorkspace
to indicate the cause of a 404 from the Terraform Cloud API. Addresses #60.
v3.5.0 - 2023-06-20
- 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.
v3.4.0 - 2023-06-19
- Added a new library function,
CreateRun
, to start a Run
v3.3.0 - 2023-06-15
- Added new function AddRemoteStateConsumers
- Added new CLI command "workspaces consumers"
- Use the proper
/v3
reference for internal package references. It conveniently worked before correcting the module line in go.mod (v3.2.1).
v3.2.1 - 2023-06-15
- Added the missing /v3 on the module line in go.mod
Include variable sets in workspace clone (v3.2.0) - 2023-06-15
- Added a workspace clone option to apply the source workspace's variable sets to the new workspace.
3.2.0 - 2023-06-15
- Added a workspace clone option to apply the source workspace's variable sets to the new workspace.
3.1.2 - 2023-04-25
- 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.
3.1.1 - 2023-03-09
- 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
3.1.0 - 2023-03-08
- 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 allvariables
commands. - Added unit test flow in Github Actions.
- New flag
--csv
: output variables list in CSV format.
- Changed "Terraform Enterprise" to "Terraform Cloud" in help output text.
- Internally, changed global variable
dryRunMode
toreadOnlyMode
. - 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
--dry-run-mode
forworkspaces update
andvariables update
commands to alleviate confusion withworkspaces clone -d
. Going forward, use the equivalent-r --read-only-mode
instead.
3.0.0 - 2022-03-03
workspaces update
andworkspaces list
now accept any attribute defined in the Terraform Cloud API.id
is also accepted.- Added
version
command.
- Breaking change: attribute names that didn't exactly match the API have been removed. These were:
createdat
,workingdirectory
,terraformversion
, andvcsrepo
. They are still accessible ascreated-at
,working-directory
,terraform-version
, andvcs-repo.identifier
.
workspaces update
now uses thesearch[name]
API parameter rather than retrieving the full list of workspaces.
2.1.1 - 2022-02-07
- update README for changes made previously
- change from
master
tomain
branch
2.1.0 - 2022-02-07
- 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
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
- By including
vcs-repo.display-identifier
this also addresses issue #29.
2.0.3 - 2021-04-30
0a28080 Merge pull request #37 from silinternational/develop 3eab6d0 use Github actions to run goreleaser
2.0.2 - 2021-04-29
540714a Merge pull request #36 from silinternational/develop 6408e3c install goreleaser config e415db3 print "found (n) workspace(s)" in dry run mode
Bugfix (2.0.1) - 2021-04-26
- fixed bug in workspaces update command
- removed binaries from repo
Rename and restructured (2.0.0) - 2021-04-23
Ready for production use (1.0.0) - 2018-03-16
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.