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

feat: cloud provider instance amb #398

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maxime1907
Copy link

Description

Adds support for this route /cloud/project/{serviceName}/instance/{instanceId}/activeMonthlyBilling so that we can activate monthly billing instead of paying instances on a per hour basis.

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

  • Test A: make testacc TESTARGS="-run TestAccCloudProjectInstanceActiveMonthlyBilling_basic"

Test Configuration:

  • Terraform version: terraform version: Terraform v1.3.9

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings or issues
  • I have added acceptance tests that prove my fix is effective or that my feature works
  • New and existing acceptance tests pass locally with my changes
  • I ran succesfully go mod vendor if I added or modify go.mod file

Copy link
Collaborator

@scraly scraly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
thanks for your PR :-)

As you can see in the contributing guide: https://github.com/ovh/terraform-provider-ovh/blob/master/CONTRIBUTING.md#coding-and-documentation-style
Can you rename/edit your code in order to "Name your resources and datasources according to the API endpoint"? :-)

For example if the API endpoint is /cloud/project/{serviceName}/instance/{instanceId}/activeMonthlyBilling, the name of the resource and/or datasource should be cloud_project_instance_activemonthlybilling.

Don't forget also to add documentation of the new resource and/or datasource, in website/ folder.

Thx

@scraly
Copy link
Collaborator

scraly commented Apr 24, 2023

Any news? :-)

Copy link
Contributor

@amstuta amstuta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See @scraly comments

@maxime1907
Copy link
Author

Sorry i did not really have time this year, i will take a look at it in 2024

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

Successfully merging this pull request may close these issues.

3 participants