Expose certificate's subject parts in data source tls_certificate (Data Source)
#439
Open
1 task done
Labels
Terraform CLI and Provider Versions
Terraform v1.2.0
on linux_amd64
Use Cases or Problem Statement
Be able to use information available in the equivalent
tls_locally_signed_cert
andtls_self_signed_cert
resource
'ssubject
blocks, likecommon_name
,country
,organization
, etc. This information could then be used to name or organize other resources. For example, uploading a certificate -to somewhere- using it's Common Name as file name.Proposal
Expose the
data
subject
parts. To prevent breaking changes on a new version, maybe usingsubject_parts
orsubject_block
(use whatever name you prefer) instead of the existingsubject
(for example:data.tls_certificate.example.subject_parts.common_name
) would be desirable.How much impact is this issue causing?
Medium
Additional Information
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: