lunaplus*

Find hints in all sort of places

AWS Lambda関数をPowerShellで作成する

Mac上でPowerShellを動かしてみたくなり、それだけでは面白くないなぁと言うことで、勢いでAWS Lambdaのモジュールを作成してみました。 色々と調べながら試行錯誤したので、記事にしてみました。 まずは、Mac上でBrewを使って、PowerShellをインストールします。 brew install —cask powershell ==> Downloading https://github.com/PowerShell/PowerShell/releases/download/v7.1. ==> Downloading from https://github-releases.githubusercontent.com/49609581/89b7 ######################################################################## 100.0% ==> Installing Cask powershell ==> Running installer for powershell; your password may be necessary. Package installers may write to any location; options such as `--appdir` are ignored. Password: installer: Package name is PowerShell - 7.1.4 installer: Installing at base path / installer: The install was successful. 🍺 powershell was successfully installed! はい。順調です。 すでにこの段階でPowerShellが動き出します。コマンド名は、pwsh で起動します。