initial implementation: terraform-provider-encapi
Terraform/OpenTofu provider for encapi (the Puppet ENC replacing Cobbler). - resources: encapi_role (jsonencode default_params), encapi_status, encapi_node - data sources: encapi_node, encapi_role - client with bearer-token auth; unit tests; examples - Makefile (package->zip), Woodpecker CI publishing to the artifactapi terraform-unkin registry on tag
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
data "encapi_node" "web0" {
|
||||
certname = "ausyd1nxvm2000.main.unkin.net"
|
||||
}
|
||||
|
||||
output "web0_role" {
|
||||
value = data.encapi_node.web0.role
|
||||
}
|
||||
|
||||
output "web0_environment" {
|
||||
value = data.encapi_node.web0.environment
|
||||
}
|
||||
Reference in New Issue
Block a user