You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I checked to make sure that this issue has not already been filed
I am reporting the issue to the correct repository (for multi-repository projects)
Expected Behavior
The provider should be able to handle removing instance configurations by setting size: 0g
Current Behavior
The provider exists with an error message:
│ Error: Provider produced inconsistent result after apply
│
│ When applying changes to ec_deployment.example_minimal, provider "provider[\"registry.terraform.io/elastic/ec\"]" produced an unexpected new value: .enterprise_search: was
│ cty.ObjectVal(map[string]cty.Value{"config":cty.NullVal(cty.Object(map[string]cty.Type{"docker_image":cty.String, "user_settings_json":cty.String, "user_settings_override_json":cty.String,
│ "user_settings_override_yaml":cty.String, "user_settings_yaml":cty.String})), "elasticsearch_cluster_ref_id":cty.StringVal("main-elasticsearch"),
│ "http_endpoint":cty.StringVal("http://1784f4c8fd344a26a2e2aeaefad4cae3.ent-search.westeurope.azure.elastic-cloud.com:9200"),
│ "https_endpoint":cty.StringVal("https://1784f4c8fd344a26a2e2aeaefad4cae3.ent-search.westeurope.azure.elastic-cloud.com:443"), "instance_configuration_id":cty.StringVal("azure.enterprisesearch.fsv2"),
│ "instance_configuration_version":cty.NumberIntVal(1), "latest_instance_configuration_id":cty.StringVal("azure.enterprisesearch.fsv2"), "latest_instance_configuration_version":cty.NumberIntVal(1),
│ "node_type_appserver":cty.True, "node_type_connector":cty.True, "node_type_worker":cty.True, "ref_id":cty.StringVal("main-enterprise_search"), "region":cty.StringVal("azure-westeurope"),
│ "resource_id":cty.StringVal("1784f4c8fd344a26a2e2aeaefad4cae3"), "size":cty.StringVal("0g"), "size_resource":cty.StringVal("memory"), "zone_count":cty.NumberIntVal(1)}), but now null.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
This will prevent using the ec-terraform provider in a module. The module should be able to configure deployment with different instance types and sizes via variable.
Possible Solution
none
Your Environment
Version used: 0.10.0
Running against Elastic Cloud SaaS
The text was updated successfully, but these errors were encountered:
ckauf
changed the title
.enterprise_search: was cty.ObjectVal([...] but now null.
.enterprise_search: was cty.ObjectVal([...]), but now null.
Aug 6, 2024
Readiness Checklist
Expected Behavior
The provider should be able to handle removing instance configurations by setting
size: 0g
Current Behavior
The provider exists with an error message:
## Terraform definition
Steps to Reproduce
Context
This will prevent using the ec-terraform provider in a module. The module should be able to configure deployment with different instance types and sizes via variable.
Possible Solution
none
Your Environment
The text was updated successfully, but these errors were encountered: