Hello. I have a doubt regarding the self backend, ...
# general
i
Hello. I have a doubt regarding the self backend, I am currently using pulumi cloud to store and manage my stacks, but I am wanting to migrate to s3. I am doing it following the documentation, with the pulumi cli. https://www.pulumi.com/docs/iac/concepts/state-and-backends/#advanced-state When exporting, it generates a JSON, just like the documentation says. But I have a doubt about how it reads the resources associated to that stack. Example I have a project that has 110 resources associated, but at the moment of importing it to s3 it appears that it does not have associated resources. Why is this? As far as I can understand, the export and import only reads what I have in the
Pulumi.yaml
and not in the
index.ts
where I have all the logic of my resources, can it be?
Solved
c
How did you solve it @important-bird-38182? I need to do this very soon.
i
In my case I checked and realized that the json had been generated wrong, that the resources were not included. All I did was to recreate the
pulumi.yaml
and it ran fine.