{"id":18990898,"url":"https://github.com/datadrivers/terraform-provider-designation","last_synced_at":"2025-04-22T11:29:59.431Z","repository":{"id":37099548,"uuid":"498716295","full_name":"datadrivers/terraform-provider-designation","owner":"datadrivers","description":"This repository contains a terraform provider for defining and using naming conventions","archived":false,"fork":false,"pushed_at":"2024-12-11T23:55:55.000Z","size":8433,"stargazers_count":3,"open_issues_count":8,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-17T00:16:17.938Z","etag":null,"topics":["automation","naming-conventions","terraform","terraform-provider"],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/providers/datadrivers/designation/latest","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/datadrivers.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-06-01T11:54:29.000Z","updated_at":"2024-10-07T06:18:52.000Z","dependencies_parsed_at":"2024-05-30T16:06:04.072Z","dependency_job_id":"9262ad3f-7903-48f6-87c9-3426ac424a52","html_url":"https://github.com/datadrivers/terraform-provider-designation","commit_stats":{"total_commits":44,"total_committers":3,"mean_commits":"14.666666666666666","dds":"0.40909090909090906","last_synced_commit":"cb03919471360319067e3979e0dcf5da841a82c7"},"previous_names":["datadrivers/terraform-provider-convention"],"tags_count":12,"template":false,"template_full_name":"hashicorp/terraform-provider-scaffolding-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fterraform-provider-designation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fterraform-provider-designation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fterraform-provider-designation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadrivers%2Fterraform-provider-designation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadrivers","download_url":"https://codeload.github.com/datadrivers/terraform-provider-designation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250231705,"owners_count":21396498,"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":["automation","naming-conventions","terraform","terraform-provider"],"created_at":"2024-11-08T17:12:05.014Z","updated_at":"2025-04-22T11:29:59.409Z","avatar_url":"https://github.com/datadrivers.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Provider Designation (Terraform Plugin Framework)\n\n## Requirements\n\n- [Terraform](https://www.terraform.io/downloads.html) \u003e= 1.0\n- [Go](https://golang.org/doc/install) \u003e= 1.17\n\n## Building The Provider\n\n1. Clone the repository\n1. Enter the repository directory\n1. Build the provider using the Go `install` command:\n\n```shell\ngo install\n```\n\n## Adding Dependencies\n\nThis provider uses [Go modules](https://github.com/golang/go/wiki/Modules).\nPlease see the Go documentation for the most up to date information about using Go modules.\n\nTo add a new dependency `github.com/author/dependency` to your Terraform provider:\n\n```shell\ngo get github.com/author/dependency\ngo mod tidy\n```\n\nThen commit the changes to `go.mod` and `go.sum`.\n\n## Developing the Provider\n\nIf you wish to work on the provider, you'll first need [Go](http://www.golang.org) installed on your machine (see [Requirements](#requirements) above).\n\nTo compile the provider, run `go install`. This will build the provider and put the provider binary in the `$GOPATH/bin` directory.\n\nTo generate or update documentation, run `go generate`.\n\nIn order to run the full suite of Acceptance tests, run `make testacc`.\n\n_Note:_ Acceptance tests create real resources, and often cost money to run.\n\n```shell\nmake testacc\n```\n\n## Local Test\n\nThere is a [makefile](./GNUmakefile) to build the provider and place it in repos root dir.\n\n```sh\nmake\n```\n\nTo use the local build version you need to tell terraform where to look for it via a terraform config override.\n\nCreate `dev.tfrc` in your terraform code folder (e.g. in [dev.tfrc](./examples/development/dev.tfrc)):\n\n```hcl\n# dev.tfrc\nprovider_installation {\n  dev_overrides {\n    \"datadrivers/designation\" = \"../../\"\n  }\n\n  # For all other providers, install them directly from their origin provider\n  # registries as normal. If you omit this, Terraform will _only_ use\n  # the dev_overrides block, and so no other providers will be available.\n  direct {}\n}\n```\n\nTell your shell environment to use override file:\n\n```bash\nexport TF_CLI_CONFIG_FILE=dev.tfrc\n```\n\nNow run your terraform commands (`plan` or `apply`), `init` is ***not*** required.\n\n```bash\n# run local terraform code\ncd examples/development\nterraform plan\nterraform apply\n```\n\n## Create Release\n\n```shell script\ncz bump --changelog\ngit push --tags\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadrivers%2Fterraform-provider-designation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadrivers%2Fterraform-provider-designation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadrivers%2Fterraform-provider-designation/lists"}