This file contains 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 pulumi | |
from pulumi import ( | |
ResourceTransformationArgs, | |
ResourceTransformationResult, | |
) | |
def transformation(args: ResourceTransformationArgs): | |
new_props = args.props | |
new_props["tags"] = {"stack": "dev"} |
This file contains 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 pulumi | |
from pulumi_aws import sns, Provider | |
eu_west_provider = Provider("eu-west-provider", region="eu-west-1") | |
topic = sns.Topic( | |
"topic", name="my-topic", opts=pulumi.ResourceOptions(provider=eu_west_provider) | |
) |
This file contains 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 pulumi | |
from pulumi_aws import sns | |
topic = sns.Topic( | |
"topic", | |
name="my-topic", | |
opts=pulumi.ResourceOptions(import_="arn:aws:sns:eu-central-1:222044970743:topic") | |
) |
This file contains 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
from pulumi_aws import s3 | |
from pulumi_command import local | |
# s3.py file with a bucket and objects definition | |
s3_bucket = s3.Bucket( | |
"bucket", | |
bucket="adv-pulumi-bucket" | |
) |
This file contains 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 pulumi | |
from pulumi_aws import s3, Provider | |
provider = Provider( | |
"new", | |
region="eu-west-1", | |
opts=pulumi.ResourceOptions( | |
aliases=["urn:pulumi:dev::pulumi-advanced::pulumi:providers:aws::original"] | |
), |
This file contains 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 pulumi | |
from pulumi_aws import s3, Provider | |
provider = Provider( | |
"original", | |
region="eu-west-1", | |
) | |
s3_bucket = s3.Bucket( |
This file contains 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
{ | |
"urn": "urn:pulumi:dev::pulumi-advanced::pulumi:pulumi:Stack::pulumi-advanced-dev", | |
"custom": false, | |
"type": "pulumi:pulumi:Stack", | |
"outputs": { | |
"bucket name": { | |
"4dabf18193072939515e22adb298388d": "1b47061264138c4ac30d75fd1eb44270", | |
"ciphertext": "v1:TRPiDF8aMxhWB8jY:pj8proKkF5dO+7Q97x1m8v8d53Biwp2lpBCktnBVJlLKRk/3OSKdfzWKfkaUboZi" | |
} | |
}, |
This file contains 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 pulumi | |
from pulumi_aws import s3 | |
advanced_pulumi_bucket = s3.Bucket( | |
"advanced-pulumi-bucket", | |
opts=pulumi.ResourceOptions(additional_secret_outputs=["bucket"]), | |
) | |
pulumi.export("bucket name", advanced_pulumi_bucket.bucket) |
This file contains 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
{ | |
"urn": "urn:pulumi:dev::pulumi-advanced::pulumi:pulumi:Stack::pulumi-advanced-dev", | |
"custom": false, | |
"type": "pulumi:pulumi:Stack", | |
"outputs": { | |
"bucket name": "advanced-pulumi-bucket-96a0cc1" | |
}, | |
"sequenceNumber": 1 | |
} |
This file contains 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 pulumi | |
from pulumi_aws import s3 | |
advanced_pulumi_bucket = s3.Bucket("advanced-pulumi-bucket") | |
pulumi.export("bucket name", advanced_pulumi_bucket.bucket) |
NewerOlder