Commit 6644d769 authored by Tom Cahill's avatar Tom Cahill

Use aws.String to obtain string pointers

parent 016d916d
......@@ -50,9 +50,9 @@ func (s *StepModifyAMIAttributes) Run(state multistep.StateBag) multistep.StepAc
}
for i, g := range s.Groups {
groups[i] = &g
groups[i] = aws.String(g)
adds[i] = &ec2.LaunchPermission{
Group: &g,
Group: aws.String(g),
}
}
addGroups.UserGroups = groups
......
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