{"id":21401117,"url":"https://github.com/massdriver-cloud/terraform-provider-massdriver","last_synced_at":"2025-03-16T16:14:30.566Z","repository":{"id":37023849,"uuid":"448431085","full_name":"massdriver-cloud/terraform-provider-massdriver","owner":"massdriver-cloud","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-06T17:22:18.000Z","size":10738,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-23T03:13:53.753Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://massdriver.cloud","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/massdriver-cloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":"2022-01-16T01:29:47.000Z","updated_at":"2024-12-07T02:54:07.000Z","dependencies_parsed_at":"2024-06-05T23:09:36.401Z","dependency_job_id":"81915530-1afd-4869-b04f-5250a739242d","html_url":"https://github.com/massdriver-cloud/terraform-provider-massdriver","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fterraform-provider-massdriver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fterraform-provider-massdriver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fterraform-provider-massdriver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/massdriver-cloud%2Fterraform-provider-massdriver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/massdriver-cloud","download_url":"https://codeload.github.com/massdriver-cloud/terraform-provider-massdriver/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893859,"owners_count":20364918,"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":[],"created_at":"2024-11-22T15:26:11.167Z","updated_at":"2025-03-16T16:14:30.539Z","avatar_url":"https://github.com/massdriver-cloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Terraform Provider Massdriver\n\nThis provider allows us to manage massdriver artifacts and package alarms generated from bundles right alongside the other resources in the bundle. It gives us delineated lifecycle events (create, update, destroy).\n\n## Development Environment\n\nThis project comes with all of the tools you need dockerized in a dev container. Make sure your vscode installation has the plugin [remote-containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).\nUse the command palette to run `Remote-Containers: Open Folder In Container` this will install all the dependencies for development and testing as well as start LocalStack.\n\n## Testing\n\n### Setting up localstack resources\n\nTo create an SQS queue, an SNS topic and a topic subscription from SNS to SQS, which mirrors our infrastructure in production, run the follwing command\n\n```shell\nmake local.setup\n```\n\n### Build the provider and install the terraform plugin\n\nIn order to run local versions of the provider we have to manually install it in our terraform plugins directory. To do this run\n\n```shell\nmake install\n```\n\n### Test sample configuration\n\nThere are two ways to test the terraform provider end to end. The first is to run acceptance tests using the framework\nthat provided by Hashicorp. To run the tests it is helpful to open a split pane in your terminal. In one pane run the following command which will poll the sqs created in `local.setup` and display any messages received.\n\n```shell\nmake local.sqs.poll\n```\n\nIn the other pane run\n\n```shell\nmake testacc\n```\n\nThe second variation uses actual Terraform configuration to test the provider. In `examples/main.tf` you will find a Terraform resource file where you can stub inputs and use your resource as it would be in someone elses configuration. Using the split pane method above, use the `local.sqs.poll` command in one pane. In the other run\n\n```shell\nmake local.apply\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassdriver-cloud%2Fterraform-provider-massdriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmassdriver-cloud%2Fterraform-provider-massdriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmassdriver-cloud%2Fterraform-provider-massdriver/lists"}