Skip to content

Commit

Permalink
fix(bindplane_configuration): Lack of rollout options should not caus…
Browse files Browse the repository at this point in the history
…e a change during apply (#114)
  • Loading branch information
jsirianni authored Aug 8, 2024
1 parent 2568aa6 commit bd52dcb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions provider/resource_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ func resourceConfigurationRead(d *schema.ResourceData, meta any) error {
// and sets them in the Terraform state. This will trigger a terraform apply if the
// rollout options have changed outside of Terraform.
func resourceConfigurationRolloutOptionsRead(d *schema.ResourceData, rollout model.ResourceConfiguration) error {
if len(rollout.Parameters) == 0 {
return nil
}

rolloutOptions := make(map[string]interface{})

rolloutOptions["type"] = rollout.Type
Expand Down

0 comments on commit bd52dcb

Please sign in to comment.