cloudposse / terraform-aws-elasticsearch

Terraform module to provision an Elasticsearch cluster with built-in integrations with Kibana and Logstash.
https://cloudposse.com/accelerate
Apache License 2.0
218 stars 231 forks source link

Dynamic cognito_options inner block to avoid permission problems in AWS China #63

Closed brdasilva closed 4 years ago

brdasilva commented 4 years ago

what

why

Error: Error creating ElasticSearch domain: DisabledOperationException: You don’t have permissions to integrate with Cognito. Contact your admin if you need help.
on .terraform/modules/elasticsearch/terraform-aws-elasticsearch-0.18.0/main.tf line 122, in resource 
"aws_elasticsearch_domain" "default": 122: resource "aws_elasticsearch_domain" "default" {

Even though we tried to set the correct IAM roles (see references below) and permissions the error still occurs.

references

osterman commented 4 years ago

/test all