# Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings or issues
- [x] 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
Description
Updates the default terraform example to remove extraneous managed kubernetes nodepools configuration
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Applied and destroyed the sample configuration
Test Configuration:
terraform version
: Terraform v1.5.6terraform { required_providers { ovh = { source = "ovh/ovh" source = "terraform.local/local/ovh"
} }
provider "ovh" { endpoint = "ovh-eu" application_key = "aa" application_secret = "bb" consumer_key = "cc" }
resource "ovh_cloud_project_kube" "mycluster" { service_name = "xxx" name = "my_kube_cluster" region = "GRA11" }
resource "ovh_cloud_project_kube_nodepool" "pool" { service_name = "xxx" kube_id = resource.ovh_cloud_project_kube.mycluster.id name = "my-pool" flavor_name = "b2-7" desired_nodes = 3 max_nodes = 3 min_nodes = 3 template { metadata { annotations = { k1 = "v1" k2 = "v2" } finalizers = [] labels = { k3 = "v3" k4 = "v4" } } spec { unschedulable = false taints = [ { effect = "PreferNoSchedule" key = "k" value = "v" } ] } } }