Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance oci_core_route_table_attachment to support assiging route table to a VLAN #2202

Open
olkoko opened this issue Sep 28, 2024 · 0 comments

Comments

@olkoko
Copy link

olkoko commented Sep 28, 2024

Description

Attempting to create a VLAN with a route table that has a route rule to a private IP in that VLAN.
Getting a cycle error when attempting to do so.

│ Error: Cycle: oci_core_private_ip.this, oci_core_route_table.this, oci_core_vlan.this

Seems like you should be able to create a VLAN, private IP in this VLAN, route table with a rule refering private IP, and then associate route table with VLAN.

This can be achieved by enhancing oci_core_route_table_attachment to support attaching route table to a VLAN.

New or Affected Resource(s)

  • oci_core_vlan
  • oci_core_private_ip
  • oci_core_route_table
  • oci_core_route_table_attachment

Potential Terraform Configuration

resource "oci_core_route_table_attachment" "this" {
  vlan_id = var.vlan_id
  route_table_id = var.route_table_id
}

References

#270
#578

@olkoko olkoko changed the title Enhance oci_core_route_table_attachment to support assiging route table to a VLAN Enhance oci_core_route_table_attachment to support assiging route table to a VLAN Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant