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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] API Key Resource arguments #264

Open
RLMarkStrudwick opened this issue Mar 27, 2024 · 0 comments
Open

[Documentation] API Key Resource arguments #264

RLMarkStrudwick opened this issue Mar 27, 2024 · 0 comments

Comments

@RLMarkStrudwick
Copy link

Hello! 馃憢
It looks like there is a small typo in the documentation for the API Key Resource

The example shows that the permissions_endpoints argument accepts an endpoint and HTTP verb arguments.

resource "fusionauth_api_key" "example" {
  tenant_id   = "94f751c5-4883-4684-a817-6b106778edec"
  description = "my super secret key"
  key         = "super-secret-key"
  permissions_endpoints {
    endpoint = "/api/application"
    get      = true
    delete   = true
    patch    = true
    post     = true
    put      = true
  }
}

However, the "Argument Reference" section describes that the endpoint and HTTP verb arguments should be included on the lambda_reconcile_id argument, rather than the permissions_endpoints argument. Also, the description on both arguments looks to be the wrong way around.
image

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

1 participant