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

[feature] support template hardware migration API #487

Closed
Kushmaro opened this issue May 16, 2022 · 1 comment · Fixed by #547
Closed

[feature] support template hardware migration API #487

Kushmaro opened this issue May 16, 2022 · 1 comment · Fixed by #547
Labels
enhancement New feature or request
Milestone

Comments

@Kushmaro
Copy link
Collaborator

Allow users to migrate hardware templates by invoking the hardware template migration API.

a user, should be able to modify the deployment_template_id field, and migrate their deployment to a different hw template.

data "ec_stack" "latest" {
  version_regex = "7.*"
  region        = "eu-west-1"
}

resource "ec_deployment" "staging" {
  name                   = "omer-test"
  region                 = "eu-west-1"
  version                = data.ec_stack.latest.version
  deployment_template_id = "aws-storage-optimized"   # -> changing to "aws-compute-optimized" for example.

  elasticsearch {

    topology {
        id   = "hot_content"
        size = "1g"
        zone_count = 3
    }

    topology {
        id   = "warm"
        size = "2g"
        zone_count = 2
    }
 }

  kibana {
    topology {
      size = "1g"
      zone_count = 1
  }

  }
}

@Kushmaro Kushmaro added the enhancement New feature or request label May 16, 2022
@Kushmaro Kushmaro added this to the 0.6.0 milestone Aug 11, 2022
@Kushmaro Kushmaro modified the milestones: 0.6.0, 0.5.0 Aug 29, 2022
@linyaru
Copy link

linyaru commented Aug 29, 2022

https://github.com/elastic/sdh-control-plane/issues/1023#issuecomment-1201872409 indicates that this enhancement might have dependencies on the framework migration. @Kushmaro we'll want to confirm whether this is the case before committing to 0.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants