Commit aab5ca70 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

update CHANGELOG

parent 60fabe64
......@@ -7,6 +7,7 @@ BUG FIXES:
* builder/amazon: Fix issue with creating AMIs with multiple device mappings [GH-2320]
* builder/amazon: Fix failing AMI snapshot tagging when copying to other
regions [GH-2316]
* builder/amazon: Fix setting AMI launch permissions [GH-2348]
* builder/amazon-instance: Fix issue with creating AMIs without specifying a
virtualization type [GH-2330]
......
......@@ -56,8 +56,8 @@ func (s *StepModifyAMIAttributes) Run(state multistep.StateBag) multistep.StepAc
users := make([]*string, len(s.Users))
adds := make([]*ec2.LaunchPermission, len(s.Users))
for i, u := range s.Users {
users[i] = aws.String(&u)
adds[i] = &ec2.LaunchPermission{UserID: aws.String(&u)}
users[i] = aws.String(u)
adds[i] = &ec2.LaunchPermission{UserID: aws.String(u)}
}
options["users"] = &ec2.ModifyImageAttributeInput{
UserIDs: users,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment