diff --git a/terraform/ecr.tf b/terraform/ecr.tf new file mode 100644 index 0000000000000000000000000000000000000000..dcf7ae4f3ec1df604e125f5613eca688f25e1df0 --- /dev/null +++ b/terraform/ecr.tf @@ -0,0 +1,6 @@ +# this repository is being used by +# .gitlab-ci.yml to publish the image +resource "aws_ecr_repository" "foo" { + name = var.ecr_repository_name + tags = var.ecr_repository_tags +} \ No newline at end of file diff --git a/terraform/variables.tf b/terraform/variables.tf index 92cb9a4db8a2d9f5806b172e2700487cbe9319aa..82a388921e233d4777ece2c921c77d0a27445222 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -86,4 +86,16 @@ variable "ecs_task_name" { variable "ecs_service_name" { default = "iics-agent-service" +} + +variable "ecr_repository_name" { + default = "265723766240.dkr.ecr.us-east-1.amazonaws.com/enterprise-integrations/iics_secure_agent" +} + +variable "ecr_repository_tags" { + type = map(string) + default = { + Name = "iics-agent-repository" + tier = "test" + } } \ No newline at end of file