aws / aws-tools-for-powershell

The AWS Tools for PowerShell lets developers and administrators manage their AWS services from the PowerShell scripting environment.
Apache License 2.0
235 stars 78 forks source link

Docker image with PowerShell tools installed #217

Closed Kralizek closed 1 year ago

Kralizek commented 3 years ago

I wish there was a docker image I could use to quickly issue AWS commands both from my pc and from a CircleCI pipeline

Describe the Feature

Ideally I'd like to be able to do something like

> docker run -it --rm aws/powershell pwsh
PS> Install-AWSToolsModule -Name AWS.Tools.ECS
PS> Get-ECSClusterServices

Is your Feature Request related to a problem?

I need to force the deployment of many services

Proposed Solution

Prepare a docker image with the basic tools module installed and the repository already "trusted"

Describe alternatives you've considered

I could prepare a Dockerfile by my own, but it would be better to have an image curated by AWS

Additional Context

I need to force the deployment of many services and I prefer using powershell over bash

Environment

Ideally both Windows and Linux


This is a :rocket: Feature Request

ashishdhingra commented 2 years ago

Hi @Kralizek,

Good afternoon.

I'm not sure this is a feasible feature request. Microsoft provides mcr.microsoft.com/windows/servercore:1809 Docker image. You can use this image in your Dockerfile. You can then launch powershell.exe instead of pwsh.exe and execute Install-AWSToolsInstaller to install AWS PowerShell tools installer.

Thanks, Ashish

github-actions[bot] commented 2 years ago

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

ashishdhingra commented 2 years ago

Hi @Kralizek,

Good afternoon.

Just FYI, there is AWS CLI v2 docker image available at https://aws.amazon.com/blogs/developer/aws-cli-v2-docker-image/ where you could use AWS CLI to issue AWS command.

Thanks, Ashish

github-actions[bot] commented 1 year ago

We have noticed this issue has not received attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue.