Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove depr. basic auth params deploy lambda #1070

Merged
merged 1 commit into from
Sep 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading