New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cf.dereference() #13
Comments
I got the logic working here, but there's an extremely tedious busywork step that remains. In order to dereference Resource types, and an example of the Return Values section. I wrote an HTML scraper, scraped the docs and built a JSON file that isolates the text from I think I'll just have to prioritize and chip away at the types over time. |
@k-mahoney @ianshward for your purposes, how accurate do resource dereferences need to be? For example, let's say my resource defines an SQS queue. { "Fn::GetAtt" :["MyQueue", "QueueName"] } This is supposed to give you the name of the queue. If the JSON defining the queue itself included a
Most of the time, resources don't let you assign a Is this important for your use case? |
Thanks again for taking this on @rclark! Still working through wrapping my head around #14. The dereferencing function as it stands should work well with our proposed use case and the changes we need to make for testing. I don't think expanding coverage for all the assorted resource attributes is critical at this juncture, but I'm happy to contribute on that front if I can. Hadn't considered the issue of attempting to reference specific IDs generated upon deployment prior to doing so, that's an interesting problem... not a requirement for our use case though. |
We moved in other directions here. |
A method that would take:
AWS::StackName
Would return the template with all psuedo parameters and intrinsic functions dereferenced.
cc @ianshward @k-mahoney
The text was updated successfully, but these errors were encountered: