Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove ES service linked role creation
This is not currently working due to the error message being different than expected ('cannot be found' instead of the expected 'Role not found'). Instead of fixing the bug it was decided that a better approach would be to force users to explicitly create the IAM service linked role instead of doing it for them if it didn't exist. This more closely matches what we do elsewhere and also means we aren't implicitly creating an IAM role despite the user not trying to do that which is particularly dangerous with IAM even if it is just a service linked role. This is also reasonably necessary because it's going to be an absolute pain to catch this in acceptance tests as it's something that gets implicitly created once per account and then not managed by Terraform after that. See the discussion on hashicorp#5218 for more information.
- Loading branch information