Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  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}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement