{"id":15065535,"url":"https://github.com/vmware/terraform-provider-nsxt-virtual-private-cloud","last_synced_at":"2025-04-10T16:40:38.691Z","repository":{"id":200434429,"uuid":"613297874","full_name":"vmware/terraform-provider-nsxt-virtual-private-cloud","owner":"vmware","description":"Terraform VMware NSX-T VPC provider","archived":false,"fork":false,"pushed_at":"2025-03-12T23:43:08.000Z","size":392,"stargazers_count":3,"open_issues_count":6,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T14:21:24.123Z","etag":null,"topics":["nsxt","terraform","terraform-provider","virtual-private-cloud","vpc"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/vmware/nsxt-virtual-private-cloud/latest/docs","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmware.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-13T09:50:54.000Z","updated_at":"2025-03-19T03:46:34.000Z","dependencies_parsed_at":"2023-12-08T07:28:01.982Z","dependency_job_id":"ce8e1342-4d70-4836-8502-6a58f16fc29e","html_url":"https://github.com/vmware/terraform-provider-nsxt-virtual-private-cloud","commit_stats":null,"previous_names":["vmware/terraform-provider-for-vmware-nsxt-virtual-private-cloud","vmware/terraform-provider-nsxt-virtual-private-cloud"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-nsxt-virtual-private-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-nsxt-virtual-private-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-nsxt-virtual-private-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-nsxt-virtual-private-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware","download_url":"https://codeload.github.com/vmware/terraform-provider-nsxt-virtual-private-cloud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252725,"owners_count":21072702,"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":["nsxt","terraform","terraform-provider","virtual-private-cloud","vpc"],"created_at":"2024-09-25T00:40:30.271Z","updated_at":"2025-04-10T16:40:38.671Z","avatar_url":"https://github.com/vmware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-provider-nsxt-virtual-private-cloud\n\nThis is the repository for VMware's NSX-T Virtual Private Cloud Terraform Provider, which one can use with\nTerraform to work with [VMware NSX-T][vmware-nsxt].\n\n[vmware-nsxt]: https://www.vmware.com/products/nsx.html\n\nFor general information about Terraform, visit the [official\nwebsite][tf-website] and the [GitHub project page][tf-github].\n\n[tf-website]: https://terraform.io/\n[tf-github]: https://github.com/hashicorp/terraform\n\nDocumentation on the NSX platform can be found at the [NSX-T Documentation page](https://docs.vmware.com/en/VMware-NSX-T/index.html)\n\n# Using the Provider\n\nThe latest version of this provider requires Terraform v0.12 or higher to run.\n\nNote that you need to run `terraform init` to fetch the provider before\ndeploying.\n\n## Full Provider Documentation\n\nThe provider is documented in full on the Terraform website and can be found\n[here](https://registry.terraform.io/providers/vmware/nsxt-vpc/latest). Check the provider documentation for details on entering your connection information and how to get started with writing configuration for policy resources.\n\n### Controlling the provider version\n\nNote that you can also control the provider version. This requires the use of a `provider` block in your Terraform configuration if you have not added one already.\n\nThe syntax is as follows:\n\n```hcl\nprovider \"nsxt\" {\n  version = \"~\u003e 1.0.0\"\n  ...\n}\n```\n\n[Read more][provider-vc] on provider version control.\n\n[provider-vc]: https://www.terraform.io/docs/configuration/providers.html#provider-versions\n\n# Automated Installation (Recommended)\n\nDownload and initialization of Terraform providers is with the “terraform init” command. This applies to the NSX-T provider as well. Once the provider block for the NSX-T provider is specified in your .tf file, “terraform init” will detect a need for the provider and download it to your environment.\nYou can list versions of providers installed in your environment by running “terraform version” command:\n\n```hcl\n$ ./terraform version\nTerraform v1.2.1\non linux_amd64\n+ provider registry.terraform.io/vmware/nsxt-vpc v1.0.0\n```\n\n# Manual Installation\n\n**NOTE:** Unless you are [developing](#developing-the-provider) or require a\npre-release bugfix or feature, you will want to use the officially released\nversion of the provider (see [the section above](#using-the-provider)).\n\n**NOTE:** Recommended way to compile the provider is using [Go Modules](https://blog.golang.org/using-go-modules).\n\n**NOTE:** For terraform 0.13, please refer to [provider installation configuration][install-013] in order to use custom provider.\n\n[install-013]: https://www.terraform.io/docs/commands/cli-config.html#provider-installation\n\n## Cloning the Project\n\nFirst, you will want to clone the repository to\n`$GOPATH/src/github.com/vmware/terraform-provider-nsxt-virtual-private-cloud`:\n\n```sh\nmkdir -p $GOPATH/src/github.com/vmware\ncd $GOPATH/src/github.com/vmware\ngit clone https://github.com/vmware/terraform-provider-nsxt-virtual-private-cloud.git\n```\n\n## Building and Installing the Provider\n\nRecommended golang version is go1.18 onwards.\nAfter the clone has been completed, you can enter the provider directory and build the provider.\n\n```sh\ncd $GOPATH/src/github.com/vmware/terraform-provider-nsxt-virtual-private-cloud\nmake\n```\n\nAfter the build is complete, copy the provider executable `terraform-provider-nsxt-virtual-private-cloud` into location specified in your provider installation configuration. Make sure to delete provider lock files that might exist in your working directory due to prior provider usage. Run `terraform init`.\nFor developing, consider using [dev overrides configuration][dev-overrides]. Please note that `terraform init` should not be used with dev overrides.\n\n[dev-overrides]: https://www.terraform.io/docs/cli/config/config-file.html#development-overrides-for-provider-developers\n\n# Developing the Provider\n\nIf you wish to work on the provider, you'll first need [Go][go-website]\ninstalled on your machine (version 1.14+ is recommended). You'll also need to\ncorrectly setup a [GOPATH][gopath], as well as adding `$GOPATH/bin` to your\n`$PATH`.\n\n[go-website]: https://golang.org/\n[gopath]: http://golang.org/doc/code.html#GOPATH\n\nSee [Manual Installation](#manual-installation) for details on building the\nprovider.\n\nNote: The files with filename starting with 'custom_' prefix are manually maintained files.\n      Other files in 'nsxt' and 'website' directories are autogenerated by NSX build system. Please do not edit them.\n\n# Testing the Provider\n\n**NOTE:** Testing the NSX-T provider is currently a complex operation as it\nrequires having a NSX-T manager endpoint to test against, which should be\nhosting a standard configuration for a NSX-T cluster.\n\n## Configuring Environment Variables\n\nMost of the tests in this provider require a comprehensive list of environment\nvariables to run. See the individual `*_test.go` files in the [`nsxt/`](nsxt/)\ndirectory for more details on the tunables that can be\nused to specify the locations of certain pre-created resources that the tests\nrequire.\n\nMinimum environment variable :\n```sh\n$ export NSXT_MANAGER_HOST=\"10.191.155.100\"\n$ export NSXT_USERNAME=\"admin\"\n$ export NSXT_PASSWORD=\"r6.Or#F_z_.F\"\n$ export NSXT_ORG=\"org-1\"\n$ export NSXT_PROJECT=\"custom-project-1\"\n$ export NSXT_VPC=\"vpc-1\"\n$ export NSXT_ALLOW_UNVERIFIED_SSL=true\n```\n\n## Running the Acceptance Tests\n\nAfter this is done, you can run the acceptance tests by running:\n\n```sh\n$ make testacc\n```\n\nIf you want to run against a specific set of tests, run `make testacc` with the\n`TESTARGS` parameter containing the run mask as per below:\n\n```sh\nmake testacc TESTARGS=\"-run=TestNSXTStaticRoutesBasic\"\n```\n\nThis following example would run all of the acceptance tests matching\n`TestNSXTStaticRoutesBasic`. Change this for the specific tests you want\nto run.\n\n# Interoperability\n\nThe following versions of NSX are supported:\n\n * NSX-T 4.1.2\n\n# Support\n\nThe NSX Virtual Private Cloud Terraform provider is now VMware supported as well as community supported. For bugs and feature requests please open a Github Issue and label it appropriately or contact VMware support.\n\n# License\n\nCopyright © 2022-2023 VMware, Inc. All Rights Reserved.\n\nThe NSX VPC Terraform provider is available under [MPL2.0 license](https://github.com/vmware/terraform-provider-nsxt-virtual-private-cloud/blob/main/LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fterraform-provider-nsxt-virtual-private-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware%2Fterraform-provider-nsxt-virtual-private-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fterraform-provider-nsxt-virtual-private-cloud/lists"}