Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with 0.12-beta dev build #343

Closed
tduffield opened this issue Mar 7, 2019 · 2 comments · Fixed by #321
Closed

Error with 0.12-beta dev build #343

tduffield opened this issue Mar 7, 2019 · 2 comments · Fixed by #321

Comments

@tduffield
Copy link

Output

4 errors occurred:
	* resource vault_identity_group_alias: id is a reserved field name
	* resource vault_identity_entity: id is a reserved field name
	* resource vault_identity_group: id is a reserved field name
	* resource vault_identity_entity_alias: id is a reserved field name

Terraform Version

Terraform v0.12.0-dev
+ provider.aws v1.60.0-dev20190216h00-dev
+ provider.azuread v0.2.0-dev20190216h01-dev
+ provider.vault v1.6.0-dev20190216h01-dev

Affected Resource(s)

None -- fails on precheck of terraform plan

I've tried to find a branch/source for the dev build, but I can't seem to find one to determine if this has already been fixed or not. Builds off of master are failing with Terraform 0.12-beta1 because of the API version mismatch (4 vs 5).

@cvbarros
Copy link
Contributor

@tduffield for now I believe only the "high profile" provider plugins have ensured 0.12-beta compatibility. Either way, I believe that other terraform versions already issued a warning about id being a reserved field. Now with 0.12, this must be a hard failure.

There are some changes under way for these recently-implemented resources and I'll give a shout to the open PRs to address this.

nazarewk added a commit to nazarewk/terraform-provider-vault that referenced this issue Mar 14, 2019
Signed-off-by: Krzysztof Nazarewski <3494992+nazarewk@users.noreply.github.com>
@rumenvelinov
Copy link

rumenvelinov commented Mar 19, 2019

How can I use this new fix with Terraform 0.12 beta? I build the binary from:
https://github.com/nazarewk/terraform-provider-vault/tree/feature/identity-improvements
but it says:
Error: Failed to instantiate provider "vault" to obtain schema: Incompatible API version with plugin. Plugin version: 4, Client versions: [5]

dandandy pushed a commit to dandandy/terraform-provider-vault that referenced this issue Jun 17, 2021
Signed-off-by: Krzysztof Nazarewski <3494992+nazarewk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants