- automate shell script with terraform the creation of AWS ECR objects.
IMPORTANT: Please insert the repository names, then run the script.
- example 1: ["service1"]
- example 2: ["service1", "service2", "serviceN"]
0 out of 256 characters maximum (2 minimum). The name must start with a letter and can only contain lowercase letters, numbers, hyphens, underscores, and forward slashes."
Step 1: install terraform. more https://learn.hashicorp.com/tutorials/terraform/install-cli
Step 2: install git. more https://git-scm.com/downloads
Step 3:
git clone https://github.com/devopsmher/aws_ecr.git
Step 4:
terraform init
Step 5:
terraform apply