rancher_environment: member doc
This commit is contained in:
parent
03cabb7b7e
commit
01e9011231
|
@ -18,6 +18,18 @@ resource "rancher_environment" "default" {
|
||||||
name = "staging"
|
name = "staging"
|
||||||
description = "The staging environment"
|
description = "The staging environment"
|
||||||
orchestration = "cattle"
|
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.
|
* `name` - (Required) The name of the environment.
|
||||||
* `description` - (Optional) An environment description.
|
* `description` - (Optional) An environment description.
|
||||||
* `orchestration` - (Optional) Must be one of **cattle**, **swarm**, **mesos** or **kubernetes**. Defaults to **cattle**.
|
* `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
|
## Attributes Reference
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue