{"id":21383093,"url":"https://github.com/gslabdev/terraform-provider-veeam","last_synced_at":"2025-07-13T13:31:53.488Z","repository":{"id":57535271,"uuid":"226836796","full_name":"GSLabDev/terraform-provider-veeam","owner":"GSLabDev","description":"Automates the Add VM to Veeam Job resource during Infrastructure build using Terraform Provider.","archived":false,"fork":false,"pushed_at":"2020-08-06T04:43:51.000Z","size":76,"stargazers_count":3,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-20T14:16:37.460Z","etag":null,"topics":["terraform","terraform-provider","veeam"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GSLabDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-09T09:44:37.000Z","updated_at":"2024-04-18T12:52:01.000Z","dependencies_parsed_at":"2022-09-26T18:30:24.844Z","dependency_job_id":null,"html_url":"https://github.com/GSLabDev/terraform-provider-veeam","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSLabDev%2Fterraform-provider-veeam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSLabDev%2Fterraform-provider-veeam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSLabDev%2Fterraform-provider-veeam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GSLabDev%2Fterraform-provider-veeam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GSLabDev","download_url":"https://codeload.github.com/GSLabDev/terraform-provider-veeam/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225880691,"owners_count":17538842,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["terraform","terraform-provider","veeam"],"created_at":"2024-11-22T11:19:50.963Z","updated_at":"2024-11-22T11:19:51.543Z","avatar_url":"https://github.com/GSLabDev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Veeam Provider\n\nThis is the repository for the Terraform Veeam Provider, which one can use\nwith Terraform to work with Veeam server.\n\nFor general information about Terraform, visit the [official website][3] and the\n[GitHub project page][4].\n\n[3]: https://terraform.io/\n[4]: https://github.com/hashicorp/terraform\n\n\n# Using the Provider\n\nThe current version of this provider requires Terraform v0.12.9 or higher to\nrun.\n\nNote that you need to run `terraform init` to fetch the provider before\ndeploying. Read about the provider split and other changes to TF v0.10.0 in the\nofficial release announcement found [here][4].\n\n[4]: https://www.hashicorp.com/blog/hashicorp-terraform-0-10/\n\n\n## Full Provider Documentation\n\nThe provider is useful to add vm to the backup job\n### Example\n```hcl\n# Configure the Veeam Provider\nprovider \"veeam\" {\n  server_ip = \"${var.VEEAM_SERVER_IP}\"\n  port = ${var.VEEAM_SERVER_PORT}\n  username = \"${var.VEEAM_SERVER_USERNAME}\"\n  password = \"${var.VEEAM_SERVER_PASSWORD}\"\n}\n\n# Resource veeam_job_vm to add vm to the backup job in veeam server\nresource  \"veeam_job_vm\" \"addvm\"{\n    job_name = \"${var.VEEAM_JOB_NAME}\"\n    vm_name = \"${var.VEEAM_VM_NAME}\"\n}\n\n```\n\n\n\n# Building The Provider\n\n**NOTE:** Unless you are [developing][7] or require a pre-release bugfix or feature,\nyou will want to use the officially released version of the provider (see [the\nsection above][8]).\n[7]: #developing-the-provider\n[8]: #using-the-provider\n\n# Cloning the Project\nFirst, you will want to clone the repository to `$GOPATH/src/github.com/terraform-providers/terraform-provider-veeam`:\n\n```\nmkdir -p $GOPATH/src/github.com/terraform-providers\ncd $GOPATH/src/github.com/terraform-providers\ngit clone git@github.com:terraform-providers/terraform-provider-veeam\n\n```\n\n# Running the Build\nAfter the clone has been completed, you can enter the provider directory and build the provider.\n\n```\ncd $GOPATH/src/github.com/terraform-providers/terraform-provider-veeam\nmake build\n\n```\n\n# Installing the Local Plugin\nAfter the build is complete, copy the `terraform-provider-veeam` binary into the same path as your `terraform` binary, and re-run `terraform init`.\n\nAfter this, your project-local `.terraform/plugins/ARCH/lock.json` (where `ARCH` matches the architecture of your machine) file should contain a SHA256 sum that matches the local plugin. Run `shasum -a 256` on the binary to verify the values match.\n\n# Developing the Provider\nIf you wish to work on the provider, you'll first need [Go][9] installed on your machine (version 1.9+ is required). You'll also need to correctly setup a [GOPATH][10], as well as adding `$GOPATH/bin` to your `$PATH`.\n\n[9]:https://golang.org/\n[10]:https://golang.org/doc/code.html#GOPATH\nSee [Building the Provider][11] for details on building the provider.\n[11]: #building-the-provider\n\n\n# Testing the Provider\nNOTE: Testing the VEEAM provider is currently a complex operation as it requires having a VEEAM backup Server to test against.\n\n# Configuring Environment Variables\nMost of the tests in this provider require a comprehensive list of environment variables to run. See the individual `*_test.go` files in the [`veeam/`][12] directory for more details. The next section also describes how you can manage a configuration file of the test environment variables.\n\n[12]: https://github.com/GSLabDev/terraform-provider-veeam/tree/master/veeam \n\n# Running the Acceptance Tests\n\nAfter this is done, you can run the acceptance tests by running:\n\n```\n$ make testacc\n\n```\n\nIf you want to run against a specific set of tests, run `make testacc` with the `TESTARGS` parameter containing the run mask as per below:\n\n```\nmake testacc TESTARGS=\"-run=TestAccAddVMToJob_Basic\"\n\n```\n\nThis following example would run all of the acceptance tests matching `TestAccAddVMToJob_Basic`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgslabdev%2Fterraform-provider-veeam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgslabdev%2Fterraform-provider-veeam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgslabdev%2Fterraform-provider-veeam/lists"}