Open adamdaniel2993 opened 3 years ago
Hi there @adamdaniel2993 I formatted your description a bit so that it is easier to read. Can you include the DEBUG logs PACKER_LOG=1 packer build my.pkr.hcl
so that we can get a better sense of what is happening.
@nywilken here are the logs, I changed Read-S3Object -BucketName aws-codedeploy-us-east-1 -Key latest/codedeploy-agent.msi -File c:\temp\codedeploy-agent.msi I'm downloading the file manually and then trying to install it but is ignoring the command that install codedeploy, C:\Users\Administrator\codedeploy-agent.msi /quiet /l C:\Users\Administrator\host-agent.txt why? I don't know Packer_log.txt
Hi I'm trying to build a windows server 2019 AMI using packer, everything was fine but when I try to install AWS-Codedeploy this line " Read-S3Object -BucketName aws-codedeploy-us-east-1 -Key latest/codedeploy-agent.msi -File c:\temp\codedeploy-agent.msi" is being ignored by packer...
This is my pkr.hcl
** This is exactly what is happening **
After create the temp directory is not executing the Read-S3Object -BucketName aws-codedeploy-us-east-1 -Key latest/codedeploy-agent.msi -File c:\temp\codedeploy-agent.msi", command