Skip to content

Releases: silinternational/tfc-ops

Include variable sets in workspace clone

15 Jun 06:42
ce4eb07
Compare
Choose a tag to compare

Added

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

3.2.0

15 Jun 06:39
ce4eb07
Compare
Choose a tag to compare

Added

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

3.1.2

25 Apr 02:17
7f76c1d
Compare
Choose a tag to compare

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.

3.1.1

09 Mar 14:43
ab6abf4
Compare
Choose a tag to compare

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

3.1.0

08 Mar 06:05
d9a91f2
Compare
Choose a tag to compare

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

3.0.0

03 Mar 14:48
ba33737
Compare
Choose a tag to compare

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.

2.1.1

07 Feb 19:53
f2eda81
Compare
Choose a tag to compare

Fixed

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

2.1.0

07 Feb 19:13
49133c9
Compare
Choose a tag to compare

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.

2.0.3

30 Apr 19:43
0a28080
Compare
Choose a tag to compare

Changelog

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

2.0.2

29 Apr 22:16
540714a
Compare
Choose a tag to compare

Changelog

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