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

vault_pki_secret_backend_role missing argument issuer_ref #1598

Closed
dekimsey opened this issue Sep 8, 2022 · 2 comments
Closed

vault_pki_secret_backend_role missing argument issuer_ref #1598

dekimsey opened this issue Sep 8, 2022 · 2 comments

Comments

@dekimsey
Copy link

dekimsey commented Sep 8, 2022

Terraform Version

Terraform v1.2.6
on darwin_arm64
+ provider registry.terraform.io/hashicorp/vault v3.8.0

Your version of Terraform is out of date! The latest version
is 1.2.8. You can update by downloading from https://www.terraform.io/downloads.html

Affected Resource(s)

Please list the resources as a list, for example:

  • vault_pki_secret_backend_role

Terraform Configuration Files

resource "vault_pki_secret_backend_role" "demo" {
    ...
    issuer_ref = "other"
    allow_ip_sans = [...]
    exclude_cn_from_sans = true
}

Debug Output

n/a

Panic Output

n/a

Expected Behavior

I expect to be able to change some of the Role parameters listed on the Create/Update Role documentation.

Actual Behavior

Terraform does not recognize the parameters, there are a few. I've identified a couple in my example above.

│ Error: Unsupported argument
│ 
│   on demo.tf line 1, in resource "vault_pki_secret_backend_role" "demo":
│   78:   issuer_ref = "other"
│ 
│ An argument named "issuer_ref" is not expected here.

Steps to Reproduce

  1. terraform plan

Important Factoids

I noticed Vault also has a role configuration option AllowTokenDisplayName but that doesn't seem to be documented and it's not exposed in any way I can see. I'm not clear if that's an internal-only configuration.

References

There are a few missing parameters.

@ANGkeith
Copy link

Duplicate of #1510

@fairclothjm
Copy link
Contributor

Closed by #1845

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

No branches or pull requests

3 participants