diff --git a/tests/platform-ci/Gemfile b/tests/platform-ci/Gemfile
index 51e2c17b96fa698a517980c1bbaa44f362ad5dc3..44a8637d42f8cf6f76126120d3f64ecccb2bb1da 100644
--- a/tests/platform-ci/Gemfile
+++ b/tests/platform-ci/Gemfile
@@ -13,5 +13,7 @@ group :test do
   # Use puppet-catalog-test from git because last released gem 0.4.2 gives a deprecation
   # warning: "[DEPRECATION] `last_comment` is deprecated.  Please use `last_description` instead."
   gem "puppet-catalog-test", :git => 'https://github.com/invadersmustdie/puppet-catalog-test.git', :ref => 'ac386793c2c456d2071dd0adda716224128f0bb3'
+  # Install fog-aws because the gem dependency of leap_cli is now optional
+  gem "fog-aws"
   gem "leap_cli", :git => 'https://leap.se/git/leap_cli.git'
 end