Ned Bellavance 6/13/2018

Terraform - FotD - basename()

Read Original

This article is a technical guide on the basename() interpolation function in Terraform. It explains how the function extracts the last portion of a file path, provides code examples for both Linux and Windows systems, and includes lessons learned from testing edge cases like trailing slashes and empty strings. It is part of an ongoing series documenting Terraform's built-in functions.

Terraform - FotD - basename()

Comments

No comments yet

Be the first to share your thoughts!