SHARE
TWEET

Untitled

a guest Sep 19th, 2019 101 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. """Creates the Compute Engine."""
  2.  
  3.  
  4. def GenerateConfig(unused_context):
  5.   """Creates the Compute Engine with network and firewall."""
  6.  
  7.   resources = [{
  8.       'name': 'vm-1',
  9.       'type': 'vm-template.py'
  10.   }, {
  11.       'name': 'vm-2',
  12.       'type': 'vm-template-2.py'
  13.   }, {
  14.       'name': 'network-1',
  15.       'type': 'network-template.py'
  16.   }, {
  17.       'name': 'firewall-1',
  18.       'type': 'firewall-template.py'
  19.   }]
  20.   return {'resources': resources}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top