Skip to content

Commit

Permalink
fix: ecr name to actuall
Browse files Browse the repository at this point in the history
  • Loading branch information
EreminAnton committed Jul 5, 2024
1 parent aa4c9c4 commit b6e0041
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion perm_revoker_lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module "access_revoker" {
# Pull image from ecr
package_type = var.use_pre_created_image ? "Image" : "Zip"
create_package = var.use_pre_created_image ? false : true
image_uri = var.use_pre_created_image ? "${var.ecr_owner_account_id}.dkr.ecr.${data.aws_region.current.name}.amazonaws.com/aws-sso-elevator-ecr:revoker-7b34f2e86ed8c7fb37036162b0cb0f03072e51e9" : null
image_uri = var.use_pre_created_image ? "${var.ecr_owner_account_id}.dkr.ecr.${data.aws_region.current.name}.amazonaws.com/aws-sso-elevator:revoker-aa4c9c4edbd942c328e6d91f9611dd51d4122407" : null

# Build zip from source code using Docker
hash_extra = var.use_pre_created_image ? "" : var.revoker_lambda_name
Expand Down
2 changes: 1 addition & 1 deletion slack_handler_lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module "access_requester_slack_handler" {
# Pull image from ecr
package_type = var.use_pre_created_image ? "Image" : "Zip"
create_package = var.use_pre_created_image ? false : true
image_uri = var.use_pre_created_image ? "${var.ecr_owner_account_id}.dkr.ecr.${data.aws_region.current.name}.amazonaws.com/aws-sso-elevator-ecr:requester-7b34f2e86ed8c7fb37036162b0cb0f03072e51e9" : null
image_uri = var.use_pre_created_image ? "${var.ecr_owner_account_id}.dkr.ecr.${data.aws_region.current.name}.amazonaws.com/aws-sso-elevator:requester-aa4c9c4edbd942c328e6d91f9611dd51d4122407" : null

# Build zip from source code using Docker
hash_extra = var.use_pre_created_image ? "" : var.requester_lambda_name
Expand Down

0 comments on commit b6e0041

Please sign in to comment.