Cognito authentication for AWS Elasticsearch Kibana

362 views
Skip to first unread message

James Leskovar

unread,
Aug 18, 2018, 10:12:52 PM8/18/18
to Terraform
Hey there,

Currently hitting an issue, and not quite sure how to proceed. Basically, in aws provider 1.30.0, support was added for configuring cognito authentication for the Kibana endpoint provided by AWS Elasitcsearch service, via cognito_options. Unfortunately, AWS insists on configuring the user pool application client, and cognito authentication provider for the specified user pool and identity pool, which is problematic as I need to be able to customise the app client (to specify identity provider) and the identity pool (to setup rule-based role selection for the cognito auth provider).

Is my only option to configure the app client and identity pool settings outside of Terraform, through the aws-cli, or is there a way to manage this in Terraform?

Regards
James

mishaua

unread,
Mar 7, 2019, 12:41:36 PM3/7/19
to Terraform
Did you ever get this figured out?  In terms of Kibana and Cognito there doesn't seem to be a way to change the enabled identity providers in the app client settings via Terraform.  Kibbana provisions the app client settings and doesn't include any options for the identity providers.  It just defaults to cognito user pool.
Reply all
Reply to author
Forward
0 new messages