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
New RP Palo Alto
#22700
New RP Palo Alto
#22700
Conversation
4e6029e
to
fc22469
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @jackofallops
Thanks for this PR - I've taken a look through and left some comments inline, but on the whole this is looking pretty good.
In general most of the comments fall under:
- Schema consistency (for example removing
None
as a value in favour of omitting the value - Field naming consistency (e.g. using
public_ip_address_id
rather thanpublic_ip_id
etc) - Resource naming consistency (e.g.
virtual_hub
rather thanvhub
) - Extended timeouts for the resources (as discussed offline) - these are currently 2h for testing purposes, but can likely be reduced
- Working through the remaining TODOs
- Validating the API Response has a model (
if model := resp.Model; model != nil { .. }
) - Missing documentation for the new data source/resources
However on the whole this is looking pretty good, so nice work - if we can fix those comments up then this should otherwise be good to go 👍
Thanks!
internal/services/paloalto/local_rule_stack_certificate_resource.go
Outdated
Show resolved
Hide resolved
internal/services/paloalto/local_rule_stack_fqdn_list_resource.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hey @jackofallops
Thanks for this PR - I've taken a look through and left some comments inline, but on the whole this is looking pretty good.
In general most of the comments fall under:
- Schema consistency (for example removing
None
as a value in favour of omitting the value - Field naming consistency (e.g. using
public_ip_address_id
rather thanpublic_ip_id
etc) - Resource naming consistency (e.g.
virtual_hub
rather thanvhub
) - Extended timeouts for the resources (as discussed offline) - these are currently 2h for testing purposes, but can likely be reduced
- Working through the remaining TODOs
- Validating the API Response has a model (
if model := resp.Model; model != nil { .. }
) - Missing documentation for the new data source/resources
However on the whole this is looking pretty good, so nice work - if we can fix those comments up then this should otherwise be good to go 👍
Thanks!
cf27392
to
e7bc4ef
Compare
e7bc4ef
to
110a665
Compare
c12f6f4
to
c59d1e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few minor comments but 👍
internal/services/paloalto/local_rulestack_certificate_resource.go
Outdated
Show resolved
Hide resolved
hi @jackofallops , shouldnt this be private_ip_address instead ? |
Adds new RP Palo Alto, consisting of
azurerm_palo_alto_local_rulestack
azurerm_palo_alto_local_rulestack_certificate
azurerm_palo_alto_local_rulestack_fqdn_list
azurerm_palo_alto_local_rulestack_outbound_trust_certificate_association
azurerm_palo_alto_local_rulestack_outbound_untrust_certificate_association
azurerm_palo_alto_local_rulestack_prefix_list
azurerm_palo_alto_local_rulestack_rule
azurerm_palo_alto_virtual_network_appliance
azurerm_palo_alto_next_generation_firewall_virtual_hub_local_rulestack
azurerm_palo_alto_next_generation_firewall_virtual_hub_panorama
azurerm_palo_alto_next_generation_firewall_virtual_network_local_rulestack
azurerm_palo_alto_next_generation_firewall_virtual_network_panorama
azurerm_palo_alto_local_rulestack