diff --git a/examples/docker-image/main.tf b/examples/docker-image/main.tf
index d05632b..0c931af 100644
--- a/examples/docker-image/main.tf
+++ b/examples/docker-image/main.tf
@@ -18,7 +18,7 @@ module "label" {
 # pipeline. It is only done here for convenience and so that the example can be run locally.
 module "ecr" {
   source  = "cloudposse/ecr/aws"
-  version = "0.34.0"
+  version = "0.42.1"
   name    = module.label.id
 
   context = module.this.context