Skip to content

Commit

Permalink
Fix some missing path.module
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Apr 21, 2021
1 parent 86dfb92 commit 2e4f1ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions java/integration-tests/aws-sdk/wrapper/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ resource "aws_lambda_layer_version" "sdk_layer" {
filename = "${path.module}/../../../layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip"
compatible_runtimes = ["java8", "java8.al2", "java11"]
license_info = "Apache-2.0"
source_code_hash = filebase64sha256("../../../layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip")
source_code_hash = filebase64sha256("${path.module}/../../../layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip")
}

resource "aws_lambda_layer_version" "collector_layer" {
layer_name = var.collector_layer_name
filename = "${path.module}/../../../../collector/build/collector-extension.zip"
compatible_runtimes = ["nodejs10.x", "nodejs12.x", "nodejs14.x"]
license_info = "Apache-2.0"
source_code_hash = filebase64sha256("../../../../collector/build/collector-extension.zip")
source_code_hash = filebase64sha256("${path.module}/../../../../collector/build/collector-extension.zip")
}

module "hello-lambda-function" {
Expand Down
4 changes: 2 additions & 2 deletions java/integration-tests/okhttp/wrapper/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ resource "aws_lambda_layer_version" "sdk_layer" {
filename = "${path.module}/../../../layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip"
compatible_runtimes = ["java8", "java8.al2", "java11"]
license_info = "Apache-2.0"
source_code_hash = filebase64sha256("../../../layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip")
source_code_hash = filebase64sha256("${path.module}/../../../layer-wrapper/build/distributions/opentelemetry-java-wrapper.zip")
}

resource "aws_lambda_layer_version" "collector_layer" {
layer_name = var.collector_layer_name
filename = "${path.module}/../../../../collector/build/collector-extension.zip"
compatible_runtimes = ["nodejs10.x", "nodejs12.x", "nodejs14.x"]
license_info = "Apache-2.0"
source_code_hash = filebase64sha256("../../../../collector/build/collector-extension.zip")
source_code_hash = filebase64sha256("${path.module}/../../../../collector/build/collector-extension.zip")
}

module "hello-lambda-function" {
Expand Down
4 changes: 2 additions & 2 deletions python/integration-tests/function/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ resource "aws_lambda_layer_version" "sdk_layer" {
filename = "${path.module}/../../src/build/layer.zip"
compatible_runtimes = ["python3.8"]
license_info = "Apache-2.0"
source_code_hash = filebase64sha256("../../src/build/layer.zip")
source_code_hash = filebase64sha256("${path.module}/../../src/build/layer.zip")
}

resource "aws_lambda_layer_version" "collector_layer" {
layer_name = var.collector_layer_name
filename = "${path.module}/../../../collector/build/collector-extension.zip"
compatible_runtimes = ["nodejs10.x", "nodejs12.x", "nodejs14.x"]
license_info = "Apache-2.0"
source_code_hash = filebase64sha256("../../../collector/build/collector-extension.zip")
source_code_hash = filebase64sha256("${path.module}/../../../collector/build/collector-extension.zip")
}

module "hello-lambda-function" {
Expand Down

0 comments on commit 2e4f1ca

Please sign in to comment.