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 import not supporting multiple templates (DCNE-203) #295

Closed
juchowan opened this issue Oct 9, 2024 · 0 comments · Fixed by #296
Closed

mso_schema_site import not supporting multiple templates (DCNE-203) #295

juchowan opened this issue Oct 9, 2024 · 0 comments · Fixed by #296
Labels
enhancement New feature or request jira-sync Sync this issue to Jira

Comments

@juchowan
Copy link
Contributor

juchowan commented Oct 9, 2024

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

Terraform Configuration Files

resource "mso_schema" "schema1" {
    name = "schema1"
}

resource "mso_schema_site" "T1" {
}

terraform import mso_schema_site.T1 66f275b586669d8c4c40deb6/site/ACI_PROD_1

Debug Output

Panic Output

Expected Behavior

In a situation where schema has multiple templates, and more than one template is assigned to the same site, it is not possible to import resource with the correct template. The import command expects schema ID and a site name but doesn't allow to provide template. We should be able to import that resource for each template

Actual Behavior

Only one template assigned to a site would be imported.

Steps to Reproduce

  • #0000
@akinross akinross added enhancement New feature or request jira-sync Sync this issue to Jira labels Oct 9, 2024
@github-actions github-actions bot changed the title mso_schema_site import not supporting multiple templates mso_schema_site import not supporting multiple templates (DCNE-203) Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request jira-sync Sync this issue to Jira
Projects
None yet
2 participants