Powerpipe: Dashboards for DevOps. Visualize cloud configurations. Assess security posture against a massive library of benchmarks. Build custom dashboards with code.
Describe the bug
Defining a .ppvars config file with more than 1 spaces between the variable name and the = sign render the following error.
[ Error ] failed to load variables from 'aws_tags.auto.ppvars'
Argument or block definition required: An argument or block definition is required here. To set an argument, use the equals sign "=" to introduce the argument value.
(aws_tags.auto.ppvars:3,1)
Powerpipe version (powerpipe -v)
Example: v0.1.3
To reproduce
Create an aws_tags.auto.ppvars file in the workspace
Set a variable like this: aws_tags.common_dimensions = ["account_id", "region"]
Rendering fails
Set a variable like this: aws_tags.common_dimensions = ["account_id", "region"]
Rendering succeeds
Expected behavior
Since .ppvars configs are basically HCL, this should never happen since HCL accepts and, in fact, encourages this type of alignment via fmt
Describe the bug Defining a
.ppvars
config file with more than 1 spaces between the variable name and the=
sign render the following error.Powerpipe version (
powerpipe -v
) Example: v0.1.3To reproduce
aws_tags.auto.ppvars
file in the workspaceaws_tags.common_dimensions = ["account_id", "region"]
aws_tags.common_dimensions = ["account_id", "region"]
Expected behavior Since
.ppvars
configs are basically HCL, this should never happen since HCL accepts and, in fact, encourages this type of alignment viafmt