Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.12 KB

File metadata and controls

20 lines (15 loc) · 1.12 KB

cloudfoundry_route

Gets information on a Cloud Foundry route.

cloudfoundry/cloudfoundry cloudfoundry-community/cloudfoundry
data "cloudfoundry_route" "bruh" {
domain = "a25ca0c1-353a-40f9-bcf4-d2a0adf4112b"
host = "my-host"
space = "b45da1f2-353a-40f9-bcf4-d2a0adf4112b"
}

data "cloudfoundry_route" "my-route" {
domain = "a25ca0c1-353a-40f9-bcf4-d2a0adf4112b"
hostname = "my-host"
}

Differences

Note

🔵 Required 🟢 Optional 🟠 Computed 🔴 Not present

Attribute name Cloud Foundry Provider Community Cloud Foundry Provider (old) Description
id 🔴 🟠 The current provider returns multiple routes if available with same domain name in the routes attribute unlike the community provider. Therefore the id is present in the respective route resources in routes output
hostname 🔴 🟢 hostname has been changed to host to maintain conformity with V3 API
host 🟢 🔴 Refer above
space 🟢 🔴 -
routes 🟠 🔴 -