skip to Main Content

terraform using for_each to find data source

In a aws_ssoadmin_permission_set_inline_policy ressource, i'm using a for_each to parse a list of name corresponding to my data source name. It doesn't work when using the each.key but wokring when hard coding the value inline_policy = data.aws_iam_policy_document.emobg-sso-billing-admin.json data "aws_iam_policy_document" "emobg-sso-billing-admin"…

VIEW QUESTION
Back To Top
Search