You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relates to #81 but applies to venafi_policy instead of venafi_certificate.
BUSINESS PROBLEM
As a platform administrator I configure many vendor resources via terraform. I just want to set the right contacts for a policy easily within terraform. My problem is that it's hard to know where to configure this.
Whilst it can be done in the JSON, if I want to iterate over a venafi_policy resource for multiple tenants or teams, it can be hard to get the right escaping and formatting to pass in contact names in the JSON format.
PROPOSED SOLUTION
Expose contacts as native argument to the venafi_policy terraform resource:
This forces someone unfamiliar with Venafi specific knowledge to craft a JSON file that will be accepted. Research, understand, test etc. The platform team may not need to use JSON for any other settings and could in theory not specify a policy at all, and rely on locked values of the parent zone.
Where all the relevant PKI controls are set in Certificates\\Cloud Platform, so no JSON settings are required. Or a completely bare template is generated within the provider resource and contacts inserted from argument reference into JSON on the terraform user's behalf. Therefore making it easier to use the terraform resource.
VENAFI EXPERIENCE
Raising on behalf of a customer's experience. Keen to make it easier for Cloud / Platform engineers to manage resource in more terraform native wats.
If this was a good user improvement, I would also suggest extracting some other commonly used parameters into native arguments for venafi_policy too. For example:
Allowed Domains:
Allow Wildcards:
Key Algorithm:
Key Strength (bits):
The text was updated successfully, but these errors were encountered:
Relates to #81 but applies to
venafi_policy
instead ofvenafi_certificate
.BUSINESS PROBLEM
As a platform administrator I configure many vendor resources via terraform. I just want to set the right contacts for a policy easily within terraform. My problem is that it's hard to know where to configure this.
Whilst it can be done in the JSON, if I want to iterate over a
venafi_policy
resource for multiple tenants or teams, it can be hard to get the right escaping and formatting to pass in contact names in the JSON format.PROPOSED SOLUTION
Expose
contacts
as native argument to thevenafi_policy
terraform resource:CURRENT ALTERNATIVES
As stated in this comment, you can set this in the JSON file, but it is currently not documented on the documented reference link.
This forces someone unfamiliar with Venafi specific knowledge to craft a JSON file that will be accepted. Research, understand, test etc. The platform team may not need to use JSON for any other settings and could in theory not specify a policy at all, and rely on locked values of the parent
zone
.The end goal may be:
Where all the relevant PKI controls are set in
Certificates\\Cloud Platform
, so no JSON settings are required. Or a completely bare template is generated within the provider resource and contacts inserted from argument reference into JSON on the terraform user's behalf. Therefore making it easier to use the terraform resource.VENAFI EXPERIENCE
Raising on behalf of a customer's experience. Keen to make it easier for Cloud / Platform engineers to manage resource in more terraform native wats.
If this was a good user improvement, I would also suggest extracting some other commonly used parameters into native arguments for
venafi_policy
too. For example:The text was updated successfully, but these errors were encountered: