-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to develop/ test existing provider locally? #5396
Comments
Hi @psura 👋 Sorry this process may not be documented well anywhere other than the Plugin Installation documentation. Here's the process I personally use for manually testing a custom provider binary (with my own Terraform configuration / outside the provider acceptance testing framework):
Now you should be able to run other |
@bflad I think |
I don't need to adjust lock.json personally, I believe the |
@bflad Nice to know :) |
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Hi: I am looking at the readme here https://github.com/terraform-providers/terraform-provider-aws
I would like to make some changes to terraform-aws-provider and test it out locally.
I have setup the GO Path and cloned the aws provider under the GO_PATH and make build also succeeded without errors.
How do I refer/point my terraform to use my local provider?
In other words inside below config, how do I tell terraform to point to locally build provider?
provider "aws" {
region = "${var.aws_region}"
profile = "${var.aws_profile}"
}
Thanks!
Pavan
The text was updated successfully, but these errors were encountered: