Skip to content

Commit

Permalink
solve merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanRademaker committed Nov 27, 2023
2 parents f6c3862 + ebbe764 commit 3918b4a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion aws-lambda/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "databricks-cdk"
version = "0.11.18"
version = "0.11.21"
description = "Deploying databricks resources from cdk"
authors = ["Peter van 't Hof' <[email protected]>"]

Expand Down
4 changes: 2 additions & 2 deletions typescript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "databricks-cdk",
"version": "0.11.18",
"version": "0.11.21",
"license": "MIT",
"description": "With this package databricks resources can be deployed with cdk",
"type": "commonjs",
Expand Down
5 changes: 3 additions & 2 deletions typescript/src/resources/deploy-lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export interface CustomDeployLambdaProps {
readonly databricksPassParam?: string
readonly databricksAccountParam?: string
readonly lambdaCode?: aws_lambda.DockerImageCode
readonly lambdaName?: string
}

export abstract class IDatabricksDeployLambda extends Construct {
Expand Down Expand Up @@ -326,8 +327,8 @@ export class DatabricksDeployLambda extends IDatabricksDeployLambda {
]
}));

this.lambda = new aws_lambda.DockerImageFunction(this, "Lambda", {
functionName: "DatabricksDeploy",
this.lambda = new aws_lambda.DockerImageFunction(this, `${id}Lambda`, {
functionName: this.props.lambdaName,
code: dockerImageCode,
timeout: Duration.seconds(300),
role: this.lambdaRole,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class UnityCatalogVolume extends CustomResource {
properties: {
action: "volume",
workspace_url: props.workspace_url,
catalog: props.volume,
volume: props.volume,
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe("UnityCatalogVolume", () => {
"workspace_url": {
"Fn::ImportValue": "databricks-workspace-url"
},
"catalog": {
"volume": {
"name": "some-name",
"catalog_name": "some-catalog-name",
"schema_name": "some-schema-name",
Expand Down

0 comments on commit 3918b4a

Please sign in to comment.