This extension connects your TYPO3 instance to Amazon CloudFront. It rewrites all file paths in the frontend to match your CDN domain. You also have the possibility to invalidate Amazon CloudFront entries.
I've noticed the "Symfony Command (CLI Only)" doesn't work as documented in the documentation:
Amazon CloudFront entries can be invalidated via a CLI call. The command expects one or more paths (to files or folders).
Tested with
Branch: TYPO3-11
Commit: 0c1800fe3938674c383bb3278039a0b841288473
Used TYPO3 Version: 11.5.16
ERROR:
[ ArgumentCountError ] Too few arguments to function Leuchtfeuer\AwsTools\Domain\Repository\CloudFrontRepository::__construct(), 0 passed in /var/www/vhosts/dev.domain.de/typo3/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3220 and exactly 1 expected
I've noticed the "Symfony Command (CLI Only)" doesn't work as documented in the documentation: Amazon CloudFront entries can be invalidated via a CLI call. The command expects one or more paths (to files or folders).
Tested with Branch: TYPO3-11 Commit: 0c1800fe3938674c383bb3278039a0b841288473 Used TYPO3 Version: 11.5.16
Doc:
vendor/bin/typo3cms aws:cf:invalidate PATH_1 PATH_2 [...] PATH_X
CLI:
[user@server typo3]$ vendor/bin/typo3cms aws:cf:invalidate public/typo3conf/ext/ext-templates/Resources/Public/Css/*
ERROR:
[ ArgumentCountError ] Too few arguments to function Leuchtfeuer\AwsTools\Domain\Repository\CloudFrontRepository::__construct(), 0 passed in /var/www/vhosts/dev.domain.de/typo3/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 3220 and exactly 1 expected
TRACE:
Suggested Change:
Best regards