Skip to content

Commit

Permalink
Add context to ModifyFleet
Browse files Browse the repository at this point in the history
  • Loading branch information
gjmveloso committed Feb 22, 2022
1 parent b872bf1 commit c0b9afe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/service/ec2/fleet.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,7 @@ func resourceFleetUpdate(d *schema.ResourceData, meta interface{}) error {
conn := meta.(*conns.AWSClient).EC2Conn

input := &ec2.ModifyFleetInput{
Context: aws.String(d.Get("context").(string)),
ExcessCapacityTerminationPolicy: aws.String(d.Get("excess_capacity_termination_policy").(string)),
LaunchTemplateConfigs: expandEc2FleetLaunchTemplateConfigRequests(d.Get("launch_template_config").([]interface{})),
FleetId: aws.String(d.Id()),
Expand Down

0 comments on commit c0b9afe

Please sign in to comment.