Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
kevholditch committed Nov 27, 2017
1 parent 90da55c commit c9427c7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,14 @@ resource "kong_api" "api" {
http_if_terminated = false
}
```
The api resource maps directly onto the json for creating an API in Kong. For more information on the parameters [see the Kong Api create documentation](https://getkong.org/docs/0.11.x/admin-api/#add-api).
The api resource maps directly onto the json for creating an API in Kong. For more information on the parameters [see the Kong Api create documentation](https://getkong.org/docs/0.11.x/admin-api/#add-api).

To create a consuemr:
```hcl
resource "kong_consumer" "consumer" {
username = "User1"
custom_id = "123"
}
```

The consumer resource maps directly onto the json for creating an Consumer in Kong. For more information on the parameters [see the Kong Consumer create documentation](https://getkong.org/docs/0.11.x/admin-api/#create-consumer).

0 comments on commit c9427c7

Please sign in to comment.