skip to Main Content

PHP – Get the value of an unknown array key

Based on this result from an API "name": { "common": "Italy", "official": "Italian Republic", "nativeName": { "ita": { "official": "Repubblica italiana", "common": "Italia" } } }, Let's suppose i always want the "common" name but, depending on the country the…

VIEW QUESTION

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