v3.3.1
This commit is contained in:
@@ -183,7 +183,7 @@ func flattenCompute(d *schema.ResourceData, compFacts string) error {
|
||||
d.Set("enabled", true)
|
||||
}
|
||||
|
||||
d.Set("cloud_init", "applied") // NOTE: for existing compute we hard-code this value as an indicator for DiffSuppress fucntion
|
||||
//d.Set("cloud_init", "applied") // NOTE: for existing compute we hard-code this value as an indicator for DiffSuppress fucntion
|
||||
// d.Set("status", model.Status)
|
||||
// d.Set("tech_status", model.TechStatus)
|
||||
d.Set("started", false)
|
||||
|
||||
@@ -782,11 +782,11 @@ func ResourceComputeSchemaMake() map[string]*schema.Schema {
|
||||
},
|
||||
|
||||
"cloud_init": {
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Default: "applied",
|
||||
DiffSuppressFunc: cloudInitDiffSupperss,
|
||||
Description: "Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.",
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Description: "Optional cloud_init parameters. Applied when creating new compute instance only, ignored in all other cases.",
|
||||
//Default: "applied",
|
||||
//DiffSuppressFunc: cloudInitDiffSupperss,
|
||||
},
|
||||
|
||||
"enabled": {
|
||||
|
||||
@@ -545,15 +545,15 @@ func resourceVinsSchemaMake() map[string]*schema.Schema {
|
||||
Optional: true,
|
||||
Default: -1,
|
||||
}
|
||||
rets["ipcidr"] = &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
}
|
||||
rets["ext_ip_addr"] = &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
Default: "",
|
||||
}
|
||||
rets["ipcidr"] = &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Optional: true,
|
||||
}
|
||||
rets["pre_reservations_num"] = &schema.Schema{
|
||||
Type: schema.TypeInt,
|
||||
Optional: true,
|
||||
@@ -607,11 +607,6 @@ func resourceVinsSchemaMake() map[string]*schema.Schema {
|
||||
Default: "",
|
||||
Description: "Optional user-defined text description of this ViNS.",
|
||||
}
|
||||
rets["ext_ip_addr"] = &schema.Schema{
|
||||
Type: schema.TypeString,
|
||||
Computed: true,
|
||||
Description: "IP address of the external connection (valid for ViNS connected to external network, ignored otherwise).",
|
||||
}
|
||||
rets["restore"] = &schema.Schema{
|
||||
Type: schema.TypeBool,
|
||||
Optional: true,
|
||||
|
||||
Reference in New Issue
Block a user