mu's People
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:
- Specify in
compose.yaml
, has the disadvantage of needing to keep the compose file and mu config in sync - 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.