I created 6 files : ecr.tf, output.tf, provider.tf, vars.tf, versions.tf and terraform.tfvars
My ecr.tf file looks like this
resource "aws_ecr_rep