Terraform-provider-vault: unexpected EOF when setting up vault_approle_auth_backend_role

Created on 10 May 2018  路  3Comments  路  Source: hashicorp/terraform-provider-vault

Terraform Version

$ terraform -v
Terraform v0.11.7

$ terraform init
* provider.vault: version = "~> 1.1"

Affected Resource(s)

  • vault_approle_auth_backend_role

Terraform Configuration Files

provider "vault" {
}

resource "vault_auth_backend" "approle" {
  type = "approle"
}

resource "vault_approle_auth_backend_role" "chat" {
  role_name = "chat"
  policies  = ["chat"]

  depends_on = ["vault_auth_backend.approle"]
}

Debug Output

https://gist.github.com/lancehudson/5aa5abc4f15d6f6563c86f8984c45d9b

Panic Output

https://gist.github.com/lancehudson/adb6ee905cb36ed17e8235c72b8e28fb

panic: interface conversion: interface {} is []interface {}, not string

Expected Behavior

AppRole created and terraform pass

Actual Behavior

AppRole created and terraform failed

Steps to Reproduce

  1. terraform apply
bug crash

Most helpful comment

@paddycarver Any ETA on this getting released? We just upgraded Vault and forgot to check if this got released.

All 3 comments

This was fixed in #103 and is waiting to be released.

Is there an ETA on a release? Asking for a friend.

@paddycarver Any ETA on this getting released? We just upgraded Vault and forgot to check if this got released.

Was this page helpful?
0 / 5 - 0 ratings