No available provider "azure" plugins are compatible with this Terraform version. Azurerm -1.28 Terraform -

Frank Visaggio

My environment looks like the following on OSX.

NJ033-10126375:old-example 10126375$ terraform version Terraform v0.12.10 + provider.azurerm v1.28.0 + provider.random v2.2.1

edit: when i run terraform providers i get the following

.
├── provider.azure
├── provider.azurerm ~>1.35
└── provider.random

I get the following error in terraform.

No available provider "azure" plugins are compatible with this 

Terraform version.

From time to time, new Terraform major releases can change the requirements for
plugins such that older plugins become incompatible.

Terraform checked all of the plugin versions matching the given constraint:
    (any version)

Unfortunately, none of the suitable versions are compatible with this version
of Terraform. If you have recently upgraded Terraform, it may be necessary to
move to a newer major release of this provider. Alternatively, if you are
attempting to upgrade the provider to a new major version you may need to
also upgrade Terraform to support the new version.

Consult the documentation for this provider for more information on
compatibility between provider versions and Terraform versions.

Below is my vars.auto.tfvars (changing the version or omitting it doesn't help)

variable subscription_id {}
variable tenant_id {}
variable client_id {}
variable client_secret {}

provider "azurerm" {
   subscription_id = "${var.subscription_id}"
   tenant_id = "${var.tenant_id}"
   client_id = "${var.client_id}"
   client_secret = "${var.client_secret}"
   version = "=1.28.0"
}

Here is what is even more interesting, this code was working a few days ago i try to run it again with no changes and its broken. I then use brew upgrade terraform and then other projects that were working no longer work.

テラフォームの初期化を乗り越えることはほとんどできません。

問題は、azurerm_public_ipの代わりにazure_public_ipを使用するタイプミスが原因で解決されました

スコットヒース

AzureRMTerraformプロバイダーが1.29まで0.12.xをサポートしているとは思いません。プロバイダーのバージョン制約を次のように変更します。

version = "~>1.35"

これにより、最新バージョンが取得され、そこから上に移動することもできます。AzureRMプロバイダーの変更ログへのリンクは次のとおりです。

https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/CHANGELOG.md

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

Terraform using wrong version of provider

分類Dev

Terraform azurerm vm creation with cloudinit

分類Dev

Terraform azurerm vm creation with cloudinit

分類Dev

Terraform custom provider

分類Dev

terraform azurerm_scheduled_query_rules_log

分類Dev

Terraform plugin for JQAssistant available?

分類Dev

specifying in terraform that the OS is linux for azurerm_function_app

分類Dev

Cannot use memoryReservation in Terraform ECS provider

分類Dev

Add azure SQL user with terraform

分類Dev

Terraform Azure VM SSH Key

分類Dev

Terraform Azure VMSSHキー

分類Dev

Hashicorp Terraform RemoteStateとAzure

分類Dev

このTerraformバージョンと互換性のあるプロバイダー「azure」プラグインはありません。Azurerm -1.28Terraform-

分類Dev

Error: spawn terraform ENOENT during Azure Pipeline Terraform

分類Dev

how to use custom_data field of azurerm_virtual_machine resource in terraform?

分類Dev

azurermバックエンドを備えたAzureDevOps上のTerraform

分類Dev

Terraform Azurermエラー:linuxConfiguration.ssh.publicKeys.pathが無効です

分類Dev

Terraform: Invalid Terraform AWS provider credentials when passing AWS system manager parameter store variables

分類Dev

Unable to add capacity provider to AWS ECS cluster with terraform

分類Dev

odd errors on terraform / azure "Missing required argument"

分類Dev

Terraform Azureプロバイダー-OSディスクはazurerm_linux_virtual_machineでのみ暗号化できますか?

分類Dev

Terraform JSON「1:1:不正な文字」エラー

分類Dev

Terraform-Azure WindowsVM接続の問題

分類Dev

Terraform Azure how to get AKS service principle object id

分類Dev

What is the reserved argument in azure app service plan terraform config

分類Dev

How to configure an Azure app service to pull images from an ACR with terraform?

分類Dev

Output for Principal ID for multiple Azure App Services through Terraform

分類Dev

Terraform: can't authenticate to aws provider using shared config file or static variables

分類Dev

Terraformを使用します。azurerm_autoscale_settingまたはazurerm_monitor_autoscale_settingにメモリメトリックがありますか

Related 関連記事

  1. 1

    Terraform using wrong version of provider

  2. 2

    Terraform azurerm vm creation with cloudinit

  3. 3

    Terraform azurerm vm creation with cloudinit

  4. 4

    Terraform custom provider

  5. 5

    terraform azurerm_scheduled_query_rules_log

  6. 6

    Terraform plugin for JQAssistant available?

  7. 7

    specifying in terraform that the OS is linux for azurerm_function_app

  8. 8

    Cannot use memoryReservation in Terraform ECS provider

  9. 9

    Add azure SQL user with terraform

  10. 10

    Terraform Azure VM SSH Key

  11. 11

    Terraform Azure VMSSHキー

  12. 12

    Hashicorp Terraform RemoteStateとAzure

  13. 13

    このTerraformバージョンと互換性のあるプロバイダー「azure」プラグインはありません。Azurerm -1.28Terraform-

  14. 14

    Error: spawn terraform ENOENT during Azure Pipeline Terraform

  15. 15

    how to use custom_data field of azurerm_virtual_machine resource in terraform?

  16. 16

    azurermバックエンドを備えたAzureDevOps上のTerraform

  17. 17

    Terraform Azurermエラー:linuxConfiguration.ssh.publicKeys.pathが無効です

  18. 18

    Terraform: Invalid Terraform AWS provider credentials when passing AWS system manager parameter store variables

  19. 19

    Unable to add capacity provider to AWS ECS cluster with terraform

  20. 20

    odd errors on terraform / azure "Missing required argument"

  21. 21

    Terraform Azureプロバイダー-OSディスクはazurerm_linux_virtual_machineでのみ暗号化できますか?

  22. 22

    Terraform JSON「1:1:不正な文字」エラー

  23. 23

    Terraform-Azure WindowsVM接続の問題

  24. 24

    Terraform Azure how to get AKS service principle object id

  25. 25

    What is the reserved argument in azure app service plan terraform config

  26. 26

    How to configure an Azure app service to pull images from an ACR with terraform?

  27. 27

    Output for Principal ID for multiple Azure App Services through Terraform

  28. 28

    Terraform: can't authenticate to aws provider using shared config file or static variables

  29. 29

    Terraformを使用します。azurerm_autoscale_settingまたはazurerm_monitor_autoscale_settingにメモリメトリックがありますか

ホットタグ

アーカイブ