Open Sarafian opened 7 years ago
Cool idea! Any interest at taking a stab at this? Haven't used much AWS yet : )
Cheers!
Since I've created this issue I've already taken a look into the code. I understand where the actually dependency type implementation needs to be created but can you provide some insight for the rest of the source code? A couple of questions
PSDependMap.psd1
?I'm already working on something similar here. Once I finish this and I know a bit more I'll do the contribution.
Notes for the future.
The cmdlet that will support this dependency is Copy-S3Object
.
Required parameters are:
All cmdlets in AWSPowerShell module define many optional parameters that drive the authorization. Optional parameters are:
Skipped the ones with credentials as they shouldn't be added to the configuration script. To decouple sensitive information from the configuration script, we need to define expressions that when invoked returned the intended object. For example for a property Credential
we need a CredentialExpression
that has the ability to return the intended value.
Hi!
Gotcha:
PSDependMap.psd1
, and drop the script you point to in PSDependScripts
.Cheers!
Pull request available #30
With the assumption that the AWSPowerShell module is installed.
With AWS S3 support we could download
https://s3-eu-west-1.amazonaws.com/cloudformation-templates-eu-west-1/Windows_Single_Server_SharePoint_Foundation.template
with something like thisWe need to consider authentication but as a first version we could it is setup on your profile with
Set-AWSCredentials