Skip to content

Commit

Permalink
Merge pull request #1070 from godatadriven/remove-deprecated-env-vars
Browse files Browse the repository at this point in the history
Remove depr. basic auth params deploy lambda
  • Loading branch information
dan1elt0m authored Sep 23, 2024
2 parents cca9296 + da3ccdc commit 0aacfe8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions typescript/src/resources/deploy-lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ export interface CustomDeployLambdaProps {
readonly accountId: string
readonly region: string
readonly lambdaVersion?: string
readonly databricksUserParam?: string
readonly databricksPassParam?: string
readonly databricksAccountParam?: string
readonly clientSecretParam?: string
readonly lambdaCode?: aws_lambda.DockerImageCode
readonly lambdaName?: string
readonly lambdaId?: string
Expand Down Expand Up @@ -337,9 +336,8 @@ export class DatabricksDeployLambda extends IDatabricksDeployLambda {
memorySize: 512,
environment: {
LAMBDA_METHOD: "cfn-deploy",
USER_PARAM: props.databricksUserParam || "/databricks/deploy/user",
PASS_PARAM: props.databricksPassParam || "/databricks/deploy/password",
ACCOUNT_PARAM: props.databricksAccountParam || "/databricks/account-id"
ACCOUNT_PARAM: props.databricksAccountParam || "/databricks/account-id",
CLIENT_SECRET_PARAM: props.clientSecretParam || "/databricks/deploy/client-secret"
},
logRetention: aws_logs.RetentionDays.THREE_MONTHS,
});
Expand Down

0 comments on commit 0aacfe8

Please sign in to comment.