Join Slack
Powered by
Is there an easy way to convert an object arn to a...
# general
b
busy-napkin-83700
09/22/2023, 2:55 PM
Is there an easy way to convert an object arn to a string so it can be used as part of a JSON policy Document?
m
millions-furniture-75402
09/22/2023, 2:57 PM
Are you familiar with this page?
https://www.pulumi.com/docs/concepts/inputs-outputs/
c
cuddly-nightfall-71097
09/25/2023, 7:00 AM
This is even better for that purpose:
https://www.pulumi.com/registry/packages/aws/api-docs/iam/getpolicydocument/
cuddly-nightfall-71097
09/25/2023, 7:03 AM
Otherwise there is a helper function (at least in python) to convert a dict with a mixture of values and outputs into a json text. A link above, but at more exact place:
https://www.pulumi.com/docs/concepts/inputs-outputs/#converting-outputs-to-json
Open in Slack
Previous
Next