Skip to content

Commit

Permalink
Merge pull request #18667 from czubocha/b-aws_xray_sampling_rule-vali…
Browse files Browse the repository at this point in the history
…dation

resource/aws_xray_sampling_rule fix rule name max length
  • Loading branch information
anGie44 authored Apr 8, 2021
2 parents 0dd42b6 + c5925aa commit 0f94f25
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/18667.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
resource/aws_xray_sampling_rule: Change the maximum length of `rule_name` from 128 to 32
```
2 changes: 1 addition & 1 deletion aws/resource_aws_xray_sampling_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func resourceAwsXraySamplingRule() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ForceNew: true,
ValidateFunc: validation.StringLenBetween(1, 128),
ValidateFunc: validation.StringLenBetween(1, 32),
},
"resource_arn": {
Type: schema.TypeString,
Expand Down

0 comments on commit 0f94f25

Please sign in to comment.