Documentation: https://registry.terraform.io/providers/tenstad/remote/latest/docs/resources/file
Please create an issue if you find typos, have any questions, or problems with the provider. Feature requests are welcome, but you may have to get your hands dirty and take part in the implementation to get the feature merged.
Pull requests are welcome! 😊 You may create an issue to discuss the changes first, but it is not a strict requirement.
Before creating a PR, please ensure that all documentation is correctly
generated (go generate), and that go modules are tidy (go mod tidy).
If you wish to work on the provider, you'll first need Go installed on your machine. You might also want Terraform and Docker, depending on the work.
The playground enables developers to play around with changes and new features without releasing a new version of the provider.
In playground/:
make installto compile and install the provider in the playgroundmake hoststo start containers to use as remote hosts- Optionally use
export TF_LOG=INFOandtflog.Info(ctx, "message from provider")to log from the provider. - Evaluate your changes my modifying
main.tf
and runningterraform planorterraform apply docker exec -it remotehost shto enter remote host
and see that configuration is applied correctlymake cleanto delete terraform state and remote hosts
When changes are working as intended:
- Create/modify acceptance tests
make testto run acceptance test
NOTE: A container runtime is required, tests are performed between containers.go generateto generate documentation