Ned Bellavance 6/29/2022

Nonsensitive function fails in Terraform

Read Original

The article details a specific Terraform issue where using the nonsensitive() function on an output fails, even when intended. It explains that when a sensitive value (like an Azure AD client secret) is inside a list created by a conditional resource (using count), the nonsensitive function only removes the outer list's sensitivity marker, not the inner value's, causing Terraform to error. It provides the technical reasoning and a look at the underlying data structure.

Nonsensitive function fails in Terraform

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week