From 43fb85d7eebd8e8ad6536144e47203187a8dd8cd Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Fri, 18 Apr 2025 14:58:04 -0400 Subject: [PATCH] remove eecr data item as it is in the provider --- README.md | 2 -- copy_images.tf | 5 ----- 2 files changed, 7 deletions(-) diff --git a/README.md b/README.md index 153a1ad..e9719ed 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,6 @@ Developer NOTE: We should automate this configuration. | Name | Version | |------|---------| | [aws](#provider\_aws) | >= 5.14.0 | -| [aws.eecr](#provider\_aws.eecr) | >= 5.14.0 | | [helm](#provider\_helm) | >= 2.11.0 | | [null](#provider\_null) | >= 3.2.1 | | [terraform](#provider\_terraform) | n/a | @@ -53,7 +52,6 @@ Developer NOTE: We should automate this configuration. | [null_resource.module_name](https://registry.terraform.io/providers/hashicorp/null/latest/docs/resources/resource) | resource | | [terraform_data.bucket_name_validator](https://registry.terraform.io/providers/hashicorp/terraform/latest/docs/resources/data) | resource | | [aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity) | data source | -| [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 | | [aws_s3_bucket.s3_server_access_logs](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/s3_bucket) | data source | diff --git a/copy_images.tf b/copy_images.tf index 8970535..585b445 100644 --- a/copy_images.tf +++ b/copy_images.tf @@ -35,11 +35,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 }