From c62c0748a12a110f8fe007569a55414106140ed7 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 15 Apr 2025 16:20:48 -0400 Subject: [PATCH] token expired --- README.md | 3 --- copy_images.tf | 20 ++++++++++---------- variables.tf | 1 + 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c981c86..f62f6a2 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,6 @@ Common issues and solutions: | Name | Version | |------|---------| -| [aws](#provider\_aws) | 5.88.0 | | [helm](#provider\_helm) | 2.17.0 | ## Modules @@ -86,8 +85,6 @@ Common issues and solutions: | Name | Type | |------|------| | [helm_release.keycloak](https://registry.terraform.io/providers/hashicorp/helm/latest/docs/resources/release) | 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 | ## Inputs diff --git a/copy_images.tf b/copy_images.tf index 3af88f7..2fc1b3c 100644 --- a/copy_images.tf +++ b/copy_images.tf @@ -39,17 +39,17 @@ module "images" { force_delete = true lifecycle_policy_keep_count = 5 - source_username = data.aws_ecr_authorization_token.ecr_token.user_name - source_password = data.aws_ecr_authorization_token.ecr_token.password + # source_username = data.aws_ecr_authorization_token.ecr_token.user_name + # source_password = data.aws_ecr_authorization_token.ecr_token.password - destination_username = data.aws_ecr_authorization_token.token.user_name - destination_password = data.aws_ecr_authorization_token.token.password + # destination_username = data.aws_ecr_authorization_token.token.user_name + # destination_password = data.aws_ecr_authorization_token.token.password } -data "aws_ecr_authorization_token" "ecr_token" { - registry_id = var.account_id -} +# data "aws_ecr_authorization_token" "ecr_token" { +# registry_id = var.account_id +# } -data "aws_ecr_authorization_token" "token" { - registry_id = var.account_id -} +# data "aws_ecr_authorization_token" "token" { +# registry_id = var.account_id +# } diff --git a/variables.tf b/variables.tf index 9f73f81..fa1f4f4 100644 --- a/variables.tf +++ b/variables.tf @@ -1,3 +1,4 @@ +# tflint-ignore: terraform_unused_declarations variable "account_id" { description = "aws account number" type = string