Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
In setups with large amount of contracts we can see that resource amount is increasing really fast for resources related to contracts. This could be optimized by introducing bulk resource / combining some resources.
Examples to review and discuss where it makes sense:
- contract + filters: for a single contract each filter is in a separate resource, so for a scenario where we have a contract with 5 filters, we need to use 6 resources in total. Idea is to have at least all filters in a single resource
- contract to epg association: with granular contracts each contract association is a separate resource
- exernal epg subnets: currently each subnet is spearate resource
New or Affected Resource(s) + MSO Class(es):
- mso_schema_template_contract_filter
- mso_schema_template_anp_epg_contract
- mso_schema_template_external_epg_subnet
MSO version
APIC version and APIC Platform for Site level Resources
Potential Terraform Configuration
# Copy-paste your Terraform configurations here - for large Terraform configs,
# please use a service like Dropbox and share a link to the ZIP file. For
# security, you can also encrypt the files using our GPG public key.
References
Community Note
Description
In setups with large amount of contracts we can see that resource amount is increasing really fast for resources related to contracts. This could be optimized by introducing bulk resource / combining some resources.
Examples to review and discuss where it makes sense:
New or Affected Resource(s) + MSO Class(es):
MSO version
APIC version and APIC Platform for Site level Resources
Potential Terraform Configuration
References