1.3.0
This commit is contained in:
@@ -115,7 +115,7 @@ func MakeSchemaDataSourceImage() map[string]schema.Attribute {
|
||||
"purge_attempts": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
"present_to": schema.ListAttribute{
|
||||
"present_to": schema.MapAttribute{
|
||||
Computed: true,
|
||||
ElementType: types.Int64Type,
|
||||
},
|
||||
@@ -128,6 +128,9 @@ func MakeSchemaDataSourceImage() map[string]schema.Attribute {
|
||||
"sep_id": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
"snapshot_id": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"shared_with": schema.ListAttribute{
|
||||
Computed: true,
|
||||
ElementType: types.Int64Type,
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
|
||||
@@ -54,6 +54,9 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
|
||||
"compute_ci_id": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
"cd_presented_to": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"deleted_time": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
@@ -98,6 +101,9 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
|
||||
"milestones": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
"network_interface_naming": schema.StringAttribute{
|
||||
Computed: true,
|
||||
},
|
||||
"image_id": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
@@ -116,7 +122,7 @@ func MakeSchemaResourceImageVirtual() map[string]schema.Attribute {
|
||||
"purge_attempts": schema.Int64Attribute{
|
||||
Computed: true,
|
||||
},
|
||||
"present_to": schema.ListAttribute{
|
||||
"present_to": schema.MapAttribute{
|
||||
Computed: true,
|
||||
ElementType: types.Int64Type,
|
||||
},
|
||||
@@ -136,6 +142,9 @@ func MakeSchemaResourceImageVirtual() 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