Skip to content

Commit

Permalink
Remove depr. basic auth params deploy lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
dan1elt0m committed Sep 23, 2024
1 parent cca9296 commit da3ccdc
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 da3ccdc

Please sign in to comment.