This is a template to be used to create the dummy Terraform provider. For the example purpose I am using check_mk provider , the complete code for that can be found here - https://github.com/reancloud/terraform-provider-checkmk
Since this dummy check_mk provider has single resource named host, you have resource_host.go. Ideally you have to create a file named resource_.go for each resource your provider support
This dummy check_mk provider will work as {code} provider "checkmk" { user = "autouser" password = "UPFKWAJJDPJWTOQMOWHY" host = "192.168.99.100:32768" sitename = "mva" }
resource "checkmk_host" "winxp_1" { hostname = "winxp_1" folder = "os/windows" attribute_alias = "Alias of winxp_1" attribute_tag_agent = cmk-agent attribute_tag_criticality = "prod" attribute_ipaddress = "127.0.0.1" } {code}