From 5c4d331a342053b49c0e10aa6dadf86a9de5149c Mon Sep 17 00:00:00 2001 From: Rickard von Essen Date: Tue, 6 Dec 2016 09:58:17 +0100 Subject: [PATCH] Added missing LaunchPermission --- builder/amazon/common/step_modify_ami_attributes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/amazon/common/step_modify_ami_attributes.go b/builder/amazon/common/step_modify_ami_attributes.go index 3c0f1402a..514b84c86 100644 --- a/builder/amazon/common/step_modify_ami_attributes.go +++ b/builder/amazon/common/step_modify_ami_attributes.go @@ -64,6 +64,7 @@ func (s *StepModifyAMIAttributes) Run(state multistep.StateBag) multistep.StepAc } addGroups.UserGroups = groups + addGroups.LaunchPermission.Add = addsImage options["groups"] = addGroups }