Example Airflow DAG that:
* creates a copy of existing Instance Template
* updates existing template in Instance Group Manager
Module Contents
-
tests.system.google.cloud.compute.example_compute_igm.ENV_ID[source]
-
tests.system.google.cloud.compute.example_compute_igm.PROJECT_ID[source]
-
tests.system.google.cloud.compute.example_compute_igm.LOCATION = 'europe-west1-b'[source]
-
tests.system.google.cloud.compute.example_compute_igm.REGION = 'europe-west1'[source]
-
tests.system.google.cloud.compute.example_compute_igm.SHORT_MACHINE_TYPE_NAME = 'n1-standard-1'[source]
-
tests.system.google.cloud.compute.example_compute_igm.DAG_ID = 'cloud_compute_igm'[source]
-
tests.system.google.cloud.compute.example_compute_igm.TEMPLATE_NAME = 'instance-template-igm-test'[source]
-
tests.system.google.cloud.compute.example_compute_igm.NEW_TEMPLATE_NAME = 'instance-template-test-new'[source]
-
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_TEMPLATE_BODY[source]
-
tests.system.google.cloud.compute.example_compute_igm.NEW_DESCRIPTION = 'Test new description'[source]
-
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_TEMPLATE_BODY_UPDATE[source]
-
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_GROUP_MANAGER_NAME = 'instance-group-test'[source]
-
tests.system.google.cloud.compute.example_compute_igm.INSTANCE_GROUP_MANAGER_BODY[source]
-
tests.system.google.cloud.compute.example_compute_igm.SOURCE_TEMPLATE_URL[source]
-
tests.system.google.cloud.compute.example_compute_igm.DESTINATION_TEMPLATE_URL[source]
-
tests.system.google.cloud.compute.example_compute_igm.UPDATE_POLICY[source]
-
tests.system.google.cloud.compute.example_compute_igm.gce_instance_template_insert[source]
-
tests.system.google.cloud.compute.example_compute_igm.test_run[source]