SungardAS / lambda-formation

A small framework for building nodejs AWS Lambda projects that are compatible with AWS CloudFormation Custom Resources
Apache License 2.0
22 stars 4 forks source link

Support resource namespaces #12

Open estahn opened 7 years ago

estahn commented 7 years ago

I would like to see support for resource namespaces similar to what Cloudformation has, e.g. Custom::Route53::HostedZone. This should be mapped to the folder lib/resources/Route53/HostedZone.

kmcgrath commented 7 years ago

Have you tried using :: in a custom name? A while back it didn't work. Still in their docs: Custom resource type names can include alphanumeric characters and the following characters: _@-.

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cfn-customresource.html#aws-cfn-resource-type-name

The - is an option I've used: Route53-HostedZone

I can try a test later, but interested if you have it working already.