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 committed Jun 23, 2022
1 parent d304a55 commit 6f611d0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions internal/service/elbv2/listener_rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,11 @@ func ResourceListenerRule() *schema.Resource {
ValidateFunc: verify.ValidARN,
},
"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: validListenerRulePriority,
},
"action": {
Expand Down

0 comments on commit 6f611d0

Please sign in to comment.