diff --git a/builder/common/step_security_group.go b/builder/common/step_security_group.go index d4c0d09..bfe646b 100644 --- a/builder/common/step_security_group.go +++ b/builder/common/step_security_group.go @@ -168,8 +168,6 @@ func buildSecurityGroupFilters(input map[string]string) oscgo.FiltersSecurityGro filterValue := []string{v} switch name := k; name { - case "account_ids": - filters.AccountIds = &filterValue case "security_group_ids": filters.SecurityGroupIds = &filterValue case "security_group_names": diff --git a/builder/common/step_update_omi.go b/builder/common/step_update_omi.go index e3d186c..e655e3d 100644 --- a/builder/common/step_update_omi.go +++ b/builder/common/step_update_omi.go @@ -50,7 +50,7 @@ func (s *StepUpdateOMIAttributes) Run(_ context.Context, state multistep.StateBa } updateImageRequest := oscgo.UpdateImageRequest{ - PermissionsToLaunch: oscgo.PermissionsOnResourceCreation{ + PermissionsToLaunch: &oscgo.PermissionsOnResourceCreation{ Additions: &oscgo.PermissionsOnResource{ AccountIds: &s.AccountIds, GlobalPermission: &s.GlobalPermission,