diff --git a/README.md b/README.md index c31a937..1c69fe7 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,6 @@ Common issues and solutions: | Name | Version | |------|---------| | [aws](#provider\_aws) | ~> 5.14 | -| [aws.eecr](#provider\_aws.eecr) | ~> 5.14 | | [helm](#provider\_helm) | ~> 2.11 | | [kubernetes](#provider\_kubernetes) | ~> 2.23 | | [null](#provider\_null) | ~> 3.2 | @@ -104,7 +103,6 @@ Common issues and solutions: | [null_resource.git_version](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource | | [null_resource.module_name](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource | | [random_uuid.user_secret](https://registry.terraform.io/providers/hashicorp/random/latest/docs/resources/uuid) | resource | -| [aws_ecr_authorization_token.ecr_token](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ecr_authorization_token) | data source | | [aws_ecr_authorization_token.token](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ecr_authorization_token) | data source | | [kubernetes_secret.db-secrets](https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/data-sources/secret) | data source | diff --git a/copy_images.tf b/copy_images.tf index 88dd5e1..16a8b3a 100644 --- a/copy_images.tf +++ b/copy_images.tf @@ -19,7 +19,7 @@ locals { enabled = true dest_path = null name = "bitnami/postgresql" - source_image = "postgresql/postgresql" + source_image = "opensource/postgresql/postgresql" source_registry = format("%v/%v", local.ent_ecr_source, "ironbank") source_tag = var.postgresql_tag tag = var.postgresql_tag @@ -56,11 +56,6 @@ module "images" { destination_password = data.aws_ecr_authorization_token.token.password } -data "aws_ecr_authorization_token" "ecr_token" { - provider = aws.eecr - registry_id = var.eecr_account_id -} - data "aws_ecr_authorization_token" "token" { registry_id = var.account_id }