This message was deleted.
# general
s
This message was deleted.
b
I guess I should have asked if that was even possible. Every doc example I've seen has defined the policy json inline.
l
You would need to read the json file. There isn't a Pulumi tool for reading from files and outputting a string: use another library for that.
You need your language's equivalent of
fs.readFileSync()
.
b
Ah perfect thanks. Managed to do it with open in python
152 Views