Skip to content

Commit

Permalink
Merge pull request #33937 from Alex-Vol-Amz/aws_transfer_server_33889
Browse files Browse the repository at this point in the history
r/[Enhancement]: aws_transfer_server support for increased length login banners
  • Loading branch information
ewbankkit authored Oct 16, 2023
2 parents 96df598 + 340a0ad commit 8536696
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .changelog/33937.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
```release-note:enhancement
resource/aws_transfer_server: Change `pre_authentication_login_banner` and `post_authentication_login_banner` length limits to 4096
```

4 changes: 2 additions & 2 deletions internal/service/transfer/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,13 @@ func ResourceServer() *schema.Resource {
Type: schema.TypeString,
Optional: true,
Sensitive: true,
ValidateFunc: validation.StringLenBetween(0, 512),
ValidateFunc: validation.StringLenBetween(0, 4096),
},
"pre_authentication_login_banner": {
Type: schema.TypeString,
Optional: true,
Sensitive: true,
ValidateFunc: validation.StringLenBetween(0, 512),
ValidateFunc: validation.StringLenBetween(0, 4096),
},
"protocol_details": {
Type: schema.TypeList,
Expand Down

0 comments on commit 8536696

Please sign in to comment.