tests.system.google.cloud.compute.example_compute

Example Airflow DAG that starts, stops and sets the machine type of a Google Compute Engine instance.

Module Contents

tests.system.google.cloud.compute.example_compute.ENV_ID[source]
tests.system.google.cloud.compute.example_compute.PROJECT_ID[source]
tests.system.google.cloud.compute.example_compute.DAG_ID = 'cloud_compute'[source]
tests.system.google.cloud.compute.example_compute.LOCATION = 'europe-west2-b'[source]
tests.system.google.cloud.compute.example_compute.REGION = 'europe-west2'[source]
tests.system.google.cloud.compute.example_compute.GCE_INSTANCE_NAME = 'instance-compute-test'[source]
tests.system.google.cloud.compute.example_compute.SHORT_MACHINE_TYPE_NAME = 'n1-standard-1'[source]
tests.system.google.cloud.compute.example_compute.TEMPLATE_NAME = 'instance-template'[source]
tests.system.google.cloud.compute.example_compute.INSTANCE_TEMPLATE_BODY[source]
tests.system.google.cloud.compute.example_compute.GCE_INSTANCE_BODY[source]
tests.system.google.cloud.compute.example_compute.GCE_INSTANCE_FROM_TEMPLATE_BODY[source]
tests.system.google.cloud.compute.example_compute.gce_instance_insert[source]
tests.system.google.cloud.compute.example_compute.test_run[source]

Was this entry helpful?