Skip to content

Commit

Permalink
fixing tests errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo19sc committed Jul 19, 2024
1 parent 8d91d21 commit adc2e3b
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ locals {
# Getting RAM resource share ARN
resource_share_arn = local.create_ram_resource_share ? aws_ram_resource_share.ram_resource_share[0].arn : try(var.ram_share.resource_share_arn, null)
# Determining if the service network needs to be shared
share_service_network = local.create_service_network && try(var.ram_share.share_service_network, true)
share_service_network = local.config_ram_share ? local.create_service_network && try(var.ram_share.share_service_network, true) : false
# Default of var.ram_share.share_services - if not defined, all the created services will be included
share_services = try(var.ram_share.share_services, keys(var.services))
# Move var.ram_share.principals from list(string) to map(string)
Expand Down
2 changes: 1 addition & 1 deletion examples/target_groups/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ resource "aws_lambda_function" "lambda" {

data "archive_file" "python_lambda_package" {
type = "zip"
source_file = "./function.py"
source_file = "${path.module}/function.py"
output_path = "lambda_function.zip"
}

Expand Down
Binary file added lambda_function.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit adc2e3b

Please sign in to comment.