Join Slack
Powered by
This message was deleted.
# general
s
sparse-intern-71089
11/06/2022, 9:49 PM
This message was deleted.
b
blue-jelly-98553
11/06/2022, 9:49 PM
I guess I should have asked if that was even possible. Every doc example I've seen has defined the policy json inline.
l
little-cartoon-10569
11/06/2022, 10:55 PM
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.
little-cartoon-10569
11/06/2022, 10:56 PM
You need your language's equivalent of
fs.readFileSync()
.
b
blue-jelly-98553
11/06/2022, 11:00 PM
Ah perfect thanks. Managed to do it with open in python
152
Views
Open in Slack
Previous
Next