Closed colliwhopper closed 4 years ago
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Overview of the Issue
I've tried to test the aws-cli natively and via the packer inspec provisioner. All other inspec tests pass. But if I try and test the aws-cli installation in the provisioning AMI instance via the test "aws --version" I get an error. I've tried all sorts with $PATH settings, sourcing file afterwards etc, tried all the different ways to install the aws cli, but no joy.
Reproduction Steps
OS is CIS redhat 7 benchmark 2.2.0.13 level 1 (ami-0d52c8b892fe642d9)
packer provisioner section json extract:
tried above provisioner with different extra_arguments as well.
Packer Version
packer version 1.5.5 (March 25,2020)
Inspec Tests
Log Fragments and crash.log files
(I switched real user for userremoved in the extract)
Any ideas? I'm either missing something horribly obvious or this is a bug?