update CHANGELOG

This commit is contained in:
Mitchell Hashimoto 2015-06-29 09:22:33 -07:00
parent 60fabe64e1
commit aab5ca7059
2 changed files with 5 additions and 4 deletions

View File

@ -5,9 +5,10 @@ BUG FIXES:
* builder/amazon: Fix issue with sharing AMIs when using `ami_users` [GH-2308] * builder/amazon: Fix issue with sharing AMIs when using `ami_users` [GH-2308]
* builder/amazon: Fix for tag creation when creating new ec2 instance [GH-2317] * builder/amazon: Fix for tag creation when creating new ec2 instance [GH-2317]
* builder/amazon: Fix issue with creating AMIs with multiple device mappings [GH-2320] * builder/amazon: Fix issue with creating AMIs with multiple device mappings [GH-2320]
* builder/amazon: Fix failing AMI snapshot tagging when copying to other * builder/amazon: Fix failing AMI snapshot tagging when copying to other
regions [GH-2316] regions [GH-2316]
* builder/amazon-instance: Fix issue with creating AMIs without specifying a * builder/amazon: Fix setting AMI launch permissions [GH-2348]
* builder/amazon-instance: Fix issue with creating AMIs without specifying a
virtualization type [GH-2330] virtualization type [GH-2330]
## 0.8.0 (June 23, 2015) ## 0.8.0 (June 23, 2015)

View File

@ -56,8 +56,8 @@ func (s *StepModifyAMIAttributes) Run(state multistep.StateBag) multistep.StepAc
users := make([]*string, len(s.Users)) users := make([]*string, len(s.Users))
adds := make([]*ec2.LaunchPermission, len(s.Users)) adds := make([]*ec2.LaunchPermission, len(s.Users))
for i, u := range s.Users { for i, u := range s.Users {
users[i] = aws.String(&u) users[i] = aws.String(u)
adds[i] = &ec2.LaunchPermission{UserID: aws.String(&u)} adds[i] = &ec2.LaunchPermission{UserID: aws.String(u)}
} }
options["users"] = &ec2.ModifyImageAttributeInput{ options["users"] = &ec2.ModifyImageAttributeInput{
UserIDs: users, UserIDs: users,