{"id":18512869,"url":"https://github.com/vmware/terraform-provider-wavefront","last_synced_at":"2025-04-09T06:32:27.246Z","repository":{"id":37551890,"uuid":"267713957","full_name":"vmware/terraform-provider-wavefront","owner":"vmware","description":"Terraform Wavefront provider","archived":false,"fork":false,"pushed_at":"2023-12-05T15:52:25.000Z","size":21600,"stargazers_count":8,"open_issues_count":17,"forks_count":22,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-03-24T00:08:04.332Z","etag":null,"topics":["terraform","terraform-provider","wavefront"],"latest_commit_sha":null,"homepage":"https://www.terraform.io/docs/providers/wavefront/","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":null,"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":"2020-05-28T22:55:25.000Z","updated_at":"2024-08-02T02:22:18.000Z","dependencies_parsed_at":"2022-08-08T20:31:12.542Z","dependency_job_id":"cf804af2-cee8-4b74-af62-b03035dfc139","html_url":"https://github.com/vmware/terraform-provider-wavefront","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-wavefront","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-wavefront/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-wavefront/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmware%2Fterraform-provider-wavefront/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmware","download_url":"https://codeload.github.com/vmware/terraform-provider-wavefront/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247992604,"owners_count":21029923,"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","wavefront"],"created_at":"2024-11-06T15:35:45.455Z","updated_at":"2025-04-09T06:32:22.233Z","avatar_url":"https://github.com/vmware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aria Operations for Applications Terraform Provider\n\nThanks for stopping by and considering contributing to the Terraform Provider for interacting with Aria Operations for Applications! This Provider is used to manage resources in Aria Operations for Applications (AOA). \n\nWe welcome contributors to this provider! Please see our [CONTRIBUTING.md](./CONTRIBUTING.md) for more details on contributing.\n\n## Requirements\n\n* Go version 1.13 or higher [installed and setup correctly](https://golang.org/doc/install).\n* Terraform 0.10.0 or higher (Custom providers were released at 0.10.0).\n* Install [`golangci-lint`](https://golangci-lint.run/usage/install).\n\n## Provider Development and Installation\n\nIn this section, you'll find information about how to develop, build and install your custom terraform provider locally.\nThe examples will assume `MacOS`, but will provide instructions for how to build for other platforms.\n\n### Building the Provider\n\n1. To use your local copy of the provider, you first need to build it.\n    ```shell\n    make build\n    ```\n   This will install the provider to `/Users/\u003cUSERNAME\u003e/go/bin`.\n1. Then add a `.terraformrc` file to your home directory that references the locally built provider:\n    ```shell\n    provider_installation {\n      dev_overrides {\n        \"vmware/wavefront\" = \"/Users/\u003cUSERNAME\u003e/go/bin\"\n      }\n    \n    direct {}\n    }\n    ```\n    You may need to run `terraform init -upgrade` to switch between local and remote versions of the plugin.\n\n    * For more information on how the dev_overrides works, see [Development Overrides for Provider Developers](https://developer.hashicorp.com/terraform/cli/config/config-file#development-overrides-for-provider-developers).\n1. Now, when running `terraform` commands - such as `plan` or `apply` - your local copy of the provider will be used. If everything has worked as expected, you should see output similar to the following when running `terraform` commands:\n```text\n╷\n│ Warning: Provider development overrides are in effect\n│\n│ The following provider development overrides are set in the CLI configuration:\n│  - vmware/wavefront in /Users/\u003cUSERNAME\u003e/go/bin\n│\n│ The behavior may therefore not match any released version of the provider and applying changes may cause the state to become incompatible with published releases.\n╵\n```\n\n### Unit Tests\n\nUnit Tests should be written where required and can be run from `make test`. The core functionality of the provider (Read, Create, Update, Delete and Import of resources is best tested via integration tests), but any supporting function should be unit tested.\n\n`make test` does not run acceptance tests.\n\n### Acceptance Tests\n\nAcceptance Tests are required for the Read, Create, Update, Delete and Import of resources. Acceptance tests are run against the Wavefront API, so you'll need an account to use them. Run at your own risk.\n\nThe `WAVEFRONT_ADDRESS` and `WAVEFRONT_TOKEN` environment variables are required in order for the tests to run.\n\n```shell\nexport WAVEFRONT_ADDRESS=\u003cyour-account\u003e.wavefront.com\nexport WAVEFRONT_TOKEN=\u003cyour-wavefront-token\u003e\n\nmake testacc\n```\n\n### Linting and Formatting\n\n1. Run\n    ```shell\n    make lint\n    make fmt\n    ```\n\n### Using a local copy of the Wavefront Golang Client Library\n\n1. To test your local copy of the go-wavefront-management-api client library, add this to the provider's `go.mod` file:\n    ```text\n    replace github.com/WavefrontHQ/go-wavefront-management-api/vX vX.Y.Z =\u003e /Users/\u003cUSERNAME\u003e/workspace/go-wavefront-management-api\n    ```\n\n### Building the provider for different architectures\n\nYou can use the local `build.sh` script to build specific versions of the binary. By default, this will create two binaries in the form of `terraform-provider-wavefront_\u003cversion_os_arch\u003e` in the root of the repository, one for `Darwin amd64` and one for `Linux amd64`. We release darwin and linux amd64 packages on the [releases page](https://github.com/vmware/terraform-provider-wavefront/releases). If you require a different architecture, you can add it to the `build.sh` script to be built.\n\nNow that you have a binary, you test that it was built correctly by attempting to run it and confirming that you see a message similar to the one below.\n\n```shell\n./terraform-provider-wavefront_v0.1.2_darwin_amd64\nThis binary is a plugin. The plugins are not meant to be executed directly.\nPlease execute the program that consumes these plugins, which will\nload any plugins automatically.\n```\n\nOnce you have the plugin you should remove the `_os_arch` from the end of the file name.\n\n## Using the Plugin\n\nTo see instructions for using this provider to manage resources in Aria Operations for Applications, please see [the documentation in the terraform registry](https://registry.terraform.io/providers/vmware/wavefront/latest/docs).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fterraform-provider-wavefront","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmware%2Fterraform-provider-wavefront","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmware%2Fterraform-provider-wavefront/lists"}