diff --git a/icinga-build-rpm-test b/icinga-build-rpm-test
index 73b55fa5b364c6a530fc7967707aa3941e9b36b6..6e7790cb5292b6ad617341cb857ddaf247e30d1e 100755
--- a/icinga-build-rpm-test
+++ b/icinga-build-rpm-test
@@ -8,7 +8,7 @@ repository="${WORKDIR}/${BUILDDIR}"/RPMS
 
 # Preparing local repository
 case "$ICINGA_BUILD_OS" in
-  centos|fedora|rhel)
+  centos|fedora|rhel|amzn)
     (
       set -ex
       createrepo "$repository"