tests.system.google.cloud.bigtable.example_bigtable

Example Airflow DAG that creates and performs following operations on Cloud Bigtable: - creates an Instance - creates a Table - updates Cluster - waits for Table replication completeness - deletes the Table - deletes the Instance

This DAG relies on the following environment variables:

Module Contents

tests.system.google.cloud.bigtable.example_bigtable.ENV_ID[source]
tests.system.google.cloud.bigtable.example_bigtable.PROJECT_ID[source]
tests.system.google.cloud.bigtable.example_bigtable.DAG_ID = 'bigtable'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_BASE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_1[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_ID_2[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_DISPLAY_NAME = 'instance-name'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_DISPLAY_NAME_UPDATED[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_TYPE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_TYPE_PROD[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_LABELS: dict[str, str][source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_INSTANCE_LABELS_UPDATED[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_ID = 'bigtable-cluster-id'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_ZONE = 'europe-west1-b'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_NODES = 3[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_NODES_UPDATED = 5[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_CLUSTER_STORAGE_TYPE[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_TABLE_ID = 'bigtable-table-id'[source]
tests.system.google.cloud.bigtable.example_bigtable.CBT_POKE_INTERVAL = 60[source]
tests.system.google.cloud.bigtable.example_bigtable.create_instance_task[source]
tests.system.google.cloud.bigtable.example_bigtable.test_run[source]

Was this entry helpful?