From 1d3d2b1616ae5f30d11bb00462673e568cb01ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilson=20J=C3=BAnior?= Date: Thu, 21 Mar 2024 10:55:09 -0300 Subject: [PATCH] Explain how to connect provider rpaas on Tsuru API --- examples/provider/provider.tf | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/examples/provider/provider.tf b/examples/provider/provider.tf index e96e028..84d3fad 100644 --- a/examples/provider/provider.tf +++ b/examples/provider/provider.tf @@ -1,5 +1,14 @@ -provider "rpaas" {} -provider "tsuru" {} +local { + tsuru_target = "https://mytsuru.example.com" +} + +provider "rpaas" { + tsuru_target = local.tsuru_target +} + +provider "tsuru" { + host = local.tsuru_target +} resource "tsuru_service_instance" "my_rpaas" { service_name = "rpaasv2-be"