rundeck-plugins / powershell-aws-cli-s3-steps Goto Github PK
View Code? Open in Web Editor NEWWorkflow steps to interact with AWS S3
Workflow steps to interact with AWS S3
Retry logic looks to be working. Forced a failure to occur using s3 ls step.
Logging looks good just want to make sure that the "Error running command - Line Number: 90" error is expected when Retry logic is executed?
An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
Command [aws s3 ls s3://dev-dms-rdso-os-ois-administration/diagnostic-data/ --endpoint-url https://ooss.uhc.com ] failed. Retrying in 2 seconds.
An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
Command [aws s3 ls s3://dev-dms-rdso-os-ois-administration/diagnostic-data/ --endpoint-url https://ooss.uhc.com ] failed. Retrying in 2 seconds.
An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied
Command [aws s3 ls s3://dev-dms-rdso-os-ois-administration/diagnostic-data/ --endpoint-url https://ooss.uhc.com ] failed the maximum number of 3 times.
/app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/s3-ls.ps1
: Error: Error running command - Line Number: 90
At line:1 char:1
+ /app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,s3-ls.ps1
Failed: NonZeroResultCode: Script result code was: 1
Tried using the FileChecker functionality with the "PS / aws / cli / s3 / ls" step and execution threw the following error. I tried checking for a file "C:\temp\foo.txt" which does not exist on the FS. The step worked fine without using the FileChecker option. Please check all s3 steps as FileChecker may face issues in all of them.
/app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/s3-ls.ps1
: Error: A parameter cannot be found that matches parameter name
'ForegroundColor'. - Line Number: 48
At line:1 char:1
+ /app/rundeckpro_fepoc/libext/cache/powershell-aws-cli-s3-steps-1.0.0/ ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorExcep
tion
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio
n,s3-ls.ps1
Failed: NonZeroResultCode: Script result code was: 1
Step [4] did not run. start conditions: [(after.step.3 == 'true')], skip conditions: []
Execution failed: 505376 in project powershell-test: [Workflow result: , step failures: {3=Dispatch failed on 1 nodes: [apset2771: NonZeroResultCode: Script result code was: 1 + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, Node failures: {apset2771=[NonZeroResultCode: Script result code was: 1 + {dataContext=MultiDataContextImpl(map={}, base=null)} ]}, status: failed]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.