Frequently Asked Questions
Q: What is the cause of
Error: /Stage[main]/Aem::Dispatcher/File[/etc/httpd/modules/dispatcher-apache2.4-4.2.2.so]: Could not evaluate: Could not retrieve information from environment production source(s) file:/tmp/shinesolutions/packer-aem/dispatcher-apache2.4-4.2.2.so?
A: This is a known issue with downloading AEM Dispatcher binary file from Adobe AEM Cloud. When attempting to download version 4.2.2 but it's no longer available because the latest version is 4.2.3, the download URL
https://www.adobeaemcloud.com/content/companies/public/adobe/dispatcher/dispatcher/_jcr_content/top/download_9/file.res/dispatcher-apache2.4-linux-x86-64-ssl-4.2.2.tar.gzstill allows you to download
dispatcher-apache2.4-linux-x86-64-ssl-4.2.2.tar.gzfile, however, the tarball contains
dispatcher-apache2.4-4.2.3.soinstead. The solution is simply to update
Q: How to set up custom AWS tags?
A: This can be configured in
aws.tagsproperty. For example:
aws: tags: - Key: Project Value: AEM OpenCloud - Key: Owner Value: Shine Solutions AEM Team - Key: Cost Centre Value: 12345
Q: How to debug the cause of my Custom Image Provisioner failure?
A: You can inspect what's going on within the EC2 instance being created by debugging Packer. This can be done by adding
packer buildcommand within Packer AEM's
Q: Why do I get an unsupported operation related to encrypted snapshots sharing error
Error modify AMI attributes: UnsupportedOperation: The requested operation is not supported. Images associated with encrypted Snapshots can not be shared.? A: This error can happen when you use a source AMI with an encrypted volume and then you're trying to share it with another AWS account, and this is not supported by AWS. To fix this, you need to remove the user configuration property
aws.ami_usersso that Packer AEM wouldn't try to modify the generated AMI by sharing it with another AWS account.