tests.system.google.cloud.compute.example_compute_igm

Example Airflow DAG that: * creates a copy of existing Instance Template * updates existing template in Instance Group Manager

Attributes

ENV_ID

PROJECT_ID

LOCATION

REGION

SHORT_MACHINE_TYPE_NAME

DAG_ID

TEMPLATE_NAME

NEW_TEMPLATE_NAME

INSTANCE_TEMPLATE_BODY

NEW_DESCRIPTION

INSTANCE_TEMPLATE_BODY_UPDATE

INSTANCE_GROUP_MANAGER_NAME

INSTANCE_GROUP_MANAGER_BODY

SOURCE_TEMPLATE_URL

DESTINATION_TEMPLATE_URL

UPDATE_POLICY

gce_instance_template_insert

test_run

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 = 'https://www.googleapis.com/compute/beta/projects/Uninferable/global/instanceTemplates/instance-t...[source]
tests.system.google.cloud.compute.example_compute_igm.DESTINATION_TEMPLATE_URL = 'https://www.googleapis.com/compute/beta/projects/Uninferable/global/instanceTemplates/instance-t...[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]

Was this entry helpful?