Answers: <p>To get the ports set up with <code>openstack_networking_port_v2</code> in Horizons you'll want to,</p>
  <ul>
  <li><p>On the Navigation bar on the left, click <code>Network</code> to open the drop down.</p>
  </li>
  <li><p>Under the drop down click on <code>Networks</code></p>
  </li>
  <li><p>Click on the <code>openstack_networking_network_v2</code> in the case above <code>public</code></p>
  </li>
  <li><p>Click on the <code>openstack_networking_port_v2</code> in the case above <code>myport</code></p>
  </li>
  <li><p>You can now verify it's right by checking the ID against the ID recorded by your teraform state with something like this,</p>
  <pre><code>terraform show -json |
    jq '.values.root_module.resources[] | select(.type==&quot;openstack_networking_port_v2&quot;) | .values.id'
  </code></pre>
  </li>
  </ul>
  
Answers: CC BY-SA 4.0
Answers: 2022-02-21T20:42:53.550Z
Answers: 2022-02-21T20:42:53.550Z
Answers: Evan Carroll
Body: <p>I'm creating an instance with Terraform and I'm using the <a href="https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_port_v2" rel="nofollow noreferrer">Terraform resource <code>openstack_networking_port_v2</code></a>. I can see this corresponds to <a href="https://docs.openstack.org/openstacksdk/latest/user/resources/network/v2/port.html" rel="nofollow noreferrer">a <code>openstack.network.v2.port</code> OpenStack resource</a>.</p>
  <p>I'm using this,</p>
  <pre><code>data &quot;openstack_networking_network_v2&quot; &quot;network&quot; {
          name = &quot;public&quot;
  }
  
  data &quot;openstack_networking_subnet_v2&quot; &quot;subnet&quot; {
          name = &quot;hou-prod-external-ipv4&quot;
  }
  
  resource &quot;openstack_networking_port_v2&quot; &quot;myport&quot; {
    name           = &quot;port&quot;
    network_id     = data.openstack_networking_network_v2.network.id
    admin_state_up = &quot;true&quot;
    fixed_ip {
        subnet_id  = data.openstack_networking_subnet_v2.subnet.id
    }
  }
  </code></pre>
  <p>Creating this instance works in Terraform, but when I log into to Horizons I don't see this reflected in the UI anywhere. Does the <code>openstack_networking_port_v2</code> show up anywhere in Horizons?</p>
  
Tags: <openstack>
Title: Where does openstack_networking_port_v2 show up in OpenStack Horizons (web interface)?
UserDisplayName: Evan Carroll
ThreadText: # Where does openstack_networking_port_v2 show up in OpenStack Horizons (web interface)?
  
  (Asked by: username_0 on 2022-02-21)
  
  I'm creating an instance with Terraform and I'm using the [Terraform resource `openstack_networking_port_v2`](https://registry.terraform.io/providers/terraform-provider-openstack/openstack/latest/docs/resources/networking_port_v2). I can see this corresponds to [a `openstack.network.v2.port` OpenStack resource](https://docs.openstack.org/openstacksdk/latest/user/resources/network/v2/port.html).
  
  I'm using this,
  
  ```
  data "openstack_networking_network_v2" "network" {
          name = "public"
  }
  
  data "openstack_networking_subnet_v2" "subnet" {
          name = "hou-prod-external-ipv4"
  }
  
  resource "openstack_networking_port_v2" "myport" {
    name           = "port"
    network_id     = data.openstack_networking_network_v2.network.id
    admin_state_up = "true"
    fixed_ip {
        subnet_id  = data.openstack_networking_subnet_v2.subnet.id
    }
  }
  
  ```
  
  Creating this instance works in Terraform, but when I log into to Horizons I don't see this reflected in the UI anywhere. Does the `openstack_networking_port_v2` show up anywhere in Horizons?
  
  **Tags:** openstack
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2022-02-21. Score: 1 | Accepted answer
  
  To get the ports set up with `openstack_networking_port_v2` in Horizons you'll want to,
  
  * On the Navigation bar on the left, click `Network` to open the drop down.
  * Under the drop down click on `Networks`
  * Click on the `openstack_networking_network_v2` in the case above `public`
  * Click on the `openstack_networking_port_v2` in the case above `myport`
  * You can now verify it's right by checking the ID against the ID recorded by your teraform state with something like this,
  
    ```
    terraform show -json |
      jq '.values.root_module.resources[] | select(.type=="openstack_networking_port_v2") | .values.id'
  
    ```
  
  
  ---
  
  