Skip to content

Commit c59ee95

Browse files
Shrey Kapoorsankhsin
authored andcommitted
Bug Fix - Bootstrap Execution triggering during all updates
1 parent f8fc47f commit c59ee95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/bds/bds_bds_instance_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@ func (s *BdsBdsInstanceResourceCrud) Update() error {
15961596
isKafkaBrokerAdded = isKafkaBrokerAdded1
15971597
}
15981598

1599-
if _, ok := s.D.GetOkExists("bootstrap_script_url"); ok {
1599+
if _, ok := s.D.GetOkExists("bootstrap_script_url"); ok && s.D.HasChange("bootstrap_script_url") {
16001600
err := s.ExecuteBootstrapScript()
16011601
if err != nil {
16021602
return err

0 commit comments

Comments
 (0)