简体   繁体   中英

Terraform AWS Provider V2?

Could someone please clear up my confusion?

I see that there is a version 2 of the Terraform AWS provider. The documentation states:

NOTE: This upgrade guide is a work in progress and will not be completed until the
 release of version 2.0.0 of the provider later this year.

The web page doesn't contain a date, so I'm unclear when "later this year" is. 2018 or 2019?

Given that this is a Hashicorp developed provider, I should be able to have the plugin automatically installed using the

terraform init

command, correct? If so, doing this resulted in the error:

No provider "aws" plugins meet the constraint "~> 2.0".

It hasn't been released yet. You're looking at the upgrade guide which is being maintained with ongoing deprecations until it's released.

The V2 version will almost certainly land when Terraform core 0.12 does as this includes some breaking changes with how providers work.

When the V2 version of the AWS provider is released the linked documentation should make it easier for people to upgrade and handle anything that was deprecated in V1.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM