many-house-85254
11/15/2023, 4:11 PMimport pulumi_azure as azure
from pulumi import ComponentResource
from subprocess import run
class BashCode(ComponentResource):
def __init__(self, name, opts):
super().__init__("azure:bashcode:BashCode", name, None, opts)
run(<bash command>)
bash_code = BashCode("bashcode", opts=ResourceOptions(depends_on[<the thing that should be first created in the cloud>]))
Thanks.rhythmic-orange-74390
11/15/2023, 4:23 PMmany-house-85254
11/15/2023, 6:27 PM