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_ssh.ENV_ID[source]
-
tests.system.google.cloud.compute.example_compute_ssh.PROJECT_ID[source]
-
tests.system.google.cloud.compute.example_compute_ssh.DAG_ID = 'cloud_compute_ssh'[source]
-
tests.system.google.cloud.compute.example_compute_ssh.LOCATION = 'europe-west2-b'[source]
-
tests.system.google.cloud.compute.example_compute_ssh.REGION = 'europe-west2'[source]
-
tests.system.google.cloud.compute.example_compute_ssh.GCE_INSTANCE_NAME = 'instance-ssh-test'[source]
-
tests.system.google.cloud.compute.example_compute_ssh.SHORT_MACHINE_TYPE_NAME = 'n1-standard-1'[source]
-
tests.system.google.cloud.compute.example_compute_ssh.GCE_INSTANCE_BODY[source]
-
tests.system.google.cloud.compute.example_compute_ssh.gce_instance_insert[source]
-
tests.system.google.cloud.compute.example_compute_ssh.test_run[source]