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

mso_schema_site_anp doesn't work with template name (DCNE-210) #303

Closed
juchowan opened this issue Oct 16, 2024 · 0 comments · Fixed by #304
Closed

mso_schema_site_anp doesn't work with template name (DCNE-210) #303

juchowan opened this issue Oct 16, 2024 · 0 comments · Fixed by #304
Labels
bug Something isn't working jira-sync Sync this issue to Jira

Comments

@juchowan
Copy link
Contributor

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

Terraform Version

1.7.3

MSO version

  • V 4.2.3k

APIC version and APIC Platform for Site Level Resources

  • V 5.2/6.0

Affected Resource(s)

  • mso_schema_site_anp

Terraform Configuration Files

terraform import mso_schema_site_anp.anp1 {schema_id}/site/{site_id}/template/{template_name}/anp/{anp_name}

Debug Output

│ Error: Unable to find Site Anp XX

Panic Output

Expected Behavior

the command should allow specifying template name to import AP

Actual Behavior

currently it will work only if i remove template from command and use following syntax, so doc is also not correct:

terraform import mso_schema_site_anp.anp1 {schema_id}/site/{site_id}/anp/{anp_name}

However, this doesnt allow us to import AP which is split across multiple templates - we are in a scenario where upgrade script split existing single stretched schema into multiple stretched schemas, and same AP is in 3 schemas with different EPGs in each. We need to be able to import each of those AP to be able to import EPGs.

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
@akinross akinross added bug Something isn't working jira-sync Sync this issue to Jira labels Oct 16, 2024
@github-actions github-actions bot changed the title mso_schema_site_anp doesn't work with template name mso_schema_site_anp doesn't work with template name (DCNE-210) Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jira-sync Sync this issue to Jira
Projects
None yet
2 participants