Skip to content

Commit 10a7a9e

Browse files
authored
Docs and GPG consistency (#93)
1 parent 1afaf8c commit 10a7a9e

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [v0.1.2] - 2023.10.13
99

1010
**Added**
1111

12+
* `tfx workspace run discard` - Discard a run on a given Workspace.
13+
1214
**Changed**
1315

1416
* Updated go to v1.21
1517
* Updated all go packages to latest
16-
* `tfx admin gpg create` command will now output "KeyID" instead of "ID" to match the API response.
17-
18-
**Removed**
18+
* `tfx admin gpg create` and `tfx admin gpg show` commands will now output "KeyID" instead of "ID" to match the API response.
1919

2020
## [v0.1.1] - 2022.09.11
2121

cmd/admin_gpg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func gpgShow(c TfxClientContext, namespace string, keyId string) error {
171171
}
172172

173173
o.AddMessageUserProvided("GPG Key Found", "")
174-
o.AddDeferredMessageRead("ID", g.ID)
174+
o.AddDeferredMessageRead("KeyID", g.KeyID)
175175
o.AddDeferredMessageRead("Created", FormatDateTime(g.CreatedAt))
176176
o.AddDeferredMessageRead("Updated", FormatDateTime(g.UpdatedAt))
177177
o.AddDeferredMessageRead("AsciiArmor", "\n"+g.AsciiArmor)

site/docs/commands/admin_gpg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ tfx admin gpg create --namespace firefly --public-key ./hashicorp.51852D87348F
3333
Using config file: /Users/tstraub/.tfx.hcl
3434
Create GPG Key for Organization: firefly
3535
GPG Key Created
36-
ID: 18
36+
KeyID: 51852D87348FFC4C
3737
Created: Fri Aug 19 21:48 2022
3838
Updated: Fri Aug 19 21:48 2022
3939
AsciiArmor:
@@ -80,7 +80,7 @@ $ tfx admin gpg show --namespace firefly --id 51852D87348FFC4C
8080
Using config file: /Users/tstraub/.tfx.hcl
8181
Show a GPG Key for Organization: firefly
8282
GPG Key Found
83-
ID: 16
83+
KeyID: 51852D87348FFC4C
8484
Created: Sat Jul 9 16:26 2022
8585
Updated: Sat Jul 9 16:26 2022
8686
AsciiArmor:

site/docs/commands/workspace_run.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,15 @@ Message: Triggered via API
9595
Terraform Version: 1.0.0
9696
Created: Tue Jun 28 17:46 2022
9797
```
98+
99+
## `tfx workspace run discard`
100+
101+
Discard a supplied Run.
102+
103+
**Example**
104+
105+
```sh
106+
$ tfx workspace run discard --id run-oB7uUW4Qgk9HQMCU
107+
Using config file: /Users/tstraub/.tfx.hcl
108+
Discarded run id: run-oB7uUW4Qgk9HQMCU
109+
```

0 commit comments

Comments
 (0)