diff --git a/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/JDBCImport.scala b/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/JDBCImport.scala index e5dd167d4..d009cc45d 100644 --- a/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/JDBCImport.scala +++ b/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/JDBCImport.scala @@ -355,7 +355,7 @@ object Credentials { def getSecretValue(secretName: String, table_name: String = Constants.CREDSTASH_TABLE_NAME ): String = { val key: String = - s"credstash -t $table_name -r ap-south-1 get $secretName".!!.trim + s"credstash -t $table_name -r ap-southeast-1 get $secretName".!!.trim key } } diff --git a/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/common/Constants.scala b/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/common/Constants.scala index d42693582..49ca4d5af 100644 --- a/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/common/Constants.scala +++ b/sql-delta-import/src/main/scala/com/razorpay/spark/jdbc/common/Constants.scala @@ -12,7 +12,7 @@ object Constants { // seconds final val QUERY_TIMEOUT = 10800 - final val CREDSTASH_TABLE_NAME = "credstash-prod-emr-sqoop" + final val CREDSTASH_TABLE_NAME = "kubestash-de" final val CREATED_DATE = "created_date" final val CREATED_AT = "created_at"