Skip to content

Commit

Permalink
working on vpc access to codecommit
Browse files Browse the repository at this point in the history
  • Loading branch information
arnol377 committed May 14, 2024
1 parent 79f8b3b commit 8f386c4
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,6 @@ resource "aws_codecommit_repository" "ansible" {

data "aws_region" "current" {}

resource "aws_vpc_endpoint" "codecommit" {
for_each = toset([
"codecommit",
"git-codecommit"
])
vpc_id = local.vpc_id
service_name = "com.amazonaws.${data.aws_region.current.name}.${each.value}"
vpc_endpoint_type = "Interface"
}

module "main" {
source = "HappyPathway/image-pipeline/aws"
Expand Down

0 comments on commit 8f386c4

Please sign in to comment.