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

digitalocean_ssh_keys missing configuration reference #792

Closed
tomjohnburton opened this issue Feb 16, 2022 · 1 comment · Fixed by #832
Closed

digitalocean_ssh_keys missing configuration reference #792

tomjohnburton opened this issue Feb 16, 2022 · 1 comment · Fixed by #832

Comments

@tomjohnburton
Copy link

The documentation here fails to mention how you can utilise the filter section. It is missing some references to values.

Suggested changes

Add the following to the documentation

Example Usage

data "digitalocean_ssh_keys" "keys" {
  filter {
    key       = "name"
    values  = ["key1", "key2"]
  }
}

Argument Reference

filter supports the following arguments:

  • key - (Required) Filter the SSH Keys by this key. This may be one of name, public_key, or fingerprint.
  • values - (Required) List of values of the supplied key to filter the SSH Keys by.
@danaelhe
Copy link
Member

Hi there,

Thank you so much for this write up. We will review it and apply changes if necessary as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants