We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee71aff + 39bb5f1 commit cda69f4Copy full SHA for cda69f4
core/image_datasource.go
@@ -24,6 +24,10 @@ func ImageDatasource() *schema.Resource {
24
Type: schema.TypeString,
25
Optional: true,
26
},
27
+ "display_name": {
28
+ Type: schema.TypeString,
29
+ Optional: true,
30
+ },
31
"operating_system": {
32
33
core/image_datasource_crud.go
@@ -26,6 +26,9 @@ func (s *ImageDatasourceCrud) Get() (e error) {
if val, ok := s.D.GetOk("operating_system_version"); ok {
opts.OperatingSystemVersion = val.(string)
}
+ if val, ok := s.D.GetOk("display_name"); ok {
+ opts.DisplayName = val.(string)
+ }
s.Res = &baremetal.ListImages{Images: []baremetal.Image{}}
34
0 commit comments