ibm_app_domain_shared

    0

    0

    lucycodes42

    Terraform snippets

    In the code, the data is set to the IBM App Domain Shared, and the name is set to "mybluemix.net". The domain_guid is set to the IBM App Domain Shared's domain_shared.id, and the space_guid is set to the IBM Space for myResourceName-space.id. 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        = "mybluemix.net"
    }
    resource "ibm_app_route" "${myResourceName}_route" {
       domain_guid       = "${data.ibm_app_domain_shared.domain_shared.id}"
       space_guid        = "${data.ibm_space.myResourceName-space.id}"
       host              = "myHost"
       path              = "/app"
    }
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.