Skip to content

Conversation

@pavithran-rathinam
Copy link
Contributor

No description provided.

@tzarski0 tzarski0 requested a review from seconroy January 26, 2026 22:28
test_value: sdwan_policy_object_feature_profile.test.id
- model_name: entries
mandatory: true
type: List
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an issue with the generator or some other reason why the type, descriptions, and min_list are being manually configured. Does the following not work?

  - model_name: entries
    mandatory: true
    attributes:
      - model_name: vpn
        example: Guest
      - model_name: interface
        exclude_test: true
        example: GigabitEthernet1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without specifying the type attribute, the object type cannot be determined, resulting in the following error:

internal/provider/model_sdwan_policy_object_security_zone.go:42:17: expected 'IDENT', found tfsdk:"entries" exit status 2 main.go:34: running "go": exit status 1
image

In the model , entries has a oneOf property and it's list.
Model:
image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before approving I will have a look at the model and try to see why the generator is not working properly

@seconroy seconroy changed the title Add policy object security_zone feature [UX2.0] Add policy object security_zone feature Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants