Multiple provider versions with Terraform

后端 未结 1 666
情书的邮戳
情书的邮戳 2021-01-28 10:33

Does anyone know if it is possible to have a Terraform script that uses multiple provider versions?

For example azurerm version 2.0.0 to create one resource, and 1.4.0 f

相关标签:
1条回答
  • 2021-01-28 11:20

    No you cannot do what you want. Terraform expects your constraint to match one plugin version as eluded to in:

    Plugin Names and Versions

    If multiple versions of a plugin are installed, Terraform will use the newest version that meets the configuration's version constraints.

    So your constraint cannot be parsed to match anyone plugin, hence the error

    0 讨论(0)
提交回复
热议问题