AWS CloudFormation Macros

0

Hi AWS, I have to create multiple IAM roles and need to attach same level of IAM access (policies) to them. I am using Infrastructure-as-Code approach (CloudFormation) for the same. The approach I am using as of now is duplicated the code for IAM roles and attached the same IAM policy(ies) to all the roles but that doesn't seem to be a right approach from imperative programming point-of-view though CFN is a declarative way of deploying the infrastructure.

I believe CloudFormation Macros can be handy for such an use case but I was not able to find anything similar over the internet which can help me and also the documentation for this very topic is not that elaborative (missing actual practical examples).

Can someone from AWS team help me on that and if there is any other great alternative available please let me know but it has to be in AWS CloudFormation world.

Thanks

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ