This message was deleted.
# general
s
This message was deleted.
b
you need somewhere to store state, so you can’t do it without logging into a backend
i
pulumi login file:///data
r
@icy-controller-6092 Thanks I tried that but it still complains that the PULUMI_ACCESS_TOKEN variable is empty or invalid. @billowy-army-68599 I understand that is the general use case of Pulumi, but is there somehow I can override it? The only thing I need at a start is to use Pulumi to generate the Json file that represents the resources in that file regardless of state. So in that case an empty state file could be used but Pulumi Automation API still complains because of the lack of an API token.
Would it be possible to add a method that enable the Pulumi Automation API to just ignore whether it can find a state file. The reason being I just want to use Pulumi Automation API to generate the JSON output from the Pulumi code by generating a list of the resources that exist in the code regardless of state in a state file/pulumi.com/cloud. I will use this raw JSON data for cloud cost estimations and the lack of this feature is obstructing me from creating this solution.
b
Feel free to open an issue
r
@billowy-army-68599 thanks I will do so 🙂
121 Views