Terraform snippets

    The code in this snippet creates a resource named "ibm_compute_bare_metal" which is attached to the host "myHost" and domain "" and has the os_reference_code " BareMetal ". The datacenter is set to "" and network_speed is set to "10GbE". The hourly_billing setting is set to true and the private_network_only setting is false. Finally, user_metadata is set to "{"value":"newvalue"}" and fixed_config_preset is set to "Standard". The tags setting is set to ["collectd"] and the notes setting is set to "baremetal notes".

    Shortcut: tf_ibm_compute_bare_metal

    resource "ibm_compute_bare_metal" "${myResourceName}" {
       hostname = "myHost"
       domain = ""
       os_reference_code = ""
       datacenter = ""
       network_speed = 
       hourly_billing = true
       private_network_only = false
       user_metadata = "{\"value\":\"newvalue"}\"
       fixed_config_preset = ""
       tags = ["collectd"]
       notes = "baremetal notes"
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • 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.