A representation of Kong’s consumer object
resource "kong_consumer" "crocodile-hunter" {
username = "steve-irwin"
}
The following fields are supported:
field | explanation | type | default | required |
---|---|---|---|---|
custom_id |
A unique identifier representing a user or service of your API. It can be used to map to existing users in your database. | string |
N | |
username |
A unique username representing a consumer of the API. | string |
N |
Existing Kong consumers can also be imported into Terraform state:
terraform import kong_consumer.crocodile-hunter <consumer UUID>