Skip to content

Commit

Permalink
Update bandwidth charge_mode to traffic
Browse files Browse the repository at this point in the history
This updates the default bandwidth charge_mode from bandwidth
to traffic as it's not supported in some regions
  • Loading branch information
niuzhenguo committed Mar 18, 2021
1 parent 4cfd1ea commit 0f14aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion huaweicloud/step_allocate_ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (s *StepAllocateIp) createEIP(ui packer.Ui, config *Config, stateBag multis
Bandwidth: eips.BandwidthOpts{
Size: s.EIPBandwidthSize,
ShareType: "PER",
ChargeMode: "bandwidth",
ChargeMode: "traffic",
Name: fmt.Sprintf("packer_eip_bandwidth_%v", time.Now().Unix()),
},
}
Expand Down

0 comments on commit 0f14aa8

Please sign in to comment.