Skip to content

Commit 01e9011

Browse files
committed
rancher_environment: member doc
1 parent 03cabb7 commit 01e9011

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

website/source/docs/providers/rancher/r/environment.html.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ resource "rancher_environment" "default" {
1818
name = "staging"
1919
description = "The staging environment"
2020
orchestration = "cattle"
21+
22+
member {
23+
external_id = "650430"
24+
external_id_type = "github_user"
25+
role = "owner"
26+
}
27+
28+
member {
29+
external_id = "1234"
30+
external_id_type = "github_team"
31+
role = "member"
32+
}
2133
}
2234
```
2335

@@ -28,6 +40,7 @@ The following arguments are supported:
2840
* `name` - (Required) The name of the environment.
2941
* `description` - (Optional) An environment description.
3042
* `orchestration` - (Optional) Must be one of **cattle**, **swarm**, **mesos** or **kubernetes**. Defaults to **cattle**.
43+
* `member` - (Optional) Members to add to the environment. Each member has `external_id`, `external_id_type` and `role` values.
3144

3245
## Attributes Reference
3346

0 commit comments

Comments
 (0)