Skip to content

Commit

Permalink
Explain how to connect provider rpaas on Tsuru API
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed Mar 21, 2024
1 parent 16836a1 commit 1d3d2b1
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions examples/provider/provider.tf
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit 1d3d2b1

Please sign in to comment.