{"published":"2025-03-12 11:45:32","description":"This post summarizes how to use !FindInMap inside !Sub in AWS CloudFormation. Introduction Using !FindInMap Inside !Sub Conclusion References Introduction CloudFormation's !Sub is a function that substitutes values into a string, while !FindInMap retrieves values from Mappings. (!Sub is a shorthand \u2026","version":"1.0","provider_url":"https://hatena.blog","width":"100%","type":"rich","title":"Using !FindInMap Inside !Sub | CloudFormation","categories":["AWS","IaC","CloudFormation","Cloud"],"blog_url":"https://en.bioerrorlog.work/","height":"190","provider_name":"Hatena Blog","author_name":"BioErrorLog","blog_title":"BioErrorLog Tech Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fen.bioerrorlog.work%2Fentry%2Fcfn-sub-fimdinmap\" title=\"Using !FindInMap Inside !Sub | CloudFormation - BioErrorLog Tech Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/BioErrorLog/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/B/BioErrorLog/20220422/20220422084416.png","url":"https://en.bioerrorlog.work/entry/cfn-sub-fimdinmap"}