Open atamgp opened 3 years ago
Hello, can you please include the following:
Did this recently stop working or did it never work?
Hi! Seems like I am experiencing a similar problem. I need to import some existing elasticsearch indices into the state. They have mappings defined as well as a bunch of other parameters.
However, when I do run terraform import
, it imports a completely "blank" resource, with all parameters, except for name
and id
, equal to "null". I am not quite sure, how to import the complete index with its mappings and the other attributes, to further manage this infra using terraform.
Hi! Seems like I am experiencing a similar problem. I need to import some existing elasticsearch indices into the state. They have mappings defined as well as a bunch of other parameters. However, when I do run
terraform import
, it imports a completely "blank" resource, with all parameters, except forname
andid
, equal to "null". I am not quite sure, how to import the complete index with its mappings and the other attributes, to further manage this infra using terraform.
Hello. I'm having the exact same problem. Everything is null but the name and ID. Did you find a solution for this ?
When I do an import of my indexes, which have aliases configured (even generated wit the same resource), it's empty in the TF state after import.
In Kibana (firefox) the GET request when listing shows the aliases:
After import:
terragrunt import elasticsearch_index.this[\"dataiku-exports\"] "coe-rpa-dataiku-exports-000001"
this is the state:
Because of this, a TF plan will try to recreate an existing imported index..