rancher_registration_token: add image parameter (#11551)
This commit is contained in:
parent
c104ce6815
commit
bfa7d56449
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue