forked fromcoder/terraform-provider-coder
- Notifications
You must be signed in to change notification settings - Fork0
License
NotificationsYou must be signed in to change notification settings
kyle-pazdel/terraform-provider-coder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Terraform provider forCoder.
Follow the instructions outlined in theTerraform documentationto setup your local Terraform to use your local version rather than the registry version.
- Create a file named
.terraformrc
in your$HOME
directory - Add the following content:
provider_installation {# Override the coder/coder provider to use your local versiondev_overrides {"coder/coder" ="/path/to/terraform-provider-coder" }# For all other providers, install them directly from their origin provider# registries as normal. If you omit this, Terraform will _only_ use# the dev_overrides block, and so no other providers will be available.direct {} }
- (optional, but recommended) Validate your configuration:
- Create a new
main.tf
file and include:
terraform {required_providers {coder={ source="coder/coder" } }}
- Run
terraform init
and observe a warning likeWarning: Provider development overrides are in effect
- Create a new
- Run
go build -o terraform-provider-coder
to build the provider binary, which Terraform will try locate and execute - All local Terraform runs will now use your local provider!
- NOTE: we vendor in this provider into
github.com/coder/coder
, so if you're testing with a local clone then you should also rungo mod edit -replace github.com/coder/terraform-provider-coder=/path/to/terraform-provider-coder
in your clone.
About
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Languages
- Go99.8%
- Makefile0.2%