rancher_environment: member doc

This commit is contained in:
Raphaël Pinson 2017-05-17 10:30:16 +02:00
parent 03cabb7b7e
commit 01e9011231
No known key found for this signature in database
GPG Key ID: DF0A493B74BF771E
1 changed files with 13 additions and 0 deletions

View File

@ -18,6 +18,18 @@ resource "rancher_environment" "default" {
name = "staging"
description = "The staging environment"
orchestration = "cattle"
member {
external_id = "650430"
external_id_type = "github_user"
role = "owner"
}
member {
external_id = "1234"
external_id_type = "github_team"
role = "member"
}
}
```
@ -28,6 +40,7 @@ The following arguments are supported:
* `name` - (Required) The name of the environment.
* `description` - (Optional) An environment description.
* `orchestration` - (Optional) Must be one of **cattle**, **swarm**, **mesos** or **kubernetes**. Defaults to **cattle**.
* `member` - (Optional) Members to add to the environment. Each member has `external_id`, `external_id_type` and `role` values.
## Attributes Reference