123456789101112131415 |
- terraform {
- required_providers {
- hashicups = {
- source = "hashicorp.com/edu/hashicups"
- }
- }
- }
- provider "hashicups" {
- host = "http://localhost:19090" // See docker-compose/docker-compose.yml
- username = "education" // We used: curl -X POST localhost:19090/signup -d '{"username":"education", "password":"test123"}'
- password = "test123" // We used: curl -X POST localhost:19090/signup -d '{"username":"education", "password":"test123"}'
- }
- data "hashicups_coffees" "example" {}
|