Skip to content

Commit

Permalink
Fix MFA bug in clone.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Bergstrom committed Mar 26, 2019
1 parent af0f27c commit 8b1ec67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/opsicle/manageable_instance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def verify_subnet_id
if self.layer.subnet_id
subnet_id = self.layer.subnet_id
else
current_subnet = Aws::EC2::Subnet.new(id: self.subnet_id)
current_subnet = Aws::EC2::Subnet.new(id: self.subnet_id, client: @ec2)
subnet_name = find_subnet_name(current_subnet)
puts "\nCurrent subnet ID is \"#{subnet_name}\" #{current_subnet.availability_zone} (#{self.subnet_id})"

Expand Down

0 comments on commit 8b1ec67

Please sign in to comment.