Skip to content
Merged
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
2 changes: 1 addition & 1 deletion internal/provider/stream_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -1221,7 +1221,7 @@ func updateDestinationAttributesFromAPI(destAttrs map[string]interface{}) (types
switch val := v.(type) {
case string:
// Treat empty strings as null for optional fields that are not relevant for this destination type
if val == "" && (k == "access_key" || k == "secret_key" || k == "bucket" || k == "region" || k == "file_compression" || k == "sslmode") {
if val == "" && (k == "access_key" || k == "secret_key" || k == "bucket" || k == "region" || k == "file_compression" || k == "sslmode" || k == "security_token") {
attrs[k] = types.StringNull()
} else {
attrs[k] = types.StringValue(val)
Expand Down
Loading