Git Product home page Git Product logo

Comments (2)

kazuhitogo avatar kazuhitogo commented on September 25, 2024 1

ご提案ありがとうございます。
Dev/Stage/Prod で分けたいというのはよくあるご要望かつ内部でもよく議論になるのですが、利用者によって Dev/Stage/Prod の使い方が違い過ぎるため(例えば Dev 1つ取ってもおっしゃっているように Kendra を使わないパターンもあれば、Developer Edition で使って Prod で Enterprise Edition にしたい、など)、このリポジトリ内でそれを表現しようとするとパターンの網羅でコードが複雑に爆発してしまう、という問題があります。(あとは dev/stage/prodでアカウントが違う場合は Profile も変えないと…などといったケースもあり)
ですので、現実解は利用者の皆様での個別最適だと考えています。
例えば、 開発環境ではコスト削減のためにKendraを利用しない構成 であれば、npm run cdk:deploy -- -c env=dev のようにデプロイして、コード内で env = app.node.tryGetContext("env") のように引数を受け取れるので、あとは Kendra の Stack を env=='dev' の場合は作らない、といった分岐処理で対応がある程度可能かと思います。

from generative-ai-use-cases-jp.

danishi avatar danishi commented on September 25, 2024

丁寧にご説明いただきありがとうございますmm
理解、納得いたしました!独自に分岐処理を作り込もうと思います。

from generative-ai-use-cases-jp.

Related Issues (20)

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.