Giter VIP home page Giter VIP logo

Comments (9)

mullermp avatar mullermp commented on September 24, 2024 1

https://github.com/aws/aws-cdk/releases/tag/v1.65.0

It looks like this is the change:

rds: DatabaseClusterProps masterUser renamed to credentials.

Luckily I think this is an easy fix. You should be able to modify that generated code and continue running it.

Alternatively, pin to an older version of CDK (1.64.0)

from aws-rails-provisioner.

mullermp avatar mullermp commented on September 24, 2024

I recall this being fixed: #14

I think maybe I didn't release a new version after the fix? Do you mind cloning the repo and migrating your rails app that way? I can also plan to re-release a new pre version.

from aws-rails-provisioner.

mullermp avatar mullermp commented on September 24, 2024

https://github.com/awslabs/aws-rails-provisioner/releases/tag/v0.0.2.rc4

I've pushed a new release that should have fixed this. Let me know if you still have troubles.

from aws-rails-provisioner.

chrisgeek avatar chrisgeek commented on September 24, 2024

OK, let me install and check

from aws-rails-provisioner.

chrisgeek avatar chrisgeek commented on September 24, 2024

I get this error now

  Object literal may only specify known properties, and 'masterUser' does not exist in type 'DatabaseClusterProps'.

42             masterUser: {
               ~~~~~~~~~~~~~
43                 username: username,
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44                 password: password
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
45             },
   ~~~~~~~~~~~~~


Found 1 error.

from aws-rails-provisioner.

mullermp avatar mullermp commented on September 24, 2024

Possibly another breaking CDK change :/

from aws-rails-provisioner.

chrisgeek avatar chrisgeek commented on September 24, 2024

This fixed the issue
rds: DatabaseClusterProps masterUser renamed to credentials.

Pinning to 1.64.0 didn't.
Thanks @mullermp

from aws-rails-provisioner.

yopaz-giapnh avatar yopaz-giapnh commented on September 24, 2024

Is this fixed? I still got the same error.

from aws-rails-provisioner.

yopaz-giapnh avatar yopaz-giapnh commented on September 24, 2024

This error occurs if using Node14, switching to node 12 works fine. But this problem needs to be fixed.

from aws-rails-provisioner.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.