I'm trying `local.File` and it can create the fil...
# general
m
I'm trying
local.File
and it can create the file, but when there is a change in
content
it will delete the file and not create it again, every time I run
pulumi up
it says it will replace it and it "succeeds" but the file it's not created, and running
pulumi up
again will trigger the replace again. Any idea on how to fix this?
Copy code
import pulumi_local as local 
manifest = local.File(
    "store-demo-cert-manager",
    content=store_demo_cert_manager.yaml,
    filename=os.path.join(
        os.path.dirname(__file__),
        "compiled_manifest",
        "store_demo_gateway_cert_manager.yaml",
    ),
)