Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying shared with an empty azul_docker_registry deletes all ECR images #6475

Closed
dsotirho-ucsc opened this issue Aug 5, 2024 · 2 comments
Labels
orange [process] Done by the Azul team wontfix [process] Issue is valid but resolution is not deemed necessary

Comments

@dsotirho-ucsc
Copy link
Contributor

$ _select
lrwxr-xr-x@ 1 daniel  staff  10 Aug  5 16:46 .active -> dev.shared

$ git log -n 1 --pretty=oneline
27c24d0528563d2a115402ced89526e2a1339a76 (HEAD -> develop, github/develop, github/HEAD) [a] Create PFB-based verbatim manifest format for HCA (#6122, PR #6163)

$ azul_docker_registry="" make -C terraform/shared apply_keep_unused
azul_terraform_keep_unused=1 /Library/Developer/CommandLineTools/usr/bin/make apply
envhook.py: Warning: azul_docker_registry is '' but should be '122796619775.dkr.ecr.us-east-1.amazonaws.com/', you must run `source environment`
envhook.py: Warning: azul_terraform_keep_unused is '1' but should be '0', you must run `source environment`

…

Terraform will perform the following actions:

  # aws_ecr_repository.repository_-c_vp5z2sHBUIpD0KsPiris41Q4 will be destroyed
  # (because aws_ecr_repository.repository_-c_vp5z2sHBUIpD0KsPiris41Q4 is not in configuration)
  - resource "aws_ecr_repository" "repository_-c_vp5z2sHBUIpD0KsPiris41Q4" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/lmenezes/cerebro" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/lmenezes/cerebro" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/lmenezes/cerebro" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/lmenezes/cerebro" -> null
      - tags                 = {
          - "Name"                = "azul-repository_-c_vp5z2sHBUIpD0KsPiris41Q4"
          - "billing"             = "hca"
          - "component"           = "azul-repository_-c_vp5z2sHBUIpD0KsPiris41Q4"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_-c_vp5z2sHBUIpD0KsPiris41Q4"
          - "billing"             = "hca"
          - "component"           = "azul-repository_-c_vp5z2sHBUIpD0KsPiris41Q4"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk will be destroyed
  # (because aws_ecr_repository.repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk is not in configuration)
  - resource "aws_ecr_repository" "repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/cllunsford/aws-signing-proxy" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/cllunsford/aws-signing-proxy" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/cllunsford/aws-signing-proxy" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/cllunsford/aws-signing-proxy" -> null
      - tags                 = {
          - "Name"                = "azul-repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk"
          - "billing"             = "hca"
          - "component"           = "azul-repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk"
          - "billing"             = "hca"
          - "component"           = "azul-repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI will be destroyed
  # (because aws_ecr_repository.repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI is not in configuration)
  - resource "aws_ecr_repository" "repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/ucscgi/azul-elasticsearch" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/ucscgi/azul-elasticsearch" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/ucscgi/azul-elasticsearch" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/ucscgi/azul-elasticsearch" -> null
      - tags                 = {
          - "Name"                = "azul-repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI"
          - "billing"             = "hca"
          - "component"           = "azul-repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI"
          - "billing"             = "hca"
          - "component"           = "azul-repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_K-VSucwpXWS9IhO8a1jzO1OyD7A will be destroyed
  # (because aws_ecr_repository.repository_K-VSucwpXWS9IhO8a1jzO1OyD7A is not in configuration)
  - resource "aws_ecr_repository" "repository_K-VSucwpXWS9IhO8a1jzO1OyD7A" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/ucscgi/azul-pycharm" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/ucscgi/azul-pycharm" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/ucscgi/azul-pycharm" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/ucscgi/azul-pycharm" -> null
      - tags                 = {
          - "Name"                = "azul-repository_K-VSucwpXWS9IhO8a1jzO1OyD7A"
          - "billing"             = "hca"
          - "component"           = "azul-repository_K-VSucwpXWS9IhO8a1jzO1OyD7A"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_K-VSucwpXWS9IhO8a1jzO1OyD7A"
          - "billing"             = "hca"
          - "component"           = "azul-repository_K-VSucwpXWS9IhO8a1jzO1OyD7A"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_T5RNOZeB17FMMdqWDaeHqMhCpWs will be destroyed
  # (because aws_ecr_repository.repository_T5RNOZeB17FMMdqWDaeHqMhCpWs is not in configuration)
  - resource "aws_ecr_repository" "repository_T5RNOZeB17FMMdqWDaeHqMhCpWs" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/gitlab/gitlab-runner" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/gitlab/gitlab-runner" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/gitlab/gitlab-runner" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/gitlab/gitlab-runner" -> null
      - tags                 = {
          - "Name"                = "azul-repository_T5RNOZeB17FMMdqWDaeHqMhCpWs"
          - "billing"             = "hca"
          - "component"           = "azul-repository_T5RNOZeB17FMMdqWDaeHqMhCpWs"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_T5RNOZeB17FMMdqWDaeHqMhCpWs"
          - "billing"             = "hca"
          - "component"           = "azul-repository_T5RNOZeB17FMMdqWDaeHqMhCpWs"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc will be destroyed
  # (because aws_ecr_repository.repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc is not in configuration)
  - resource "aws_ecr_repository" "repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/bitnami/kibana" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/bitnami/kibana" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/bitnami/kibana" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/bitnami/kibana" -> null
      - tags                 = {
          - "Name"                = "azul-repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc"
          - "billing"             = "hca"
          - "component"           = "azul-repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc"
          - "billing"             = "hca"
          - "component"           = "azul-repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository__kXrfx-nuExla08_MoKYA0BKDGQ will be destroyed
  # (because aws_ecr_repository.repository__kXrfx-nuExla08_MoKYA0BKDGQ is not in configuration)
  - resource "aws_ecr_repository" "repository__kXrfx-nuExla08_MoKYA0BKDGQ" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/ucscgi/azul-bigquery-emulator" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/ucscgi/azul-bigquery-emulator" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/ucscgi/azul-bigquery-emulator" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/ucscgi/azul-bigquery-emulator" -> null
      - tags                 = {
          - "Name"                = "azul-repository__kXrfx-nuExla08_MoKYA0BKDGQ"
          - "billing"             = "hca"
          - "component"           = "azul-repository__kXrfx-nuExla08_MoKYA0BKDGQ"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository__kXrfx-nuExla08_MoKYA0BKDGQ"
          - "billing"             = "hca"
          - "component"           = "azul-repository__kXrfx-nuExla08_MoKYA0BKDGQ"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_uJLCsGg4i14JxrxVYS2BXr2A74o will be destroyed
  # (because aws_ecr_repository.repository_uJLCsGg4i14JxrxVYS2BXr2A74o is not in configuration)
  - resource "aws_ecr_repository" "repository_uJLCsGg4i14JxrxVYS2BXr2A74o" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/library/docker" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/library/docker" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/library/docker" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/library/docker" -> null
      - tags                 = {
          - "Name"                = "azul-repository_uJLCsGg4i14JxrxVYS2BXr2A74o"
          - "billing"             = "hca"
          - "component"           = "azul-repository_uJLCsGg4i14JxrxVYS2BXr2A74o"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_uJLCsGg4i14JxrxVYS2BXr2A74o"
          - "billing"             = "hca"
          - "component"           = "azul-repository_uJLCsGg4i14JxrxVYS2BXr2A74o"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI will be destroyed
  # (because aws_ecr_repository.repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI is not in configuration)
  - resource "aws_ecr_repository" "repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/gitlab/gitlab-ce" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/gitlab/gitlab-ce" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/gitlab/gitlab-ce" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/gitlab/gitlab-ce" -> null
      - tags                 = {
          - "Name"                = "azul-repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI"
          - "billing"             = "hca"
          - "component"           = "azul-repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI"
          - "billing"             = "hca"
          - "component"           = "azul-repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_ys6KdgIdmqpuJHF1kEObUeMm1bk will be destroyed
  # (because aws_ecr_repository.repository_ys6KdgIdmqpuJHF1kEObUeMm1bk is not in configuration)
  - resource "aws_ecr_repository" "repository_ys6KdgIdmqpuJHF1kEObUeMm1bk" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/clamav/clamav" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/clamav/clamav" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/clamav/clamav" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/clamav/clamav" -> null
      - tags                 = {
          - "Name"                = "azul-repository_ys6KdgIdmqpuJHF1kEObUeMm1bk"
          - "billing"             = "hca"
          - "component"           = "azul-repository_ys6KdgIdmqpuJHF1kEObUeMm1bk"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_ys6KdgIdmqpuJHF1kEObUeMm1bk"
          - "billing"             = "hca"
          - "component"           = "azul-repository_ys6KdgIdmqpuJHF1kEObUeMm1bk"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # aws_ecr_repository.repository_zWG8IIspasm7Xd9EUMjU6ACUZec will be destroyed
  # (because aws_ecr_repository.repository_zWG8IIspasm7Xd9EUMjU6ACUZec is not in configuration)
  - resource "aws_ecr_repository" "repository_zWG8IIspasm7Xd9EUMjU6ACUZec" {
      - arn                  = "arn:aws:ecr:us-east-1:122796619775:repository/docker.io/library/python" -> null
      - force_delete         = true -> null
      - id                   = "docker.io/library/python" -> null
      - image_tag_mutability = "MUTABLE" -> null
      - name                 = "docker.io/library/python" -> null
      - registry_id          = "122796619775" -> null
      - repository_url       = "122796619775.dkr.ecr.us-east-1.amazonaws.com/docker.io/library/python" -> null
      - tags                 = {
          - "Name"                = "azul-repository_zWG8IIspasm7Xd9EUMjU6ACUZec"
          - "billing"             = "hca"
          - "component"           = "azul-repository_zWG8IIspasm7Xd9EUMjU6ACUZec"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null
      - tags_all             = {
          - "Name"                = "azul-repository_zWG8IIspasm7Xd9EUMjU6ACUZec"
          - "billing"             = "hca"
          - "component"           = "azul-repository_zWG8IIspasm7Xd9EUMjU6ACUZec"
          - "deployment"          = "dev"
          - "owner"               = "hannes@ucsc.edu"
          - "service"             = "azul"
          - "terraform_component" = "shared"
        } -> null

      - encryption_configuration {
          - encryption_type = "AES256" -> null
            # (1 unchanged attribute hidden)
        }

      - image_scanning_configuration {
          - scan_on_push = false -> null
        }
    }

  # null_resource.cleanup will be destroyed
  # (because null_resource.cleanup is not in configuration)
  - resource "null_resource" "cleanup" {
      - id = "8674665223082153551" -> null
    }

  # null_resource.image_-RUd680REcOlRIQ206B6pBduFTU will be destroyed
  # (because null_resource.image_-RUd680REcOlRIQ206B6pBduFTU is not in configuration)
  - resource "null_resource" "image_-RUd680REcOlRIQ206B6pBduFTU" {
      - id       = "5577006791947779410" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_2FwtupP4hupwHZYUmn5EbYDNS7U will be destroyed
  # (because null_resource.image_2FwtupP4hupwHZYUmn5EbYDNS7U is not in configuration)
  - resource "null_resource" "image_2FwtupP4hupwHZYUmn5EbYDNS7U" {
      - id       = "605394647632969758" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_2uFW_Y3KhG1_fxcxU05r03sqN2E will be destroyed
  # (because null_resource.image_2uFW_Y3KhG1_fxcxU05r03sqN2E is not in configuration)
  - resource "null_resource" "image_2uFW_Y3KhG1_fxcxU05r03sqN2E" {
      - id       = "4751997750760398084" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_5JkfwHTG3mhd6Pljfo4SJe2TPGY will be destroyed
  # (because null_resource.image_5JkfwHTG3mhd6Pljfo4SJe2TPGY is not in configuration)
  - resource "null_resource" "image_5JkfwHTG3mhd6Pljfo4SJe2TPGY" {
      - id       = "2775422040480279449" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_9MCE3WH2g5ONDx11MWKZ8zALojo will be destroyed
  # (because null_resource.image_9MCE3WH2g5ONDx11MWKZ8zALojo is not in configuration)
  - resource "null_resource" "image_9MCE3WH2g5ONDx11MWKZ8zALojo" {
      - id       = "7504504064263669287" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_IxQGiFCM8d4CfGixzqdt5bgh5gQ will be destroyed
  # (because null_resource.image_IxQGiFCM8d4CfGixzqdt5bgh5gQ is not in configuration)
  - resource "null_resource" "image_IxQGiFCM8d4CfGixzqdt5bgh5gQ" {
      - id       = "6334824724549167320" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_Ldl4m3_PgOwJ0wLQ7kTs03GiB4w will be destroyed
  # (because null_resource.image_Ldl4m3_PgOwJ0wLQ7kTs03GiB4w is not in configuration)
  - resource "null_resource" "image_Ldl4m3_PgOwJ0wLQ7kTs03GiB4w" {
      - id       = "4037200794235010051" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_PRJCkvC6ZwkDzLvbo9Irge9difg will be destroyed
  # (because null_resource.image_PRJCkvC6ZwkDzLvbo9Irge9difg is not in configuration)
  - resource "null_resource" "image_PRJCkvC6ZwkDzLvbo9Irge9difg" {
      - id       = "8674665223082153551" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_eJIYA0l1pJRHmQERq_spgCTfCgM will be destroyed
  # (because null_resource.image_eJIYA0l1pJRHmQERq_spgCTfCgM is not in configuration)
  - resource "null_resource" "image_eJIYA0l1pJRHmQERq_spgCTfCgM" {
      - id       = "3916589616287113937" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_q01K-H3muu4BQ5tDVIcaBUm6S8g will be destroyed
  # (because null_resource.image_q01K-H3muu4BQ5tDVIcaBUm6S8g is not in configuration)
  - resource "null_resource" "image_q01K-H3muu4BQ5tDVIcaBUm6S8g" {
      - id       = "894385949183117216" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_tHHolAs739TnJA_kFP3OgHMjDmk will be destroyed
  # (because null_resource.image_tHHolAs739TnJA_kFP3OgHMjDmk is not in configuration)
  - resource "null_resource" "image_tHHolAs739TnJA_kFP3OgHMjDmk" {
      - id       = "6129484611666145821" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.image_vmn6mmg-RHZhVMtnEFSW5nwBryc will be destroyed
  # (because null_resource.image_vmn6mmg-RHZhVMtnEFSW5nwBryc is not in configuration)
  - resource "null_resource" "image_vmn6mmg-RHZhVMtnEFSW5nwBryc" {
      - id       = "1443635317331776148" -> null
      - triggers = {
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_-c_vp5z2sHBUIpD0KsPiris41Q4 will be destroyed
  # (because null_resource.repository_-c_vp5z2sHBUIpD0KsPiris41Q4 is not in configuration)
  - resource "null_resource" "repository_-c_vp5z2sHBUIpD0KsPiris41Q4" {
      - id       = "8674665223082153551" -> null
      - triggers = {
          - "images"        = "image_2uFW_Y3KhG1_fxcxU05r03sqN2E"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk will be destroyed
  # (because null_resource.repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk is not in configuration)
  - resource "null_resource" "repository_7EMPYTfkN2OgUwtLcdrwDCJvZnk" {
      - id       = "605394647632969758" -> null
      - triggers = {
          - "images"        = "image_eJIYA0l1pJRHmQERq_spgCTfCgM"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI will be destroyed
  # (because null_resource.repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI is not in configuration)
  - resource "null_resource" "repository_AyarPpE4Z-Z-IWZidZBuc1CR6FI" {
      - id       = "5577006791947779410" -> null
      - triggers = {
          - "images"        = "image_tHHolAs739TnJA_kFP3OgHMjDmk"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_K-VSucwpXWS9IhO8a1jzO1OyD7A will be destroyed
  # (because null_resource.repository_K-VSucwpXWS9IhO8a1jzO1OyD7A is not in configuration)
  - resource "null_resource" "repository_K-VSucwpXWS9IhO8a1jzO1OyD7A" {
      - id       = "6334824724549167320" -> null
      - triggers = {
          - "images"        = "image_9MCE3WH2g5ONDx11MWKZ8zALojo"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_T5RNOZeB17FMMdqWDaeHqMhCpWs will be destroyed
  # (because null_resource.repository_T5RNOZeB17FMMdqWDaeHqMhCpWs is not in configuration)
  - resource "null_resource" "repository_T5RNOZeB17FMMdqWDaeHqMhCpWs" {
      - id       = "1443635317331776148" -> null
      - triggers = {
          - "images"        = "image_-RUd680REcOlRIQ206B6pBduFTU"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc will be destroyed
  # (because null_resource.repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc is not in configuration)
  - resource "null_resource" "repository_TMvIQZrgpVuIp0U4aTTmoHU4_cc" {
      - id       = "2775422040480279449" -> null
      - triggers = {
          - "images"        = "image_Ldl4m3_PgOwJ0wLQ7kTs03GiB4w"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository__kXrfx-nuExla08_MoKYA0BKDGQ will be destroyed
  # (because null_resource.repository__kXrfx-nuExla08_MoKYA0BKDGQ is not in configuration)
  - resource "null_resource" "repository__kXrfx-nuExla08_MoKYA0BKDGQ" {
      - id       = "6129484611666145821" -> null
      - triggers = {
          - "images"        = "image_q01K-H3muu4BQ5tDVIcaBUm6S8g"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_uJLCsGg4i14JxrxVYS2BXr2A74o will be destroyed
  # (because null_resource.repository_uJLCsGg4i14JxrxVYS2BXr2A74o is not in configuration)
  - resource "null_resource" "repository_uJLCsGg4i14JxrxVYS2BXr2A74o" {
      - id       = "894385949183117216" -> null
      - triggers = {
          - "images"        = "image_5JkfwHTG3mhd6Pljfo4SJe2TPGY,image_IxQGiFCM8d4CfGixzqdt5bgh5gQ"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI will be destroyed
  # (because null_resource.repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI is not in configuration)
  - resource "null_resource" "repository_y-Qyn7mQp60Rp6EAflzEzhaJwFI" {
      - id       = "3916589616287113937" -> null
      - triggers = {
          - "images"        = "image_PRJCkvC6ZwkDzLvbo9Irge9difg"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_ys6KdgIdmqpuJHF1kEObUeMm1bk will be destroyed
  # (because null_resource.repository_ys6KdgIdmqpuJHF1kEObUeMm1bk is not in configuration)
  - resource "null_resource" "repository_ys6KdgIdmqpuJHF1kEObUeMm1bk" {
      - id       = "4751997750760398084" -> null
      - triggers = {
          - "images"        = "image_vmn6mmg-RHZhVMtnEFSW5nwBryc"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

  # null_resource.repository_zWG8IIspasm7Xd9EUMjU6ACUZec will be destroyed
  # (because null_resource.repository_zWG8IIspasm7Xd9EUMjU6ACUZec is not in configuration)
  - resource "null_resource" "repository_zWG8IIspasm7Xd9EUMjU6ACUZec" {
      - id       = "4037200794235010051" -> null
      - triggers = {
          - "images"        = "image_2FwtupP4hupwHZYUmn5EbYDNS7U"
          - "keep_unused"   = "false"
          - "manifest_hash" = "3d7250a2d0d6488b8ba224b800d1ef7025f666f22c2ff30fcef752a9f2d3ac38"
          - "script_hash"   = "4f4d054d4cbbdb9729d517742b22c5d9cfff8d93602c95d76f019eee3e651f4c"
        } -> null
    }

Plan: 0 to add, 0 to change, 35 to destroy.

Warnings:

- Argument is deprecated
  on shared.tf.json line 95 (and 3 more)

To see the full warning notes, run Terraform without -compact-warnings.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: no

Apply cancelled.
make[1]: *** [apply] Error 1
make: *** [apply_keep_unused] Error 2
@dsotirho-ucsc dsotirho-ucsc added the orange [process] Done by the Azul team label Aug 5, 2024
@dsotirho-ucsc
Copy link
Contributor Author

Assignee to consider next steps.

@hannes-ucsc
Copy link
Member

There's a bunch of guards in terraform/shared/shared.tf.json.template.py that make the image-related resources optional depending on whether that variable is defined. This is intentional. It is desirable that we can use/deploy Azul without ECR.

It is the operator's duty to check the plan before deploying it. That's exactly why terraform deploy asks for confirmation. If they fail to do so, the remedy is to redeploy. That may take some time but is acceptable.

@hannes-ucsc hannes-ucsc added the wontfix [process] Issue is valid but resolution is not deemed necessary label Sep 4, 2024
@hannes-ucsc hannes-ucsc removed their assignment Sep 4, 2024
@achave11-ucsc achave11-ucsc closed this as not planned Won't fix, can't repro, duplicate, stale Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
orange [process] Done by the Azul team wontfix [process] Issue is valid but resolution is not deemed necessary
Projects
None yet
Development

No branches or pull requests

3 participants