From 87b502d5cf13f96dbe7b7ec0772a352210acb9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Thu, 18 May 2017 15:20:42 +0200 Subject: [PATCH] rancher_environment: fix typo --- builtin/providers/rancher/resource_rancher_environment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/rancher/resource_rancher_environment.go b/builtin/providers/rancher/resource_rancher_environment.go index 593dc6198..39025855e 100644 --- a/builtin/providers/rancher/resource_rancher_environment.go +++ b/builtin/providers/rancher/resource_rancher_environment.go @@ -107,7 +107,7 @@ func resourceRancherEnvironmentCreate(d *schema.ResourceData, meta interface{}) log.Printf("[INFO] Environment ID: %s", d.Id()) // Add members - if v, ok := d.GetOk("members"); ok { + if v, ok := d.GetOk("member"); ok { envClient, err := meta.(*Config).EnvironmentClient(d.Id()) if err != nil { return err