https://pulumi.com
Join Slack
This message was deleted.
s

Slackbot

almost 3 years ago
This message was deleted.
s
j
r
  • 3
  • 3
  • 80
This message was deleted.
s

Slackbot

over 3 years ago
This message was deleted.
s
m
l
  • 3
  • 3
  • 80
This message was deleted.
s

Slackbot

over 3 years ago
This message was deleted.
s
t
+3
  • 5
  • 18
  • 80
This message was deleted.
s

Slackbot

almost 4 years ago
This message was deleted.
s
s
r
  • 3
  • 2
  • 80
This message was deleted.
s

Slackbot

almost 4 years ago
This message was deleted.
s
j
j
  • 3
  • 2
  • 81
This message was deleted.
s

Slackbot

over 4 years ago
This message was deleted.
s
a
t
  • 3
  • 2
  • 80
This message was deleted.
s

Slackbot

over 4 years ago
This message was deleted.
s
s
t
  • 3
  • 19
  • 80
This message was deleted.
s

Slackbot

almost 6 years ago
This message was deleted.
Pulumi_js.js
s
p
d
  • 3
  • 8
  • 80
Hi folks, I'm trying out deploying CDK constructs with Pulumi and am running into compatibility err...
c

Cody Grant

8 months ago
Hi folks, I'm trying out deploying CDK constructs with Pulumi and am running into compatibility errors
Diagnostics:
  pulumi:pulumi:Stack (pulumi-cdk-dev):
    error: Running program 'code/pulumi-cdk/index.ts' failed with an unhandled exception:
    <ref *1> Error: This CDK CLI is not compatible with the CDK library used by your application. Please upgrade the CLI to the latest version.
    (Cloud assembly schema version mismatch: Maximum schema version supported is 38.x.x, but found 39.0.0)
I ended being able to successfully build and deploy the Fargate example in the Pulumi CDK repo. Is there a compatibility matrix of sorts I need to keep an eye on? The only obvious difference I can see is the aws-cdk-lib version being ~20 minor versions behind in the examples repo.
c
c
  • 2
  • 2
  • 79
Hi folks. I need to update bucket if it exists and create bucket if it do not exists. I have been ba...
a

Akhil Lawrence

over 1 year ago
Hi folks. I need to update bucket if it exists and create bucket if it do not exists. I have been banging my head for a while but was not able to make any progress
import pulumi
import pulumi_aws as aws


existing_bucket = aws.s3.get_bucket(bucket="my-bucket")


modified_or_new_bucket = aws.s3.Bucket(
    "997911f256644644a1cc1c6d93d75e4fer",
    bucket="my-bucket",
    acl="private",
    opts=pulumi.ResourceOptions(import_=existing_bucket.id),
)

pulumi.export("Bucket", modified_or_new_bucket.arn)
This throws an error if bucket is not present. which is valid. but how to deal with this scenario
a
t
  • 2
  • 3
  • 79
Previous585960Next

Pulumi Community

No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.

Powered by