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

Using "storage" in size_resource is not honoured - Azure #712

Open
4 tasks done
zdlouhy opened this issue Sep 20, 2023 · 0 comments
Open
4 tasks done

Using "storage" in size_resource is not honoured - Azure #712

zdlouhy opened this issue Sep 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@zdlouhy
Copy link

zdlouhy commented Sep 20, 2023

Readiness Checklist

  • I am running the latest version
  • I checked the documentation and found no answer
  • 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 size specified for a particular topology should be for the storage aspect of the configuration when using size_resource = "storage"

Current Behavior

Issue similar to ##568
When I run terraform apply with specified size_resource = "storage", I got the hot tier sized by RAM instead of storage.
azure_elastic_size

## Terraform definition

resource "ec_deployment" "this" {
  name = "Terraform test"

  region                 = var.region
  version                = data.ec_stack.latest.version
  deployment_template_id = "azure-general-purpose-v2"

  elasticsearch = {
    autoscale = false
    hot = {
      size = "35g"
      size_resource = "storage"
      zone_count = 1
      autoscaling = {}
    }
    coordinating = {
       size = "1g"
       zone_count = 2
       autoscaling = {}
    }
  }
  kibana = {
    size = "1g"
    zone_count = 1
  }
  observability = {
    deployment_id = "self"
    logs          = true
    metrics       = true
  }

}

Steps to Reproduce

Context

Possible Solution

Your Environment

  • Version used: elastic/ec 0.8.0
  • Running against Elastic Cloud SaaS or Elastic Cloud Enterprise and version: 8.10.1
  • Environment name and version (e.g. Go 1.9):
  • Server type and version:
  • Operating System and version: Ubuntu Focal
  • Link to your project:
@zdlouhy zdlouhy added the bug Something isn't working label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant