skip to Main Content

Amazon web services – How to import existing ECR repository into Terraform

I've tried variations of the following tf file after reading these docs: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ecr_repository to import an existing ECR repository. import { to = aws_ecr_repository.tamarack_api id = "arn:aws:ecr:us-west-2:xxxxxxxxxxxx:repository/tamarack-api" } resource "aws_ecr_repository" tamarack_api { name = "tamarack-api" } terraform plan gives me…

VIEW QUESTION

Amazon web services – How do I log into ECR to pull images if I can't use docker as a runtime?

One of the steps to log into ECR required to pull and push images is the following, according to AWS (https://docs.aws.amazon.com/AmazonECR/latest/userguide/getting-started-cli.html): aws ecr get-login-password --region region | docker login --username AWS --password-stdin aws_account_id.dkr.ecr.region.amazonaws.com However, from starting from Kubernetes v1.24, Docker…

VIEW QUESTION
Back To Top
Search