This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from pulumi import automation as auto | |
import pulumi_random as random | |
# This is the pulumi program in "inline function" form | |
def pulumi_program(): | |
random.RandomString("my_rando_string", length=16, special=True) | |
def print_id_on_create(evt: auto.EngineEvent): | |
# Check if it's a ResOutputsEvent. This event is emitted after an operation on a resource has completed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: p-secret | |
runtime: nodejs | |
description: A minimal TypeScript Pulumi program |