File tree Expand file tree Collapse file tree
website/source/docs/providers/rancher/r Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments