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] Add ovh_cloud_project_savings_plan resource #769

Open
schirka opened this issue Nov 11, 2024 · 1 comment
Open

[FEATURE] Add ovh_cloud_project_savings_plan resource #769

schirka opened this issue Nov 11, 2024 · 1 comment

Comments

@schirka
Copy link

schirka commented Nov 11, 2024

Description

Is your feature request related to a problem? Please leave a brief description of the requested change.

Affected Resource(s) and/or Data Source(s)

  • ovh_cloud_project
  • ovh_cloud_project_savings_plan
  • ovh_cloud_project_savings_plan_instances

Potential Terraform Configuration

If this request was implemented, what might the Terraform configuration look like? A best guess is helpful, even if you're unsure of exactly what the end result will look like. This helps maintainers and the community better understand how you (someone who is in need of this feature) envisions it.

Additional context

Add any other context, HCL configuration or screenshots about the feature request here.

@amstuta
Copy link
Contributor

amstuta commented Nov 14, 2024

Hello @schirka,

This seems like a good idea, would a resource like the example below fit your needs ?

resource "ovh_savings_plan" "plan" {
  service_name = "id of your cloud project"
  flavor = "Rancher | C3-4 | any instance flavor ..."
  period = "P1M"
  display_name = "My saving plan"
  quantity = 2
}

The provider would then search for a saving plan offer that matches the given parameters and subscribe to it if it exists, otherwise return an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants