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

Terraform v0.11.3 crashes trying to plan changes to vault 0.9.3 #17346

Closed
burdandrei opened this issue Feb 14, 2018 · 2 comments
Closed

Terraform v0.11.3 crashes trying to plan changes to vault 0.9.3 #17346

burdandrei opened this issue Feb 14, 2018 · 2 comments

Comments

@burdandrei
Copy link

burdandrei commented Feb 14, 2018

Terraform Version

Terraform v0.11.3
+ provider.vault v1.0.0

Terraform Configuration Files

resource "vault_generic_secret" "mysql-yotpodbnameprod-write" {
  path = "admin/mysql-dbnameprod/roles/write"

  data_json = <<EOT
{
  "creation_statements": "CREATE USER '{{name}}'@'%' IDENTIFIED BY '{{password}}';GRANT SELECT,INSERT,UPDATE,DELETE,EXECUTE,SHOW VIEW,CREATE,ALTER,REFERENCES,INDEX,CREATE VIEW,CREATE ROUTINE,ALTER ROUTINE,EVENT,DROP,TRIGGER,CREATE TEMPORARY TABLES,LOCK TABLES ON dbnameprod.* TO '{{name}}'@'%';",
  "db_name": "mysql",
  "default_ttl": 0,
  "max_ttl": 0,
  "renew_statements": "",
  "revocation_statements": "",
  "rollback_statements": ""
}
EOT

  depends_on = ["vault_mount.mysql-dbname"]
}

...

Debug Output

https://gist.github.com/burdandrei/03651abab342d44594c75bd1d63b024d#file-plan-trace

Crash Output

https://gist.github.com/burdandrei/03651abab342d44594c75bd1d63b024d#file-crash-log

Expected Behavior

Update policies in Vault

Actual Behavior

Crash

Additional Context

It Happened after Vault update from 0.8.3 to 0.9.3

References

None

@burdandrei burdandrei changed the title Terraform v0.11.3 crashes trying to plab changes to vault 0.9.3 Terraform v0.11.3 crashes trying to plan changes to vault 0.9.3 Feb 14, 2018
@ghost
Copy link

ghost commented Feb 15, 2018

This issue has been automatically migrated to hashicorp/terraform-provider-vault#75 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to hashicorp/terraform-provider-vault#75.

@ghost
Copy link

ghost commented Apr 4, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 4, 2020
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants