Skip to content

Commit 13e81e4

Browse files
authored
Merge pull request #1168 from hashicorp/add-created-updated-timestamps-stack-configs
Add createdAt and updatedAt timestamps to stack config
2 parents 0ec19f1 + fccac6e commit 13e81e4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
* Adds BETA support for reading, testing and updating Organization Audit Configuration by @glennsarti-hashi [#1151](https://github.com/hashicorp/go-tfe/pull/1151)
88
* Adds `Completed` status to `StackConfiguration` by @hwatkins05-hashicorp [#1163](https://github.com/hashicorp/go-tfe/pull/1163)
9+
* Adds `CreatedAt` and `UpdatedAt` fields to `StackConfiguration` by @Maed223 [#1168](https://github.com/hashicorp/go-tfe/pull/1168)
910

1011
# v1.87.0
1112

stack.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ type StackConfiguration struct {
131131
ErrorMessage *string `jsonapi:"attr,error-message"`
132132
EventStreamURL string `jsonapi:"attr,event-stream-url"`
133133
Diagnostics []*StackDiagnostic `jsonapi:"attr,diags"`
134+
CreatedAt time.Time `jsonapi:"attr,created-at,iso8601"`
135+
UpdatedAt time.Time `jsonapi:"attr,updated-at,iso8601"`
134136

135137
Stack *Stack `jsonapi:"relation,stack"`
136138
}

0 commit comments

Comments
 (0)