|
@@ -41,7 +41,10 @@ resource "aws_codebuild_project" "this_no_artifact" {
|
|
|
|
|
|
resource "aws_ecr_repository" "this-server" {
|
|
|
name = "portal_server"
|
|
|
- image_tag_mutability = "IMMUTABLE"
|
|
|
+ # tfsec:ignore:aws-ecr-enforce-immutable-repository Allow mutable tags for now - TO-DO
|
|
|
+ # image_tag_mutability = "IMMUTABLE"
|
|
|
+ # MSOCI-2182 - This breaks the push process for new changes to the portal servers.
|
|
|
+ # The codebuild code depends on being able to tag a new image with the latest tag.
|
|
|
|
|
|
image_scanning_configuration {
|
|
|
scan_on_push = true
|
|
@@ -50,7 +53,10 @@ resource "aws_ecr_repository" "this-server" {
|
|
|
|
|
|
resource "aws_ecr_repository" "this-nginx" {
|
|
|
name = "django_nginx"
|
|
|
- image_tag_mutability = "IMMUTABLE"
|
|
|
+ # tfsec:ignore:aws-ecr-enforce-immutable-repository Allow mutable tags for now - TO-DO
|
|
|
+ # image_tag_mutability = "IMMUTABLE"
|
|
|
+ # MSOCI-2182 - This breaks the push process for new changes to the portal servers.
|
|
|
+ # The codebuild code depends on being able to tag a new image with the latest tag.
|
|
|
|
|
|
image_scanning_configuration {
|
|
|
scan_on_push = true
|