Fix issue with with Opsworks and empty Custom Cook Book sources (#6078)
* Remove computed value on opsworks update * Adjust PR 6078 per catsby's request
This commit is contained in:
parent
ae2f6e2cf4
commit
f430fe280a
|
@ -214,7 +214,7 @@ func resourceAwsOpsworksStackCustomCookbooksSource(d *schema.ResourceData) *opsw
|
|||
|
||||
func resourceAwsOpsworksSetStackCustomCookbooksSource(d *schema.ResourceData, v *opsworks.Source) {
|
||||
nv := make([]interface{}, 0, 1)
|
||||
if v != nil {
|
||||
if v != nil && v.Type != nil && *v.Type != "" {
|
||||
m := make(map[string]interface{})
|
||||
if v.Type != nil {
|
||||
m["type"] = *v.Type
|
||||
|
|
Loading…
Reference in New Issue