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

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠