stacker icon indicating copy to clipboard operation
stacker copied to clipboard

Convert floats to strings in the YAML files

Open ttaub opened this issue 8 years ago • 1 comments
trafficstars

Similarly to issue: #290

Stacker should be smart enough to be able to parse floats in the configuration files.

ttaub avatar Jan 12 '17 01:01 ttaub

Another example of issue:

      - PolicyDocument:
          Statement:
          - Action:
            - ecr:*
            Effect: Allow
            Resource: '*'
          Version: 2012-10-17
        PolicyName: name

2012-10-17 is interpreted as a python datetime. it should be interpreted as string. Quoting the 2012-10-17 works.

      - PolicyDocument:
          Statement:
          - Action:
            - ecr:*
            Effect: Allow
            Resource: '*'
          Version: '2012-10-17'
        PolicyName: name

jeshan avatar May 14 '18 21:05 jeshan