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": {
|
||||
|
||||
Reference in New Issue
Block a user