opsgenie_user
Use this data source to get information about a specific user within OpsGenie.
Example Usage
data "opsgenie_user" "cookie_monster" { username = "[email protected]" } resource "opsgenie_team" "test" { name = "cookieeaters" member { username = "${data.opsgenie_user.cookie_monster.username}" role = "${data.opsgenie_user.cookie_monster.role}" } }
Argument Reference
The following arguments are supported:
-
username
- (Required) The username (email) to use to find a user in OpsGenie.
Attributes Reference
© 2018 HashiCorpLicensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/opsgenie/d/user.html