How to create a Docker Container Registry with Terraform? (Alibaba Cloud)

In this story, we will use Terraform to create a Container Registry instance named my-cr-public. Container Registry is a Docker Registry hosted and managed by Alibaba Cloud.

Creation of the module

We are going to create a module that we will call cr.

Let’s create a directory with the same name in the modules subdirectory:

mkdir -p modules/cr

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Bruno Delb

Bruno Delb

Blockchains, DevOps, Agile Coaching, development, testing, Cloud, Management 3.0, ITIL. It defines me.