Fixing the User Data Source docs (#11094)
This commit is contained in:
parent
dd1f930f4e
commit
c52b2cb8ad
|
@ -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}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue