mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Merge pull request #2733 from brettporter/gce-service-accounts
[google|compute] ability to supply serviceAccounts on image create
This commit is contained in:
commit
5ad688a312
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ module Fog
|
|||
attribute :machine_type, :aliases => 'machineType'
|
||||
attribute :disks, :aliases => 'disks'
|
||||
attribute :metadata
|
||||
attribute :service_accounts, :aliases => 'serviceAccounts'
|
||||
attribute :tags, :squash => 'items'
|
||||
attribute :self_link, :aliases => 'selfLink'
|
||||
|
||||
|
@ -151,6 +152,7 @@ module Fog
|
|||
'externalIp' => external_ip,
|
||||
'disks' => disks,
|
||||
'metadata' => metadata,
|
||||
'serviceAccounts' => service_accounts,
|
||||
'tags' => tags
|
||||
}.delete_if {|key, value| value.nil?}
|
||||
|
||||
|
|
Loading…
Reference in a new issue