From bfa7d56449a115d04b62ec04607157c162f33eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Tue, 31 Jan 2017 16:56:50 +0100 Subject: [PATCH] rancher_registration_token: add image parameter (#11551) --- .../providers/rancher/resource_rancher_registration_token.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/builtin/providers/rancher/resource_rancher_registration_token.go b/builtin/providers/rancher/resource_rancher_registration_token.go index f35b022cdb..e6489dda4b 100644 --- a/builtin/providers/rancher/resource_rancher_registration_token.go +++ b/builtin/providers/rancher/resource_rancher_registration_token.go @@ -51,6 +51,10 @@ func resourceRancherRegistrationToken() *schema.Resource { Type: schema.TypeString, Computed: true, }, + "image": &schema.Schema{ + Type: schema.TypeString, + Computed: true, + }, }, } } @@ -122,6 +126,7 @@ func resourceRancherRegistrationTokenRead(d *schema.ResourceData, meta interface d.Set("registration_url", regT.RegistrationUrl) d.Set("environment_id", regT.AccountId) d.Set("command", regT.Command) + d.Set("image", regT.Image) return nil }