pulumi / pulumi-aws-apigateway

Apache License 2.0
10 stars 5 forks source link

aws v6 incompatible with aws-apigateway #82

Closed mnlumi closed 11 months ago

mnlumi commented 11 months ago

What happened?

While testing out pulumi/templates in this PR, there's a failing test for serverless-aws-python :

          The conflict is caused by:
              The user requested pulumi-aws==6.0.0a5
              pulumi-aws-apigateway 1.0.1 depends on pulumi-aws<6.0.0 and >=5.16.2
              The user requested pulumi-aws==6.0.0a5
              pulumi-aws-apigateway 1.0.0 depends on pulumi-aws<6.0.0 and >=5.0.0

Expected Behavior

I expect to be able to use aws-apigateway and aws v6 within the same pulumi program.

Steps to reproduce

Create a pulumi program from the serverless-aws-python template in pulumi/templates repo. Upgrade the pulumi-aws dependency to 6.0.0a5. Run pulumi up.

Output of pulumi about

pulumi/templates CI

Additional context

No response

Contributing

Vote on this issue by adding a đź‘Ť reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

rquitales commented 11 months ago

This appears to be a duplicate of pulumi/pulumi-aws#2639. Closing this in favor of discussion over there.

lukehoban commented 11 months ago

This is seperate from pulumi/pulumi-aws#2639 despite similar titles. There are two quite different fixes that will be needed.

This one most likely will need to be fixed in aws-apigateway.

mnlumi commented 11 months ago

Trying to test out v6 updates on my branch here: https://github.com/pulumi/pulumi-aws-apigateway/compare/mnlumi/awsv6-test. Need some help with the items in schema.yaml.

thomas11 commented 11 months ago

The above branch now builds and tests cleanly. All changes had to do with the specifics of referring to an alpha release, and catching up to dependency changes since p-aws-apigateway isn’t released often.

The commits are pretty logical and self-contained so you click through them to see the details. Just skip “regenerate” and “Revert accidental deletion of sdk/java/go.mod”.