smutel / terraform-provider-netbox

Terraform provider for Netbox
ISC License
58 stars 19 forks source link

fix: Fix tests and examples #160

Closed amhn closed 1 year ago

amhn commented 1 year ago

Fixes: #159

This PR make the cluster_id and rir_id in the tests dynamic.

Since there is no rir resource yet, this uses the json data source and selects the first rir.

Also added to examples/main.tf

smutel commented 1 year ago

Is this PR need to be merged first ?

amhn commented 1 year ago

Yes