Is it possible to rename an ecr repo? Put a better way, "how would you rename an ecr repo"?
You can’t. You must create a new repo with a name. Cloudformation and Terraform will manage the replacement for you, though; (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html) > Update requires: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement
There are probably many more options, but Cloudformation and Terraform are certainly among the most widely used. AWS CDK is getting popular, as well (https://aws.amazon.com/cdk/). I have experience with Terraform, which I highly recommend. As for your specific question - how did you create the ECR repo? In the console? Then I guess you should just create a new repo with the new name and start using that, and delete the old.
thanks @msolli that makes sense, yeah, i think we can build a clojure cdk using the cloudformation resource specification. i tried starting to do that here. https://github.com/drewverlee/clojure-cloud-formation but currently i'm still in the research phase to see if it's possible. I looked at jsii and i didn't look as appealing as using the spec (above).
I'll give that a close read... Does that link tell me how to tell aws to do the replacement?
And thanks a ton!
Well, no, or that depends how you provision resources in AWS. Don’t think you can do it in the console, for example.
I use Terraform - if I would change the name in the Terraform config, then Terraform would create a new repo, and updated the references to the old repo wherever that referenced in the config.
@msolli by "provision the resource" are my options cf or tf?
Would anyone be up for a live virtual online meeting about devops via clojure? Right here in this channel via huddle? As to when, i'm down for this whenever.
I can join in
Sounds good, you tell me when in the next couple days, and we can just jump into a huddle and chat for a bit. I'm open ended, just want to talk and show how i interact with aws
Sure @drewverlee! I would love to check it out and exchange experience. Currently I’m home with my daughter who has a cold but I expect her to recover if not tomorrow then on Wednesday . I’m in Europe
sounds good, will make it happen 🙂
err your 8 hours ahead of me. So maybe like friday at like 10am my time and 6pm your time?
I'm flying out on Friday, sometime next week then?
@dimitar.ouzounoff let me know when your free tomorrow.
7PM EEST (UTC+3)?