main.tf 336 B

123456789101112131415161718
  1. terraform {
  2. required_providers {
  3. hashicups = {
  4. source = "hashicorp.com/edu/hashicups"
  5. }
  6. }
  7. required_version = ">= 1.8.0"
  8. }
  9. provider "hashicups" {
  10. username = "education"
  11. password = "test123"
  12. host = "http://localhost:19090"
  13. }
  14. output "total_price" {
  15. value = provider::hashicups::compute_tax(5.00, 0.085)
  16. }