From 786a52c6158a35ef6d1b7e60561d1fd28540fc66 Mon Sep 17 00:00:00 2001 From: pankajastro <98807258+pankajastro@users.noreply.github.com> Date: Tue, 12 Apr 2022 11:02:12 +0530 Subject: [PATCH] Update default redshift db user (#211) --- .../aws/example_dags/example_redshift_cluster_management.py | 2 +- .../providers/amazon/aws/example_dags/example_redshift_sql.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py b/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py index 3988b4965..d1fe58fa7 100644 --- a/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py +++ b/astronomer/providers/amazon/aws/example_dags/example_redshift_cluster_management.py @@ -19,7 +19,7 @@ ) REDSHIFT_CLUSTER_IDENTIFIER = os.environ.get("REDSHIFT_CLUSTER_IDENTIFIER", "astro-providers-cluster") -REDSHIFT_CLUSTER_MASTER_USER = os.environ.get("REDSHIFT_CLUSTER_MASTER_USER", "adminuser") +REDSHIFT_CLUSTER_MASTER_USER = os.environ.get("REDSHIFT_CLUSTER_MASTER_USER", "awsuser") REDSHIFT_CLUSTER_MASTER_PASSWORD = os.environ.get("REDSHIFT_CLUSTER_MASTER_PASSWORD", "********") REDSHIFT_CLUSTER_DB_NAME = os.environ.get("REDSHIFT_CLUSTER_DB_NAME", "astro_dev") REDSHIFT_CLUSTER_TYPE = os.environ.get("REDSHIFT_CLUSTER_TYPE", "single-node") diff --git a/astronomer/providers/amazon/aws/example_dags/example_redshift_sql.py b/astronomer/providers/amazon/aws/example_dags/example_redshift_sql.py index 9ccdba952..4329acdd4 100644 --- a/astronomer/providers/amazon/aws/example_dags/example_redshift_sql.py +++ b/astronomer/providers/amazon/aws/example_dags/example_redshift_sql.py @@ -16,7 +16,7 @@ REDSHIFT_CONN_ID = os.environ.get("ASTRO_REDSHIFT_CONN_ID", "redshift_default") REDSHIFT_CLUSTER_IDENTIFIER = os.environ.get("REDSHIFT_CLUSTER_IDENTIFIER", "astro-providers-cluster") -REDSHIFT_CLUSTER_MASTER_USER = os.environ.get("REDSHIFT_CLUSTER_MASTER_USER", "adminuser") +REDSHIFT_CLUSTER_MASTER_USER = os.environ.get("REDSHIFT_CLUSTER_MASTER_USER", "awsuser") REDSHIFT_CLUSTER_MASTER_PASSWORD = os.environ.get("REDSHIFT_CLUSTER_MASTER_PASSWORD", "********") REDSHIFT_CLUSTER_TYPE = os.environ.get("REDSHIFT_CLUSTER_TYPE", "single-node") REDSHIFT_CLUSTER_NODE_TYPE = os.environ.get("REDSHIFT_CLUSTER_NODE_TYPE", "dc2.large")