-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support 'Descriptions' & 'Rule #' in ACL Rule #106
Comments
@btzq @kiranchavala Any issue with updating this Issue description to be:
I can open another issue if needed, but to me it makes more sense to keep this together Being able to specify the Rule # is currently not avail in TF either, but is in the UI |
@btzq @CodeBleu 'Rule #' on UI = 'number' in Api https://cloudstack.apache.org/api/apidocs-4.19/apis/createNetworkACL.html |
HI @CodeBleu , renaming it to your proposed title sounds okay to me. It makes more sense too. Noted @weizhouapache. But this is not a showstopper is it? Although behind the scenes these 2 are different APIs, the user experience can be made transparent? |
Thanks for reporting the issue Will, mark it as an improvement request to support description parameter to acl rule https://registry.terraform.io/providers/cloudstack/cloudstack/latest/docs/resources/network_acl_rule |
@btzq Do you mind going ahead and updating the description to : |
I wish I new more Go so I could write a proper go test for this. I was able to do a basic test of adding descriptions to Rules and also adding Rules with a Rule ID # ( as along as the existing Rule ID # doesn't exist). Updating existing rule with a Rule ID # that already exists produces the following:
I would have submitted a PR if I had some better logic to handle existing Rule ID #'s and proper testing, but since I'm a n00b at this Go stuff I figured I'd at least post the git diff patch 😄
|
According the Cloudstack GUI, ACL Rule has a description field.
But it is not available in the Terraform Provider.
Would like to request that this value be made available in the provider so that we can version control our ACL Rules, and also make it easy to read via the GUI.
The text was updated successfully, but these errors were encountered: