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: add config templates and the possibility to assign them to device #604

Merged
merged 4 commits into from
Jun 12, 2024

Conversation

thibaultbustarret-ovhcloud
Copy link
Contributor

Adds config templates, requires fbreckle/go-netbox#39 and fbreckle/go-netbox#40.

* feat: add 'netbox_config_template' resource

* switch environment_params type to JSON

* add tests to 'netbox_config_template' resource

* feat: add the 'config_template_id' parameter to device
Copy link
Collaborator

@fbreckle fbreckle left a comment

Choose a reason for hiding this comment

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

LGTM, some minor changes in formatting and docs.

netbox/resource_netbox_config_template.go Outdated Show resolved Hide resolved
netbox/resource_netbox_device_test.go Outdated Show resolved Hide resolved
netbox/resource_netbox_device_test.go Outdated Show resolved Hide resolved
netbox/resource_netbox_device_test.go Outdated Show resolved Hide resolved
@thibaultbustarret-ovhcloud
Copy link
Contributor Author

Oops, I fixed them

@fbreckle fbreckle merged commit c377748 into e-breuninger:master Jun 12, 2024
14 checks passed
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.

2 participants