rancher_registration_token: add image parameter (#11551)

This commit is contained in:
Raphaël Pinson 2017-01-31 16:56:50 +01:00 committed by Paul Stack
parent c104ce6815
commit bfa7d56449
1 changed files with 5 additions and 0 deletions

View File

@ -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
}