Closed grubernaut closed 9 years ago
It looks like the same problem of #281. [<type 'basestring'>, <class 'troposphere.Ref'>]
should allow both Ref
s and strings. Am I missing something @markpeek? Probably yes, but no time to check right now.
@grubernaut thank you for filing the issue. I reverted the change.
@philtay sorry I didn't catch this issue originally. The code here handles allowing Ref() in a non-list context. Previously a list "[]" expected type was the only thing supported without any element type checking. Later on I added the ability to check list elements as well in this commit which allows for things like: [basestring, Ref]
or [basestring, AWSHelperFn]
.
I'm unable to properly set a StringValue inside of an ObjectField resource when creating a DataPipeline.
This error gets returned from CloudFormation:
Snippit of troposphere code:
I believe this is due to @philtay's latest commit (https://github.com/cloudtools/troposphere/commit/a1957fb04118ce13f2cb37a52bc93718eed0ae41), which now expects StringValue to be an array.
If I specify the StringValue as a string and not an array, troposphere fails to build the cloudformation as well:
I could, however, be declaring the ObjectField's completely wrong.