Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 59 additions & 59 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<a id="v4.0.2"></a>
# [Hide debug detail (v4.0.2)](https://github.com/silinternational/tfc-ops/releases/tag/v4.0.2) - 2024-11-08
# [Hide debug detail (v4.0.2)](https://github.com/sil-org/tfc-ops/releases/tag/v4.0.2) - 2024-11-08



[Changes][v4.0.2]


<a id="v4.0.1"></a>
# [v4.0.1](https://github.com/silinternational/tfc-ops/releases/tag/v4.0.1) - 2024-10-04
# [v4.0.1](https://github.com/sil-org/tfc-ops/releases/tag/v4.0.1) - 2024-10-04

## Changelog
* 7ac4229 Merge pull request [#78](https://github.com/silinternational/tfc-ops/issues/78) from silinternational/release/v4.0.0
* 7ac4229 Merge pull request [#78](https://github.com/sil-org/tfc-ops/issues/78) from sil-org/release/v4.0.0
* 10f4354 update module path to v4


Expand All @@ -19,10 +19,10 @@


<a id="v4.0.0"></a>
# [v4.0.0](https://github.com/silinternational/tfc-ops/releases/tag/v4.0.0) - 2024-10-02
# [v4.0.0](https://github.com/sil-org/tfc-ops/releases/tag/v4.0.0) - 2024-10-02

### Added
- Use API token in dotfiles ([ITSE-1492](https://itse.youtrack.cloud/issue/ITSE-1492)) (Resolves [#54](https://github.com/silinternational/tfc-ops/issues/54))
- Use API token in dotfiles ([ITSE-1492](https://itse.youtrack.cloud/issue/ITSE-1492)) (Resolves [#54](https://github.com/sil-org/tfc-ops/issues/54))

### Changed
- CallApi returns an error instead of panic
Expand All @@ -36,7 +36,7 @@


<a id="v3.5.4"></a>
# [v3.5.4](https://github.com/silinternational/tfc-ops/releases/tag/v3.5.4) - 2024-02-05
# [v3.5.4](https://github.com/sil-org/tfc-ops/releases/tag/v3.5.4) - 2024-02-05

### Fixed
- Fixed `workspaces clone` command to omit the VCS config parameters if the token is not specified.
Expand All @@ -45,7 +45,7 @@


<a id="v3.5.3"></a>
# [fix goreleaser (v3.5.3)](https://github.com/silinternational/tfc-ops/releases/tag/v3.5.3) - 2023-08-31
# [fix goreleaser (v3.5.3)](https://github.com/sil-org/tfc-ops/releases/tag/v3.5.3) - 2023-08-31

### Fixed
- Removed `replacements` option removed in [goreleaser 1.19](https://github.com/goreleaser/goreleaser/releases/tag/v1.19.0)
Expand All @@ -54,16 +54,16 @@


<a id="v3.5.2"></a>
# [Better error handling (v3.5.2)](https://github.com/silinternational/tfc-ops/releases/tag/v3.5.2) - 2023-08-31
# [Better error handling (v3.5.2)](https://github.com/sil-org/tfc-ops/releases/tag/v3.5.2) - 2023-08-31

### Fixed
- Better error handling in `GetVarsFromWorkspace` to indicate the cause of a 404 from the Terraform Cloud API. Addresses [#60](https://github.com/silinternational/tfc-ops/issues/60).
- Better error handling in `GetVarsFromWorkspace` to indicate the cause of a 404 from the Terraform Cloud API. Addresses [#60](https://github.com/sil-org/tfc-ops/issues/60).

[Changes][v3.5.2]


<a id="v3.5.0"></a>
# [v3.5.0](https://github.com/silinternational/tfc-ops/releases/tag/v3.5.0) - 2023-06-20
# [v3.5.0](https://github.com/sil-org/tfc-ops/releases/tag/v3.5.0) - 2023-06-20

### Added
- New library function `CreateRunTrigger` to configure workspaces to trigger a run from another workspace.
Expand All @@ -74,7 +74,7 @@


<a id="v3.4.0"></a>
# [v3.4.0](https://github.com/silinternational/tfc-ops/releases/tag/v3.4.0) - 2023-06-19
# [v3.4.0](https://github.com/sil-org/tfc-ops/releases/tag/v3.4.0) - 2023-06-19

### Added
- Added a new library function, `CreateRun`, to start a Run
Expand All @@ -83,7 +83,7 @@


<a id="v3.3.0"></a>
# [v3.3.0](https://github.com/silinternational/tfc-ops/releases/tag/v3.3.0) - 2023-06-15
# [v3.3.0](https://github.com/sil-org/tfc-ops/releases/tag/v3.3.0) - 2023-06-15

### Added
- Added new function AddRemoteStateConsumers
Expand All @@ -96,7 +96,7 @@


<a id="v3.2.1"></a>
# [v3.2.1](https://github.com/silinternational/tfc-ops/releases/tag/v3.2.1) - 2023-06-15
# [v3.2.1](https://github.com/sil-org/tfc-ops/releases/tag/v3.2.1) - 2023-06-15

### Fixed
- Added the missing /v3 on the module line in go.mod
Expand All @@ -105,7 +105,7 @@


<a id="v3.2.0"></a>
# [Include variable sets in workspace clone (v3.2.0)](https://github.com/silinternational/tfc-ops/releases/tag/v3.2.0) - 2023-06-15
# [Include variable sets in workspace clone (v3.2.0)](https://github.com/sil-org/tfc-ops/releases/tag/v3.2.0) - 2023-06-15

### Added
- Added a workspace clone option to apply the source workspace's variable sets to the new workspace.
Expand All @@ -114,7 +114,7 @@


<a id="3.2.0"></a>
# [3.2.0](https://github.com/silinternational/tfc-ops/releases/tag/3.2.0) - 2023-06-15
# [3.2.0](https://github.com/sil-org/tfc-ops/releases/tag/3.2.0) - 2023-06-15

### Added
- Added a workspace clone option to apply the source workspace's variable sets to the new workspace.
Expand All @@ -123,7 +123,7 @@


<a id="3.1.2"></a>
# [3.1.2](https://github.com/silinternational/tfc-ops/releases/tag/3.1.2) - 2023-04-25
# [3.1.2](https://github.com/sil-org/tfc-ops/releases/tag/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.
Expand All @@ -133,11 +133,11 @@


<a id="3.1.1"></a>
# [3.1.1](https://github.com/silinternational/tfc-ops/releases/tag/3.1.1) - 2023-03-09
# [3.1.1](https://github.com/sil-org/tfc-ops/releases/tag/3.1.1) - 2023-03-09

## Changelog
* fa67f00 Merge pull request [#58](https://github.com/silinternational/tfc-ops/issues/58) from silinternational/feature/upgrade-deps-for-security-alerts
* ab6abf4 Merge pull request [#59](https://github.com/silinternational/tfc-ops/issues/59) from silinternational/develop
* fa67f00 Merge pull request [#58](https://github.com/sil-org/tfc-ops/issues/58) from sil-org/feature/upgrade-deps-for-security-alerts
* ab6abf4 Merge pull request [#59](https://github.com/sil-org/tfc-ops/issues/59) from sil-org/develop
* 1ffe978 upgrade dependencies due to security alerts


Expand All @@ -146,7 +146,7 @@


<a id="3.1.0"></a>
# [3.1.0](https://github.com/silinternational/tfc-ops/releases/tag/3.1.0) - 2023-03-08
# [3.1.0](https://github.com/sil-org/tfc-ops/releases/tag/3.1.0) - 2023-03-08

### Added
- New command, `varsets apply`, applies a variable set to one or more workspaces.
Expand All @@ -170,18 +170,18 @@
- 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
- [#48](https://github.com/silinternational/tfc-ops/issues/48)
- [#49](https://github.com/silinternational/tfc-ops/issues/49)
- [#51](https://github.com/silinternational/tfc-ops/issues/51)
- [#52](https://github.com/silinternational/tfc-ops/issues/52)
- [#53](https://github.com/silinternational/tfc-ops/issues/53)
- [#48](https://github.com/sil-org/tfc-ops/issues/48)
- [#49](https://github.com/sil-org/tfc-ops/issues/49)
- [#51](https://github.com/sil-org/tfc-ops/issues/51)
- [#52](https://github.com/sil-org/tfc-ops/issues/52)
- [#53](https://github.com/sil-org/tfc-ops/issues/53)


[Changes][3.1.0]


<a id="3.0.0"></a>
# [3.0.0](https://github.com/silinternational/tfc-ops/releases/tag/3.0.0) - 2022-03-03
# [3.0.0](https://github.com/sil-org/tfc-ops/releases/tag/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.
Expand All @@ -195,7 +195,7 @@


<a id="2.1.1"></a>
# [2.1.1](https://github.com/silinternational/tfc-ops/releases/tag/2.1.1) - 2022-02-07
# [2.1.1](https://github.com/sil-org/tfc-ops/releases/tag/2.1.1) - 2022-02-07

### Fixed
- update README for changes made previously
Expand All @@ -205,25 +205,25 @@


<a id="2.1.0"></a>
# [2.1.0](https://github.com/silinternational/tfc-ops/releases/tag/2.1.0) - 2022-02-07
# [2.1.0](https://github.com/sil-org/tfc-ops/releases/tag/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](https://github.com/silinternational/tfc-ops/issues/29).
- By including `vcs-repo.display-identifier` this also addresses issue [#29](https://github.com/sil-org/tfc-ops/issues/29).

[Changes][2.1.0]


<a id="2.0.3"></a>
# [2.0.3](https://github.com/silinternational/tfc-ops/releases/tag/2.0.3) - 2021-04-30
# [2.0.3](https://github.com/sil-org/tfc-ops/releases/tag/2.0.3) - 2021-04-30

## Changelog

0a28080 Merge pull request [#37](https://github.com/silinternational/tfc-ops/issues/37) from silinternational/develop
0a28080 Merge pull request [#37](https://github.com/sil-org/tfc-ops/issues/37) from sil-org/develop
3eab6d0 use Github actions to run goreleaser


Expand All @@ -232,11 +232,11 @@


<a id="2.0.2"></a>
# [2.0.2](https://github.com/silinternational/tfc-ops/releases/tag/2.0.2) - 2021-04-29
# [2.0.2](https://github.com/sil-org/tfc-ops/releases/tag/2.0.2) - 2021-04-29

## Changelog

540714a Merge pull request [#36](https://github.com/silinternational/tfc-ops/issues/36) from silinternational/develop
540714a Merge pull request [#36](https://github.com/sil-org/tfc-ops/issues/36) from sil-org/develop
6408e3c install goreleaser config
e415db3 print "found (n) workspace(s)" in dry run mode

Expand All @@ -246,7 +246,7 @@ e415db3 print "found (n) workspace(s)" in dry run mode


<a id="2.0.1"></a>
# [Bugfix (2.0.1)](https://github.com/silinternational/tfc-ops/releases/tag/2.0.1) - 2021-04-26
# [Bugfix (2.0.1)](https://github.com/sil-org/tfc-ops/releases/tag/2.0.1) - 2021-04-26

- fixed bug in workspaces update command
- removed binaries from repo
Expand All @@ -255,43 +255,43 @@ e415db3 print "found (n) workspace(s)" in dry run mode


<a id="2.0.0"></a>
# [Rename and restructured (2.0.0)](https://github.com/silinternational/tfc-ops/releases/tag/2.0.0) - 2021-04-23
# [Rename and restructured (2.0.0)](https://github.com/sil-org/tfc-ops/releases/tag/2.0.0) - 2021-04-23



[Changes][2.0.0]


<a id="1.0.0"></a>
# [Ready for production use (1.0.0)](https://github.com/silinternational/tfc-ops/releases/tag/1.0.0) - 2018-03-16
# [Ready for production use (1.0.0)](https://github.com/sil-org/tfc-ops/releases/tag/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.

[Changes][1.0.0]


[v4.0.2]: https://github.com/silinternational/tfc-ops/compare/v4.0.1...v4.0.2
[v4.0.1]: https://github.com/silinternational/tfc-ops/compare/v4.0.0...v4.0.1
[v4.0.0]: https://github.com/silinternational/tfc-ops/compare/v3.5.4...v4.0.0
[v3.5.4]: https://github.com/silinternational/tfc-ops/compare/v3.5.3...v3.5.4
[v3.5.3]: https://github.com/silinternational/tfc-ops/compare/v3.5.2...v3.5.3
[v3.5.2]: https://github.com/silinternational/tfc-ops/compare/v3.5.0...v3.5.2
[v3.5.0]: https://github.com/silinternational/tfc-ops/compare/v3.4.0...v3.5.0
[v3.4.0]: https://github.com/silinternational/tfc-ops/compare/v3.3.0...v3.4.0
[v3.3.0]: https://github.com/silinternational/tfc-ops/compare/v3.2.1...v3.3.0
[v3.2.1]: https://github.com/silinternational/tfc-ops/compare/v3.2.0...v3.2.1
[v3.2.0]: https://github.com/silinternational/tfc-ops/compare/3.2.0...v3.2.0
[3.2.0]: https://github.com/silinternational/tfc-ops/compare/3.1.2...3.2.0
[3.1.2]: https://github.com/silinternational/tfc-ops/compare/3.1.1...3.1.2
[3.1.1]: https://github.com/silinternational/tfc-ops/compare/3.1.0...3.1.1
[3.1.0]: https://github.com/silinternational/tfc-ops/compare/3.0.0...3.1.0
[3.0.0]: https://github.com/silinternational/tfc-ops/compare/2.1.1...3.0.0
[2.1.1]: https://github.com/silinternational/tfc-ops/compare/2.1.0...2.1.1
[2.1.0]: https://github.com/silinternational/tfc-ops/compare/2.0.3...2.1.0
[2.0.3]: https://github.com/silinternational/tfc-ops/compare/2.0.2...2.0.3
[2.0.2]: https://github.com/silinternational/tfc-ops/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/silinternational/tfc-ops/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/silinternational/tfc-ops/compare/1.0.0...2.0.0
[1.0.0]: https://github.com/silinternational/tfc-ops/tree/1.0.0
[v4.0.2]: https://github.com/sil-org/tfc-ops/compare/v4.0.1...v4.0.2
[v4.0.1]: https://github.com/sil-org/tfc-ops/compare/v4.0.0...v4.0.1
[v4.0.0]: https://github.com/sil-org/tfc-ops/compare/v3.5.4...v4.0.0
[v3.5.4]: https://github.com/sil-org/tfc-ops/compare/v3.5.3...v3.5.4
[v3.5.3]: https://github.com/sil-org/tfc-ops/compare/v3.5.2...v3.5.3
[v3.5.2]: https://github.com/sil-org/tfc-ops/compare/v3.5.0...v3.5.2
[v3.5.0]: https://github.com/sil-org/tfc-ops/compare/v3.4.0...v3.5.0
[v3.4.0]: https://github.com/sil-org/tfc-ops/compare/v3.3.0...v3.4.0
[v3.3.0]: https://github.com/sil-org/tfc-ops/compare/v3.2.1...v3.3.0
[v3.2.1]: https://github.com/sil-org/tfc-ops/compare/v3.2.0...v3.2.1
[v3.2.0]: https://github.com/sil-org/tfc-ops/compare/3.2.0...v3.2.0
[3.2.0]: https://github.com/sil-org/tfc-ops/compare/3.1.2...3.2.0
[3.1.2]: https://github.com/sil-org/tfc-ops/compare/3.1.1...3.1.2
[3.1.1]: https://github.com/sil-org/tfc-ops/compare/3.1.0...3.1.1
[3.1.0]: https://github.com/sil-org/tfc-ops/compare/3.0.0...3.1.0
[3.0.0]: https://github.com/sil-org/tfc-ops/compare/2.1.1...3.0.0
[2.1.1]: https://github.com/sil-org/tfc-ops/compare/2.1.0...2.1.1
[2.1.0]: https://github.com/sil-org/tfc-ops/compare/2.0.3...2.1.0
[2.0.3]: https://github.com/sil-org/tfc-ops/compare/2.0.2...2.0.3
[2.0.2]: https://github.com/sil-org/tfc-ops/compare/2.0.1...2.0.2
[2.0.1]: https://github.com/sil-org/tfc-ops/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/sil-org/tfc-ops/compare/1.0.0...2.0.0
[1.0.0]: https://github.com/sil-org/tfc-ops/tree/1.0.0

<!-- Generated by https://github.com/rhysd/changelog-from-release v3.8.0 -->
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright 2018-2022 SIL International
Copyright 2018-2022 SIL Global
Comment thread
briskt marked this conversation as resolved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ modifying variables in workspaces.

There are three ways to download/install this script:

1. Download a pre-built binary for your operating system from the [Releases](https://github.com/silinternational/tfc-ops/releases) page.
1. Download a pre-built binary for your operating system from the [Releases](https://github.com/sil-org/tfc-ops/releases) page.
2. If you're a Go developer and want to modify the source before running, clone this repo and run with `go run main.go ...`

## Configuration
Expand Down Expand Up @@ -326,4 +326,4 @@ Global Flags:

## License
tfc-ops is released under the Apache 2.0 license. See
[LICENSE](https://github.com/silinternational/tfc-ops/blob/main/LICENSE)
[LICENSE](https://github.com/sil-org/tfc-ops/blob/main/LICENSE)
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2018-2022 SIL International
// Copyright © 2018-2022 SIL Global
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,7 +27,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/viper"

"github.com/silinternational/tfc-ops/v4/lib"
"github.com/sil-org/tfc-ops/v4/lib"
)

const requiredPrefix = "required - "
Expand Down
2 changes: 1 addition & 1 deletion cmd/variables.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2018-2022 SIL International
// Copyright © 2018-2022 SIL Global
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions cmd/variablesAdd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2018-2022 SIL International
// Copyright © 2018-2022 SIL Global
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,7 @@ import (

"github.com/spf13/cobra"

"github.com/silinternational/tfc-ops/v4/lib"
"github.com/sil-org/tfc-ops/v4/lib"
)

var variablesAddCmd = &cobra.Command{
Expand Down
4 changes: 2 additions & 2 deletions cmd/variablesDelete.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2018-2022 SIL International
// Copyright © 2018-2022 SIL Global
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,7 @@ import (

"github.com/spf13/cobra"

"github.com/silinternational/tfc-ops/v4/lib"
"github.com/sil-org/tfc-ops/v4/lib"
)

var key string
Expand Down
4 changes: 2 additions & 2 deletions cmd/variablesList.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2018-2022 SIL International
// Copyright © 2018-2022 SIL Global
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -22,7 +22,7 @@ import (

"github.com/spf13/cobra"

api "github.com/silinternational/tfc-ops/v4/lib"
api "github.com/sil-org/tfc-ops/v4/lib"
)

var (
Expand Down
Loading