Fixing the User Data Source docs (#11094)

This commit is contained in:
Tom Harvey 2017-01-09 08:35:17 +00:00 committed by Paul Stack
parent dd1f930f4e
commit c52b2cb8ad
2 changed files with 12 additions and 7 deletions

View File

@ -13,12 +13,17 @@ Use this data source to get information about a specific user within OpsGenie.
## Example Usage ## Example Usage
``` ```
data "opsgenie_user" "me" { data "opsgenie_user" "cookie_monster" {
username = "me@cookie-monster.com" username = "me@cookie-monster.com"
} }
resource "opsgenie_team" "test" { resource "opsgenie_team" "test" {
TODO: example name = "cookieeaters"
member {
username = "${data.opsgenie_user.cookie_monster.username}"
role = "${data.opsgenie_user.cookie_monster.role}"
}
} }
``` ```