Skip to content

Commit

Permalink
Merge pull request #30115 from maxhajek/patch-1
Browse files Browse the repository at this point in the history
fix: correct key in tfMap for AS2 transports
  • Loading branch information
ewbankkit authored Mar 20, 2023
2 parents 0420de2 + 980c0fc commit c11fbd1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/30115.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_transfer_server: Fix error refreshing `protocol_details.as2_transports` value
```
2 changes: 1 addition & 1 deletion internal/service/transfer/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ func flattenProtocolDetails(apiObject *transfer.ProtocolDetails) []interface{} {
tfMap := map[string]interface{}{}

if v := apiObject.As2Transports; v != nil {
tfMap["as2_transport"] = aws.StringValueSlice(v)
tfMap["as2_transports"] = aws.StringValueSlice(v)
}

if v := apiObject.PassiveIp; v != nil {
Expand Down

0 comments on commit c11fbd1

Please sign in to comment.