Libraries
»
google-gcompute
(0.2.1)
»
Index (i)
»
Puppet Tasks
»
instance
Puppet Task: instance
Defined in:
tasks/instance.json,
tasks/instance.rb
Overview
Because sometimes you just want a quick way to get (or destroy) an instance
Supports noop?
false
Parameters
name
(Optional[String[1]])
— Name of the machine to create (or delete) (default: bolt-
)
image_family
(Optional[String[1]])
— An indication of which image family to launch the instance from (format:
:
) (default: centos-7:centos-cloud)
size_gb
(Optional[Integer])
— The size of the VM disk (in GB) (default: 50)
machine_type
(Optional[String[1]])
— The type of the machine to create (default: n1-standard-1)
allocate_static_ip
(Optional[Boolean])
— If true it will allocate a static IP for the machine (default: false)
network_name
(Optional[String[1]])
— The network to connect the VM to (default: default)
zone
(Optional[String[1]])
— The zone where your instance resides (default: us-west1-c)
project
(String[1])
— The project you have credentials for and will houses your instance
credential
(String[1])
— Path to a service account credentials file
ensure
(Optional[Enum['present', 'absent']])
— If you'd wish to quickly delete an instance instead of creating one (default: present)