janritter/terrastate

Use golang template engine to generate backend configuration file

Closed this issue ยท 1 comments

Problem

If one of the possible values in the backend configuration file is not set, the Terraform key will still be there, but the value stays empty. This creates an error in Terraform.

Solution

Use the Golang template engine to only add keys which also have a value set.

๐ŸŽ‰ This issue has been resolved in version 1.2.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€