{"id":13707023,"url":"https://github.com/fly-apps/terraform-provider-fly","last_synced_at":"2025-05-05T23:31:59.469Z","repository":{"id":37032836,"uuid":"493794227","full_name":"fly-apps/terraform-provider-fly","owner":"fly-apps","description":"Terraform provider for the Fly.io API","archived":true,"fork":false,"pushed_at":"2023-11-13T15:47:32.000Z","size":9183,"stargazers_count":113,"open_issues_count":53,"forks_count":37,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-11-13T15:49:24.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fly-apps.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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}},"created_at":"2022-05-18T19:10:27.000Z","updated_at":"2024-10-29T14:12:12.000Z","dependencies_parsed_at":"2023-02-13T02:46:38.428Z","dependency_job_id":"add18a60-b7b7-4476-9576-af0cda30e5a4","html_url":"https://github.com/fly-apps/terraform-provider-fly","commit_stats":null,"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fterraform-provider-fly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fterraform-provider-fly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fterraform-provider-fly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fly-apps%2Fterraform-provider-fly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fly-apps","download_url":"https://codeload.github.com/fly-apps/terraform-provider-fly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252593256,"owners_count":21773436,"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-08-02T22:01:15.654Z","updated_at":"2025-05-05T23:31:58.726Z","avatar_url":"https://github.com/fly-apps.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# fly.io terraform provider\n\n[![Tests](https://github.com/fly-apps/terraform-provider-fly/actions/workflows/test.yml/badge.svg)](https://github.com/fly-apps/terraform-provider-fly/actions/workflows/test.yml)\n\n**This project is not currently maintained, and is not a recommended method of deployment to Fly.io.**\n\n### Resources\n- app (stable, but apps will be deprecated soon. Begin to favor machines.)\n- cert (stable)\n- ip (stable)\n- volume (stable)\n- machines (beta)\n- postgres (todo)\n\n### Data sources\n- app (stable)\n- cert (stable)\n- ip (stable)\n- volume (stable)\n\n\n### Acceptance Test Setup\nTo run acceptance tests for this provider some scaffolding is required.\n\n1. Create a new organization in your Fly.io account to isolate the resources\n    * e.g. `fly orgs create fly-terraform-ci`\n    * take note of the org slug\n2. Export environment variables\n    * `export FLY_TF_TEST_ORG=\u003cyour-org-slug-from-step-1\u003e`\n    * `export FLY_TF_TEST_APP=\"acctestapp-$(head /dev/urandom | LC_ALL=C tr -dc A-Za-z0-9 | head -c 10)\"`\n3. Run the commands below to persist your config values. You will need direnv installed.\n    * `echo \"export FLY_TF_TEST_ORG=${FLY_TF_TEST_ORG}\" \u003e\u003e .make-overrides`\n    * `echo \"export FLY_TF_TEST_APP=${FLY_TF_TEST_APP}\" \u003e\u003e .make-overrides`\n    * (If using ASDF) `echo \"export ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=$(pwd)/.tool-versions\"`\n    * `$(cd infra \u0026\u0026 echo \"fly_ci_org = \\\"${FLY_TF_TEST_ORG}\\\"\\nfly_ci_app = \\\"${FLY_TF_TEST_APP}\\\"\" \u003e terraform.tfvars)`\n4. Got to the infra directory and run `terraform apply` to create the scaffolding.\n5. You should now be able to run `make` in the repo root to run tests.\n6. (Optional) set FLY_TF_TEST_REGION in `.make-overrides` to a region closer to you\n\n### Building with Docker\nIf you do not have a local Go environment, you can build in a container. The binary will be placed in the root of the repository.\n\nIf you are not building for linux, set `GOOS` and `GOARCH` environment variables appropriately.\n\n* `docker-compose up` (default, linux build)\n* `GOOS=darwin GOARCH=arm64 docker-compose up` (m1 mac)\n* `docker-compose up --build` if the version of golang has changed since the last run.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fterraform-provider-fly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffly-apps%2Fterraform-provider-fly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffly-apps%2Fterraform-provider-fly/lists"}