-
Notifications
You must be signed in to change notification settings - Fork 101
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
Enhancement: Create resource and datasource for igmpIfP (DCNE-36) #1245
Comments
Hi @joeTheK, Currently this is not supported in the aci terraform provider yet, but you can leverage the aci_rest_managed resource as shown in example below to achieve this.
I will be add this issue to the open TODO list so we can prioritise and create new resource and data source for the |
Thanks for the reply @akinross but I believe my issue was misunderstood. The resource and data source for the igmpIfP class exists. The issue is that you cannot relate this class to a bridge domain like is available in the apic GUI. (see image below) What I cannot find in the documentation/code is a relation to add this policy to a bridge domain via terraform like other policies (example below)
And thanks for the code snippet, that is currently how I am relating the two. |
Hi @joeTheK, I believe I understood you correctly but let me try to explain my train of thought. The aci_igmp_interface_policy refers to the igmpIfPol. Which is creating the actual interface policy. My understanding is that you are trying to form the relation from BD to this IGMP interface policy. It is a bit confusing and I would from consistency point of view perhaps also expected a name like fvRs. However for BD per my understanding this is different and you would require a So regarding the enhancement it would be a new resource for this specific class, since we typically only add relationship class to the parent resource. There is currently some work being done at the moment that might provide the possibility to include this into the resource it self. |
Ah okay, thank you for the clarification, I am new to this so that was helpful, thanks! |
Hi, Sure no worries, some of the things are also a bit confusing so feel free to ask questions. On top of that we are also working on migration to hashicorp's plugin framework for our current resources ( we started with ESG, see pr #1223 ). EPG and BD are next candidates as soon as the PR is merged. |
Community Note
Description
I am trying to create a L3BD and have no idea how to relate the igmp interface policy to the bridge domain. After some digging it look s like there is no relationship built into the bridge domain class.
New or Affected Resource(s) + ACI Class(es):
aci_bridge_domain + fvBD
policy resource already implemented: aci_igmp_interface_policy
class for policy: igmpIfPol
APIC version and APIC Platform
V 2.14.0
Potential Terraform Configuration
n/a
References
The text was updated successfully, but these errors were encountered: