-
Notifications
You must be signed in to change notification settings - Fork 2
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
Should interface_name
and transformation_id
be optional?
#823
Comments
I think for internal systems it is mandatory and for external systems it is optional. |
@ihadi581 Right! Thank you. I forgot we'd been down this road before. I just created a link between two internal systems without using either of these details, and it... "worked". We may need a safety check during create which ensures that these values are included for internal systems. |
@chrismarget-j correct in my testing if i put interfaces name in external system they report need transformation_id if we run plan and if i put dummy transformation_id terraform get error not applicable > plan OK - apply error example tf condition put interface name :
output :
condition 2 put dummy transformation_id :
output :
so i suggestion for external system is optional |
We wrote this error, because
This error is from the API:
...so that case is covered. But there's another case: This one seems like a problem we should catch, so that half-baked links to internal systems don't get created. |
Moving this discussion to #825 |
https://github.com/Juniper/terraform-provider-apstra/blob/cc3b7926c497aa4e7f8539724b62f9c76080e1d8/apstra/freeform/endpoint.go#L78C1-L98C1
interface_name
andtransformation_id
are currently optional. Should they be required?The text was updated successfully, but these errors were encountered: