Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- """Creates the Compute Engine."""
- def GenerateConfig(unused_context):
- """Creates the Compute Engine with network and firewall."""
- resources = [{
- 'name': 'vm-1',
- 'type': 'vm-template.py'
- }, {
- 'name': 'vm-2',
- 'type': 'vm-template-2.py'
- }, {
- 'name': 'network-1',
- 'type': 'network-template.py'
- }, {
- 'name': 'firewall-1',
- 'type': 'firewall-template.py'
- }]
- return {'resources': resources}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement