Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the OpsWorks cookbooks SSH key write only
Fixes hashicorp#3635 This follows the suggestion of @apparentlymart in hashicorp#3635 (comment) to fix the issue of OpsWorks stacks always complaining about the custom cookbooks SSH key needing to be changed. Functional tests: * Created a new stack and gave it an SSH key. The key was written to OpsWorks properly. * Ran "plan" again and terraform indicated it needed to change the SSH key, which is expected since terraform cannot read what the existing SSH is. * Removed the key from my resource and this time, "plan" did not have any changes. The `tfstate` file indicated the SSH key was "" (empty string). * Changed an unrelated property of the stack. Previously this was not working for me due to terraform attempting to change the SSH key.
- Loading branch information