Make the OpsWorks app_source SSH key write only

Similarly to https://github.com/hashicorp/terraform/pull/4241 prevent ssh_key in OpsWorks application app_source key from re-applying every time.
This commit is contained in:
Anton Koldaev 2016-05-12 16:35:25 -07:00
parent f70f778a5a
commit 266e98eb30

View File

@ -466,9 +466,6 @@ func resourceAwsOpsworksSetApplicationSource(d *schema.ResourceData, v *opsworks
if v.Revision != nil {
m["revision"] = *v.Revision
}
if v.SshKey != nil {
m["ssh_key"] = *v.SshKey
}
nv = append(nv, m)
}