Example Airflow DAG that starts, stops and sets the machine type of a Google Compute
Engine instance.
Module Contents
-
tests.system.providers.google.cloud.compute.example_compute.ENV_ID[source]
-
tests.system.providers.google.cloud.compute.example_compute.PROJECT_ID[source]
-
tests.system.providers.google.cloud.compute.example_compute.DAG_ID = cloud_compute[source]
-
tests.system.providers.google.cloud.compute.example_compute.LOCATION = europe-west1-b[source]
-
tests.system.providers.google.cloud.compute.example_compute.REGION = europe-west1[source]
-
tests.system.providers.google.cloud.compute.example_compute.GCE_INSTANCE_NAME = instance-1[source]
-
tests.system.providers.google.cloud.compute.example_compute.SHORT_MACHINE_TYPE_NAME = n1-standard-1[source]
-
tests.system.providers.google.cloud.compute.example_compute.TEMPLATE_NAME = instance-template[source]
-
tests.system.providers.google.cloud.compute.example_compute.INSTANCE_TEMPLATE_BODY[source]
-
tests.system.providers.google.cloud.compute.example_compute.GCE_INSTANCE_BODY[source]
-
tests.system.providers.google.cloud.compute.example_compute.GCE_INSTANCE_FROM_TEMPLATE_BODY[source]
-
tests.system.providers.google.cloud.compute.example_compute.gce_instance_insert[source]
-
tests.system.providers.google.cloud.compute.example_compute.test_run[source]