build command fails with some resource types such as AWS::IAM::ManagedPolicy
dhx-mike-palandra opened this issue · comments
$ rain --version
Rain v1.8.1 linux/amd64
$ rain build --bare AWS::S3::Bucket
AWSTemplateFormatVersion: 2010-09-09
Description: Generated by rain
Resources:
Bucket:
Type: AWS::S3::Bucket
Properties: {}
$ rain build --bare AWS::IAM::ManagedPolicy
json: cannot unmarshal array into Go struct field Prop.properties.type of type string
This should be fixed soon, I ran into this on a separate PR I've been working on.
Confirmed it's fixed on main. Not released yet.