Skip to content

Commit

Permalink
ListenerRule: Do not replace for priority tweaks (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmahfigma authored Jul 28, 2021
1 parent 8b95382 commit 9b9c044
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions aws/resource_aws_lb_listener_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ func resourceAwsLbbListenerRule() *schema.Resource {
ValidateFunc: validateArn,
},
"priority": {
Type: schema.TypeInt,
Optional: true,
Computed: true,
ForceNew: true,
Type: schema.TypeInt,
Optional: true,
Computed: true,
// ForceNew: true is not needed as this provider does use SetRulePriorities for updates
// https://github.com/hashicorp/terraform-provider-aws/pull/9848
ValidateFunc: validateAwsLbListenerRulePriority,
},
"action": {
Expand Down

0 comments on commit 9b9c044

Please sign in to comment.