latitudesh / terraform-provider-latitudesh

Latitude.sh Terraform Provider
https://registry.terraform.io/providers/latitudesh/latitudesh/latest/docs
Mozilla Public License 2.0
10 stars 4 forks source link

Feat: Add billing attribute to server creation #74

Closed ynhummel closed 4 months ago

ynhummel commented 4 months ago

What does this PR do?

Add the billing option to server resource

Description of Task to be completed?

How should this be manually tested?

If https://github.com/latitudesh/latitudesh-go/pull/49 isn't merged yet, you should get the updated SDK version by running:

go get github.com/latitudesh/latitudesh-go@PD-4037-SDK-Provider-Add-billing-attribute-to-server-creation

Them you can proceed with testing:

You should run the testing suit to guarantee that the changes aren't breaking any existing functionality.

export LATITUDESH_AUTH_TOKEN=<YOUR-API-TOKEN> 
TF_ACC=1 go test ./... -run "TestAccProject" -v
TF_ACC=1 go test ./... -run "TestAccServer" -v

also, you can follow Notion - Developing the Terraform Provider Locally to run the provider locally.

Any background context you want to provide?

This PR depends on https://github.com/latitudesh/latitudesh-go/pull/49.