https://github.com/robertograham/tpp4j
Terraform Plugin Protocol for Java
https://github.com/robertograham/tpp4j
Last synced: about 2 months ago
JSON representation
Terraform Plugin Protocol for Java
- Host: GitHub
- URL: https://github.com/robertograham/tpp4j
- Owner: RobertoGraham
- License: mit
- Created: 2024-04-01T16:11:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T20:13:36.000Z (about 2 years ago)
- Last Synced: 2024-04-12T03:12:58.374Z (about 2 years ago)
- Language: Java
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tpp4j - Terraform Plugin Protocol for Java
## Testing
1. Inside the root of this repository, compile the tpp4j native image:
```shell
./gradlew nativeCompile
```
1. Add the below configuration to
your [Terraform CLI Configuration File](https://developer.hashicorp.com/terraform/cli/config/config-file):
```hocon
provider_installation {
dev_overrides {
"robertograham.github.io/tpp4j/test" = "/build/native/nativeCompile"
}
direct {}
}
```
1. Inside the [infrastructure/tpp4j-test](infrastructure/tpp4j-test) directory, create an execution
plan:
#### Terraform
```shell
TF_LOG=trace terraform plan
```
#### OpenTofu
```shell
TF_LOG=trace tofu plan
```