cloud-ca / terraform-provider-cloudca

Terraform provider for cloud.ca
https://cloud.ca
MIT License
8 stars 10 forks source link

ICMP type and ICMP code #61

Open cloudops-jperrier opened 5 years ago

cloudops-jperrier commented 5 years ago

When using the cloudca_network_acl_rule to add ICMP rules, the options for icmp type and icmp code trow an error:

Error: cloudca_network_acl_rule.mgmt_acl_7: : invalid or unknown key: icmp_code
Error: cloudca_network_acl_rule.mgmt_acl_7: : invalid or unknown key: icmp_type

If I remove the options and try to apply:

* cloudca_network_acl_rule.mgmt_acl_7: Error creating the new network ACL rule 34: [ERROR] Received HTTP status code 400
[ERROR] Error Code: MISSING_FIELD, Message: Missing field, Context: {"field":"icmpType","labelKey":"cloudstack.validation.missing_field"}
[ERROR] Error Code: MISSING_FIELD, Message: Missing field, Context: {"field":"icmpCode","labelKey":"cloudstack.validation.missing_field"}

Also tried it with icmpType and icmpCode...