Giter VIP home page Giter VIP logo

mu's People

Contributors

rsyring avatar

Watchers

 avatar  avatar

mu's Issues

Per-environment configs

  • Need to be able to specify different config for different environments
  • Some type of list of used/approved environments. If you have the config for each, you can use that. But then for the devs, there's going to be different environment names (e.g. rsyring.meld). Maybe the environment name in that case is always "dev" but a different ident is used in the config for the special case of "dev" environment so that any objects created in AWS have the dev's preferred ident (e.g. rsyring.meld).
  • A simple app with no config for the different environs could probably give a static list of expected environment names.
  • Maybe rename "environment" in this context to "profile" to avoid overloading "environment"

Environment variables for a local invoke

Environment variables are set during deploy which doesn't happen when testing locally in docker. Options:

  1. Specify in compose.yaml, has the disadvantage of needing to keep the compose file and mu config in sync
  2. Give mu a command to run the target app in docker instead of using docker compose up ... and then the env vars can be set as part of that process.

Provision fails on first attempt

  File "/home/rsyring/projects/mu-pkg/mu/libs/anon.py", line 88, in provision
    self.provision_repo(env_name, role_arn)
  File "/home/rsyring/projects/mu-pkg/mu/libs/anon.py", line 81, in provision_repo
    self.repos.ensure(self.repo_name(env), role_arn)
  File "/home/rsyring/projects/mu-pkg/mu/libs/ecr.py", line 209, in ensure
    self.ecr.set_repository_policy(
  File "/home/rsyring/.local/pipx/venvs/mu/lib/python3.11/site-packages/botocore/client.py", line 553, in _api_call
    return self._make_api_call(operation_name, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rsyring/.local/pipx/venvs/mu/lib/python3.11/site-packages/botocore/client.py", line 1009, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.errorfactory.InvalidParameterException: An error occurred (InvalidParameterException) when calling the SetRepositoryPolicy operation: Invalid parameter at 'PolicyText' failed to satisfy constraint: 'Invalid repository policy provided'

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.