Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
aab5ca70
Commit
aab5ca70
authored
Jun 29, 2015
by
Mitchell Hashimoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update CHANGELOG
parent
60fabe64
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
CHANGELOG.md
CHANGELOG.md
+3
-2
builder/amazon/common/step_modify_ami_attributes.go
builder/amazon/common/step_modify_ami_attributes.go
+2
-2
No files found.
CHANGELOG.md
View file @
aab5ca70
...
@@ -7,6 +7,7 @@ BUG FIXES:
...
@@ -7,6 +7,7 @@ BUG FIXES:
*
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: Fix setting AMI launch permissions [GH-2348]
*
builder/amazon-instance: Fix issue with creating AMIs without specifying a
*
builder/amazon-instance: Fix issue with creating AMIs without specifying a
virtualization type [GH-2330]
virtualization type [GH-2330]
...
...
builder/amazon/common/step_modify_ami_attributes.go
View file @
aab5ca70
...
@@ -56,8 +56,8 @@ func (s *StepModifyAMIAttributes) Run(state multistep.StateBag) multistep.StepAc
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment