Terraform v0.11.7
Vault v0.10.0 ('5dd7f25f5c4b541f2da62d70075b6f82771a650d')
vault_approle_auth_backend_roleprovider "vault" {
# NOTE: For example sake, this is a Vault container.
address = "http://192.168.99.100:30002"
token = "test"
}
resource "vault_auth_backend" "approle" {
type = "approle"
}
resource "vault_policy" "newrelic" {
name = "newrelic"
policy = <<EOT
path "secret/external/newrelic/*" {
policy = "read"
}
EOT
}
resource "vault_policy" "transactions" {
name = "transactions"
policy = <<EOT
path "secret/transactions/*" {
policy = "read"
}
EOT
}
resource "vault_approle_auth_backend_role" "transactions" {
role_name = "transactions"
policies = ["${vault_policy.transactions.name}", "${vault_policy.newrelic.name}"]
depends_on = ["vault_policy.newrelic", "vault_policy.transactions"]
}
https://gist.github.com/syndbg/ace5e589beacc809d8efb2e6b34e6be4
https://gist.github.com/syndbg/d9b5e4fc287c043b93377bb609d0c42f
It must successfully read the approle data returned by Vault and proceed with provision.
Crashed during reading of approle data.
terraform applyyesThis issue is not reproducible for Vault versions 0.8.x and 0.9.x.
However it's 100% of the time reproducible when running the acceptance test suite against a Vault server with version 0.10.0.
None at the moment. I'll submit a PR soon.
Btw, it was and still is ready for review.
@paddycarver Could you please release this bugfix?
I'm facing the same issue. Terraform crashes while running _vault_approle_auth_backend_role_
Terraform v0.11.7
provider.vault v1.1.0
Vault v0.10.1 ('756fdc4587350daf1c65b93647b2cc31a6f119cd')
@paddycarver Could you please release this bugfix? v1.1.1 release. Wait for a long time....
@lcgkm @chrissam @mishak87 Hey, https://github.com/terraform-providers/terraform-provider-vault/releases/tag/v1.1.1 got released. :tada:
Most helpful comment
@paddycarver Could you please release this bugfix?