File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
examples/resources/elasticstack_elasticsearch_index Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,9 @@ Import is supported using the following syntax:
195195The [ ` terraform import ` command] ( https://developer.hashicorp.com/terraform/cli/commands/import ) can be used, for example:
196196
197197``` shell
198- # NOTE: while importing index resource, keep in mind, that some of the default index settings will be imported into the TF state too
199- # You can later adjust the index configuration to account for those imported settings
198+ # Importing a index resource is minimal and may result in seemingly unnecessary plan changes.
199+ # Index settings are *not* included in the import, and so any settings defined in the elasticstack_elasticsearch_index
200+ # resource definition will show up as an addition in the next `terraform plan` operation.
201+ # Applying these settings 'changes' should be safe, resulting in no actual change to the backing index.
200202terraform import elasticstack_elasticsearch_index.my_index < cluster_uuid> /< index_name>
201203```
Original file line number Diff line number Diff line change 1- # NOTE: while importing index resource, keep in mind, that some of the default index settings will be imported into the TF state too
2- # You can later adjust the index configuration to account for those imported settings
1+ # Importing a index resource is minimal and may result in seemingly unnecessary plan changes.
2+ # Index settings are *not* included in the import, and so any settings defined in the elasticstack_elasticsearch_index
3+ # resource definition will show up as an addition in the next `terraform plan` operation.
4+ # Applying these settings 'changes' should be safe, resulting in no actual change to the backing index.
35terraform import elasticstack_elasticsearch_index.my_index < cluster_uuid> /< index_name>
46
You can’t perform that action at this time.
0 commit comments