Skip to content

Commit

Permalink
Fix terraform diff issue (#2755)
Browse files Browse the repository at this point in the history
* Update mappings.images_indexed.2024-08-20.json

* Update .terraform.lock.hcl

* Update README.md
  • Loading branch information
StepanBrychta authored Nov 12, 2024
1 parent a04e1a2 commit f35d465
Show file tree
Hide file tree
Showing 3 changed files with 345 additions and 238 deletions.
6 changes: 6 additions & 0 deletions index_config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ To create a new index configuration, follow these steps:
> pipeline should be done carefully. Changes to the index configuration can
> require a reindex, or recreate indices entirely, which may be undesirable
> if the pipeline is already feeding an index in production use.
> [!Warning]
> When editing mapping files, refrain from using dot notation. The Elasticsearch terraform provider is not smart enough
> to compare mappings created with dot notation to mappings created via full nested syntax, which leads to
> an inaccurate terraform diff when running "terraform plan" or "terraform apply".
> See [here](https://wellcome.slack.com/archives/C02ANCYL90E/p1715684204465519) for more information.
Loading

0 comments on commit f35d465

Please sign in to comment.