Skip to content
Snippets Groups Projects
Commit 2497730a authored by Nuwan Rajika Kumarasiri's avatar Nuwan Rajika Kumarasiri
Browse files

Add ECR resource for publishing Secure Agent image

Image will be built and publish by the CI/CD process
parent a31a98ad
No related branches found
No related tags found
2 merge requests!20Add note about minimum privileges for IICS user,!5Add ECR resource for publishing Secure Agent image
# 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
...@@ -86,4 +86,16 @@ variable "ecs_task_name" { ...@@ -86,4 +86,16 @@ variable "ecs_task_name" {
variable "ecs_service_name" { variable "ecs_service_name" {
default = "iics-agent-service" 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment