Complete ECR

Terraform scripts to create an AWS ECR using the module ecr.

To create an AWS ECR:

terraform init
terraform plan
terraform apply

To delete all resource:

terraform destroy

Requirements

Name

Version

terraform

>= 1.0

aws

~> 5.61

external

~> 2.3.1

null

~> 3.2.1

Providers

Name

Version

aws

~> 5.61

external

~> 2.3.1

null

~> 3.2.1

Modules

Name

Source

Version

complete_ecr

../../../ecr

n/a

Resources

Name

Type

null_resource.timestamp

resource

aws_caller_identity.current

data source

external_external.static_timestamp

data source

Inputs

Name

Description

Type

Default

Required

aws_profile

Profile of AWS credentials to deploy Terraform sources

string

"default"

no

aws_region

AWS region where the infrastructure will be deployed

string

"eu-west-3"

no

Outputs

Name

Description

kms_key_id

ARN of KMS used for ECR

repositories

Map of ECR repositories