2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Terraformとプロバイダーの最新バージョンを確認する方法

2
Posted at

はじめに

Terraformを使う際、バージョンを固定管理することは重要です。
Terraform本体とAWS Providerの最新バージョンを確認する方法をまとめます。

前提:なぜバージョン固定が必要か

terraform {
  required_version = "= 1.14.3"

  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "6.28.0"
    }
  }
}

バージョンを固定しないと、チームメンバー間や環境間で異なるバージョンが使用され、予期しない挙動の違いが発生します。
そのため、条件式(例: >=<)ではなく、特定のバージョン(例: v1.0.0)を指定します。

Terraform本体のバージョン確認

公式サイト

ページ上部に最新バージョンが一覧表示されます。alphabetarcを除いたものが安定版です。

※2026/01/25 時点のバージョン

terraform_1.15.0-alpha20251203  ← alpha版(実験的)
terraform_1.14.3                ← ★最新安定版
terraform_1.14.2
terraform_1.14.1

コマンドで確認

# インストール済みのバージョン確認
% terraform version
Terraform v1.14.3
on darwin_arm64

AWS Providerのバージョン確認

公式サイト

コマンドで確認

# プロジェクト内で使用中のプロバイダー確認
% terraform providers
Providers required by configuration:
.
├── provider[registry.terraform.io/hashicorp/aws] 6.28.0

まとめ

項目 確認先URL
Terraform本体 https://releases.hashicorp.com/terraform/
AWS Provider https://registry.terraform.io/providers/hashicorp/aws/latest
2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?