Example DAG using PostgresToGCSOperator.
This DAG relies on the following OS environment variables
Module Contents
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DAG_ID = 'example_postgres_to_gcs'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.ENV_ID[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.PROJECT_ID[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.REGION = 'europe-west2'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.ZONE[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.NETWORK = 'default'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DB_NAME = 'testdb'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DB_PORT = 5432[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DB_USER_NAME = 'demo_user'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DB_USER_PASSWORD = 'demo_password'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.SHORT_MACHINE_TYPE_NAME = 'n1-standard-1'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DB_INSTANCE_NAME[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.GCE_INSTANCE_BODY[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DELETE_PERSISTENT_DISK[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.SETUP_POSTGRES[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.FIREWALL_RULE_NAME[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.CREATE_FIREWALL_RULE[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.DELETE_FIREWALL_RULE[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.CONNECTION_ID[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.BUCKET_NAME[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.FILE_NAME = 'result.json'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.SQL_TABLE = 'test_table'[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.SQL_CREATE[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.SQL_INSERT[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.SQL_SELECT[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.log[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.create_instance[source]
-
tests.system.providers.google.cloud.transfers.example_postgres_to_gcs.test_run[source]