Skip to content

Commit

Permalink
add some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aahel committed Sep 18, 2023
1 parent 6e8e341 commit 83c2b19
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/lambda-registrator/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ resource "aws_iam_role_policy_attachment" "lambda_logs" {
policy_arn = aws_iam_policy.policy.arn
}
resource "random_id" "repo_id" {
byte_length = 8
byte_length = 4
}

resource "aws_ecr_repository" "lambda-registrator" {
Expand Down
1 change: 0 additions & 1 deletion test/acceptance/setup-terraform/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ locals {
}

resource "aws_ecr_repository" "lambda-registrator" {
count = var.enable_auto_publish_ecr_image ? 1 : 0
name = local.ecr_repository_name
force_delete = true
}
Expand Down
2 changes: 1 addition & 1 deletion test/acceptance/tests/basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestBasic(t *testing.T) {
namespace := ""
partition := ""
queryString := ""
tfVars["consul_image"] = "public.ecr.aws/hashicorp/consul:1.15.1"
tfVars["consul_image"] = "public.ecr.aws/hashicorp/consul:1.16.1"
if c.enterprise {
tfVars["consul_license"] = os.Getenv("CONSUL_LICENSE")
require.NotEmpty(t, tfVars["consul_license"], "CONSUL_LICENSE environment variable is required for enterprise tests")
Expand Down

0 comments on commit 83c2b19

Please sign in to comment.