voxpupuli / puppet-archive

Compressed archive file download and extraction with native types/providers for Windows and Unix
https://forge.puppet.com/puppet/archive
Apache License 2.0
59 stars 176 forks source link

use aws powershell command instead of aws cli #447

Open logicminds opened 3 years ago

logicminds commented 3 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

Use aws s3 url on windows

What are you seeing

The archive module code is written to use the aws cli as it works for many operating systems. However, because the AWS cli requires python and other packages, I want the option to use the powershell AWS tools instead.

The powershell tools for AWS reduces or eliminates security holes that are found with python and python pages. We would need to have an option to use the powershell tools and optionally install the powershell tools like we do for the aws cli.

What behaviour did you expect instead

Output log

Any additional information you'd like to impart