1.3.0
This commit is contained in:
@@ -30,9 +30,9 @@ func MakeSchemaResourceImage() map[string]schema.Attribute {
|
||||
"image_type": schema.StringAttribute{
|
||||
Required: true,
|
||||
Validators: []validator.String{
|
||||
stringvalidator.OneOf("linux", "windows", "other"),
|
||||
stringvalidator.OneOf("linux", "windows", "unknown"),
|
||||
},
|
||||
Description: "Image type linux, windows or other",
|
||||
Description: "Image type linux, windows or unknown",
|
||||
},
|
||||
"drivers": schema.ListAttribute{
|
||||
Required: true,
|
||||
@@ -167,7 +167,7 @@ func MakeSchemaResourceImage() map[string]schema.Attribute {
|
||||
"purge_attempts": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
"present_to": schema.ListAttribute{
|
||||
"present_to": schema.MapAttribute{
|
||||
Computed: true,
|
||||
ElementType: types.Int64Type,
|
||||
},
|
||||
@@ -184,6 +184,9 @@ func MakeSchemaResourceImage() map[string]schema.Attribute {
|
||||
"size": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
"snapshot_id": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"status": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user