All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Added
Changed
- Updated go to v1.23
- Updated all go packages to latest
- Fixed Workspace Variable Create when the value passed in would error in the
isFile()
function. - Bumped Docker to alpine:3.20.3
Added
tfx workspace run discard
- Discard a run on a given Workspace.
Changed
- Updated go to v1.21
- Updated all go packages to latest
tfx admin gpg create
andtfx admin gpg show
commands will now output "KeyID" instead of "ID" to match the API response.
Added
tfx workspace team list
- List team access information for a given Workspace.
Changed
-
Updated
tfx workspace list
to add a flag--repository
that will filter based on workspaces that are connected to the specified repository identifier. -
tfx workspace show
- Now includes Team Access and Statefile Sharing output for the Workspace.
Removed
First official release!
Added
tfx workspace lock all
andtfx workspace unlock all
now support a--search
argument to filter affected workspaces by name search.
Changed
- Moved and updated docs to the
site/
folder and published to a custom domain tfx.rocks. - Created a style guide and updated Commands, more information can be found at https://tfx.rocks/about/style_guide/
- Some of these changes are BREAKING changes
- Mainly moving away from Command Flags that used camel case (example: "workspaceName" to "workspace-name")
- Updated all of the
tfx registry module
commands to support JSON (--json
) output. - Moved Module Registry commands from the
pmr
command, the new commands are:tfx registry module list
tfx registry module create
tfx registry module show
tfx registry module delete
tfx registry module version list
tfx registry module version create
tfx registry module version delete
tfx registry module version download
- Updated all of the
tfx registry provider
commands to support JSON (--json
) output. - Updated
tfx workspace
commands to support JSON (--json
) output.tfx workspace list
tfx workspace show
tfx workspace lock
tfx workspace lock all
tfx workspace unlock
tfx workspace unlock all
- Updated all of the
tfx workspace configuration-version
commands to support JSON (--json
) output. - Moved Configuration Version commands from the
cv
command, there is an alias forcv
to make typing commands easier, the new commands are:tfx workspace configuration-version list
ortfx workspace cv list
tfx workspace configuration-version create
ortfx workspace cv create
tfx workspace configuration-version show
ortfx workspace cv show
tfx workspace configuration-version download
ortfx workspace cv download
- Updated all of the
tfx workspace state-version
commands to support JSON (--json
) output. - Moved State Version commands from the
state
command, there is an alias forsv
to make typing commands easier, the new commands are:tfx workspace state-version list
ortfx workspace sv list
tfx workspace state-version create
ortfx workspace sv create
tfx workspace state-version show
ortfx workspace sv show
tfx workspace state-version download
ortfx workspace sv download
- Moved Module Registry commands from the
tfv
command, the new commands are:tfx admin terraform-version list
tfx admin terraform-version create
tfx admin terraform-version create official
tfx admin terraform-version show
tfx admin terraform-version delete
tfx admin terraform-version enable
tfx admin terraform-version enable all
tfx admin terraform-version disable
tfx admin terraform-version disable all
- Updated all of the
tfx admin terraform-version
commands to support JSON (--json
) output.
Removed
Added
New Commands:
tfx cv download
- Download a Configuration Version and unpack onto disk.tfx gpg list
- List GPG Keys of an Organizationtfx gpg create
- Create a GPG Key for an Organizationtfx gpg show
- Show details of a GPG Key for an Organizationtfx gpg delete
- Delete GPG Key for an Organizationtfx release tfe list
- List available Terraform Enterprise releasestfx release tfe show
- Show details of a Terraform Enterprise release, including release notestfx release tfe download
- Download a Terraform Enterprise airgap binarytfx release replicated list
- List available Replicated releasestfx release replicated download
- Download a Replicated releasetfx registry provider list
- List Providers in the Registrytfx registry provider version list
- List Versions for a Provider in the Registrytfx registry provider version platform list
- List Platforms for a Provider Version in the Registrytfx registry provider create
- Create a Provider in the Registrytfx registry provider show
- Show details of a Provider in the Registrytfx registry provider delete
- Delete a Provider in the Registrytfx registry provider version create
- Create a Version for a Provider in the Registrytfx registry provider version show
- Show details a Version for a Provider in the Registrytfx registry provider version delete
- Delete a Version for a Provider in the Registrytfx registry provider version platform create
- Create a Platform Version for a Provider in the Registrytfx registry provider version platform show
- Show details of a Platform Version for a Provider in the Registrytfx registry provider version platform delete
- Delete a Platform Version for a Provider in the Registrytfx variable list
- List all workspace variablestfx variable create
- Create a workspace variable, optionally the value can read from a filenametfx variable update
- Update an existing workspace variable, optionally the value can read from a filenametfx variable show
- Show details of a workspace variabletfx variable delete
- Delete a workspace variable
Changed
- Upgraded to Go 1.18.4
- PMR Module uploading - Removed helper code (shim) in favor of the now available the go-tfe functions
- Lots of refactoring within some commands
- Added optional
--json
flag framework to allow output to be in JSON for non-interactive use - Started the migrating to "github.com/fatih/color" from "github.com/logrusorgru/aurora" for text colors
Removed
Added
tfx workspace lock
- Lock a given workspace by name, in a given organizationtfx workspace lock all
- Lock all workspaces in a given organizationtfx workspace unlock
- Unlock a given workspace by name, in a given organizationtfx workspace unlock all
- Unlock all workspaces in a given organization
Changed
tfx workspace
commands now sort WS by name
Removed
Added
- hostname, organization and token can now be set with the respective environment values to align with TFE Provider. (#7)
- TFE_HOSTNAME
- TFE_ORGANIZATION
- TFE_TOKEN
- Added "message" flag to
tfx run
andtfx plan
commands. (#8) tfx workspace
commandslist
- List all workspaces in an Organization (optional workspace name search string)list all
- List all workspaces in All Organizations the API token has access to (optional workspace name search string)show
- Show details of a workspace
tfx metrics
command to pull details about TFx (this command is hidden)- Organization Count
- Workspace Count
- Run Count
- Policy Check Count
- Policies Pass/Fail Count
tfx metrics workspace
command to get run metrics for all workspaces in a single organization (this command is hidden)- Can filter on start date
- Output:
- Workspace Name
- Total Runs
- Errored Runs
- Discarded Runs
- Cancelled Runs
Changed
- Cleaned up docs
Removed
Added
tfx plan export
command to download sentinel mock datatfx state
commands- list
- show
- download
- create
tfx tfv
commands- list
- show
- create
- create official
- delete
- disable
- disable all
- enable
- enable all
Changed
tfx plan export
added flag to supply a directory- Added "Built By" output on version to help originate a build
Removed
Added
Changed
Removed