fix: change GlobalPermission to false in order to prevent public image creation

This commit is contained in:
Marin Salinas 2019-05-01 16:10:35 -05:00 committed by Megan Marsh
parent dc0db4b322
commit 03f8b2ceb5
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ func (s *StepUpdateOMIAttributes) Run(_ context.Context, state multistep.StateBa
PermissionsToCreateVolume: oapi.PermissionsOnResourceCreation{
Additions: oapi.PermissionsOnResource{
AccountIds: s.AccountIds,
GlobalPermission: true,
GlobalPermission: false,
},
},
}
@ -49,7 +49,7 @@ func (s *StepUpdateOMIAttributes) Run(_ context.Context, state multistep.StateBa
PermissionsToLaunch: oapi.PermissionsOnResourceCreation{
Additions: oapi.PermissionsOnResource{
AccountIds: s.AccountIds,
GlobalPermission: true,
GlobalPermission: false,
},
},
}