atmos icon indicating copy to clipboard operation
atmos copied to clipboard

Trim whitespace of input variable values

Open nitrocode opened this issue 4 years ago • 0 comments

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

If the trailing whitespace is inputted, atmos will include that into terraform

components:
  terraform:
    elasticache-redis:
      vars:
        redis_clusters:
          my-redis:
            parameters:
              - name: activedefrag
                # there is a bunch of whitespace after "no"
                value: no        

It would be nice if all whitespace from input values could be trimmed when creating the tfvars file

nitrocode avatar Dec 16 '21 16:12 nitrocode