kristofwillen / cfntagger

Mass tag resources in Cloudformation templates
GNU General Public License v3.0
4 stars 0 forks source link

.cfntaggerrc converts tag names (keys) to lowercase #20

Closed kristofwillen closed 1 year ago

kristofwillen commented 1 year ago

Consider the following .cfntaggerrc:

[Tags]
Creator=Bighead
Application=NipAlert

When using this config, cfntagger converts the tag names to lowercase:

$ cfntagger -f ./myfile.yml -s
...
Resources:
  ResourceWithTags:
    Type: AWS::EC2::Instance
    Properties:
      InstanceType: a1.xlarge
      ImageId: ami-deadb33f
      Tags:
      - Key: creator
        Value: BigHead
      - Key: application
        Value: NipAlert

I expect the tags 'Creator' and 'Application', not 'creator' and 'application'.