Terraform snippets

    In the code, the data is set to the IBM App Domain Shared, and the name is set to "". The domain_guid is set to the IBM App Domain Shared's, and the space_guid is set to the IBM Space for The host is set to myHost and the path is set to "/app".

    Shortcut: tf_ibm_app_domain_shared

    data "ibm_app_domain_shared" "${myResourceName}" {
       name        = ""
    resource "ibm_app_route" "${myResourceName}_route" {
       domain_guid       = "${}"
       space_guid        = "${}"
       host              = "myHost"
       path              = "/app"
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Explore
    • Cookbooks
    • Playground
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.