This commit is contained in:
asteam
2024-12-04 13:18:58 +03:00
parent 003e4d656e
commit 76ea459b3d
417 changed files with 30051 additions and 975 deletions

View File

@@ -54,6 +54,9 @@ func MakeSchemaDataSourceImageList() map[string]schema.Attribute {
"size": schema.Int64Attribute{
Optional: true,
},
"enabled": schema.BoolAttribute{
Optional: true,
},
// computed attributes
"id": schema.StringAttribute{
Computed: true,

View File

@@ -84,12 +84,9 @@ func MakeSchemaResourceImage() map[string]schema.Attribute {
Computed: true,
Optional: true,
Validators: []validator.String{
stringvalidator.OneOf("X86_64", "PPC64_LE"),
stringvalidator.OneOf("X86_64"),
},
Description: "Binary architecture of this image, one of X86_64 of PPC64_LE",
},
"permanently": schema.BoolAttribute{
Optional: true,
Description: "Binary architecture of this image, one of X86_64",
},
// computed attributes
"id": schema.StringAttribute{

View File

@@ -18,10 +18,6 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
Required: true,
Description: "ID of real image to link this virtual image to upon creation",
},
// optional attributes
"permanently": schema.BoolAttribute{
Optional: true,
},
// computed attributes
"id": schema.StringAttribute{
Computed: true,