t_wの輪郭

Feedlyでフォローするボタン
IaC
『OpenTofu』あれGPGなしでOpenTofuをWindowsにインストールしようとした際にでるメッセージOpenTofuをWindowsにインストールopentofu/awsあれあれOpenTofuを試す

あれ

2025/1/25 20:38:00

お、OpenTofuでLambda関数をデプロイできた。
Lambda関数のプログラムの差し替えであれば、10秒ぐらいでデプロイが完了する。

This installer tries to verify that the OpenTofu version downloaded has been signed by OpenTofu and has not been tampered with. This is only possible if either cosign or GPG is installed on the system, but neither was found. You have the following options:

1. Install cosign and add it to your PATH or provide the -cosignPath parameter to your cosign installation.
2. Install GPG and add it to your PATH or provide the -gpgPath parameter to your GPG installation.
3. Disable integrity verification with -skipVerify (not recommended).

GPG4Winをインストール

$ winget install GnuPG.Gpg4win

GPG4WinにPATHを通す
C:\Program Files (x86)\Gpg4win\bin_64


インストーラーをダウンロード

$ Invoke-WebRequest -outfile "install-opentofu.ps1" -uri "https://get.opentofu.org/install-opentofu.ps1

インストール

$ Invoke-WebRequest -outfile "install-opentofu.ps1" -uri "https://get.opentofu.org/install-opentofu.ps1"

インストーラーを削除

$ Remove-Item install-opentofu.ps1