Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS ES domain advanced options not respected #4498

Closed
chiefy opened this issue Jan 4, 2016 · 3 comments
Closed

AWS ES domain advanced options not respected #4498

chiefy opened this issue Jan 4, 2016 · 3 comments

Comments

@chiefy
Copy link

chiefy commented Jan 4, 2016

aws-es.tf

resource "aws_elasticsearch_domain" "es" {
    depends_on = ["aws_iam_role.iam_for_lambda"]
    domain_name = "${var.es_domain}"
    advanced_options {
        "rest.action.multi.allow_explicit_index" = true
    }
...

After I apply my plan succesfully:

aws es describe-elasticsearch-domains --domain-names <my-domain-name>
{
    "DomainStatusList": [
        {
            "ElasticsearchClusterConfig": {
                "DedicatedMasterEnabled": false,
                "InstanceCount": 3,
                "ZoneAwarenessEnabled": false,
                "InstanceType": "t2.small.elasticsearch"
            },
            "Endpoint": "searchxxxx-xxxx.us-west-2.es.amazonaws.com",
            "Created": true,
            "Deleted": false,
            "DomainName": "odd-staging",
            "EBSOptions": {
                "VolumeSize": 10,
                "VolumeType": "gp2",
                "EBSEnabled": true
            },
            "SnapshotOptions": {
                "AutomatedSnapshotStartHour": 23
            },
            "DomainId": "xxx/xxxxx",
            "AccessPolicies": "{\"Version\":\"2012-10-17\",\"Statement\":[{\"Effect\":\"Allow\",\"Principal\":{\"AWS\":[\"arn:aws:iam::xxx:root\",\"arn:aws:iam::xxx:user/xxx\"]},\"Action\":\"es:*\",\"Resource\":\"arn:aws:es:us-west-2:xxxx:domain/odd-catalog/*\"}]}",
            "Processing": false,
            "AdvancedOptions": {
                "rest.action.multi.allow_explicit_index": "false"
            },
            "ARN": "arn:aws:es:us-west-2:xxxx:domain/xxxx"
        }
    ]
} 
@radeksimko
Copy link
Member

Closing as a duplicate of #3980
TL;DR Unfortunately this is a core bug related to dots in TypeMap keys.

Reopen if you think it's not a duplicate.

@chiefy
Copy link
Author

chiefy commented Jan 4, 2016

Ah sorry @radeksimko I searched but obviously not good enough.

@ghost
Copy link

ghost commented Apr 29, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Apr 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants