data "ibm_app_domain_shared" "${myResourceName}" {
name = ""
}
resource "ibm_app_route" "${myResourceName}-route" {
domain_guid = "${data.ibm_app_domain_shared.myResourceName-domain.id}"
space_guid = "${data.ibm_space.myResourceName-space.id}"
host = "myHost"
path = "/app"
}
ibm_app_route
The code creates a resource named "ibm_app_route" with the following data:
- DomainGuid: The domain GUID of the IBM App Domains Shared resource
- SpaceGuid: The space GUID of the IBM App Domains Shared resource
- Host: The hostname or IP address of the IBM App Domains Shared resource
Shortcut: tf_ibm_app_route
0 Comments
Add Comment
Log in to add a comment