Skip to content

Commit c10237b

Browse files
committed
set the keep_original and column_renames of the TF resource
1 parent 4b8d936 commit c10237b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

terraformprovider/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ HOSTNAME=registry.terraform.io
33
NAMESPACE=benzaita
44
NAME=chaossearch
55
BINARY=terraform-provider-${NAME}
6-
VERSION=0.12.3
6+
VERSION=0.12.4
77
OS_ARCH=$(shell go env GOOS)_$(shell go env GOARCH)
88

99
default: install

terraformprovider/resource_object_group.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ func resourceObjectGroupRead(ctx context.Context, data *schema.ResourceData, met
285285
data.Set("horizontal", resp.Horizontal)
286286
data.Set("live_events_sqs_arn", resp.LiveEventsSqsArn)
287287
data.Set("index_retention", resp.IndexRetention)
288+
data.Set("keep_original", resp.KeepOriginal)
288289

289290
// When the object in an Object Group use no compression, you need to create it with
290291
// `compression = ""`. However, when querying an Object Group whose object are not
@@ -300,6 +301,7 @@ func resourceObjectGroupRead(ctx context.Context, data *schema.ResourceData, met
300301
data.Set("pattern", resp.Pattern)
301302
data.Set("source_bucket", resp.SourceBucket)
302303

304+
data.Set("column_renames", resp.ColumnRenames)
303305
data.Set("column_selection", resp.ColumnSelection)
304306
data.Set("column_types", resp.ColumnTypes)
305307

0 commit comments

Comments
 (0)