Comments (7)
I think name
would make logical sense. Would be nice to see the option to define deployments as a dict using the name
as the key as well as supplying the deployments as a list of dicts as shown in your example.
___
deployments:
- name: global_deployments
modules:
....
OR
___
deployments:
global_deployments:
modules:
....
from runway.
I'm now thinking that modules should have explicit (and optional) names, as well.
Presumably you could group your module folders in sub-directories, so a module's path might be cfn/whatever
and that wouldn't be a great name.
from runway.
@ITProKyle Myself, I prefer maps to lists in YAML, so I like the idea.
But... deployments and modules currently are processed in the order given by the list. If they are read into a dict
that ordering would be lost.
from runway.
I'm now thinking that modules should have explicit (and optional) names, as well.
Presumably you could group your module folders in sub-directories, so a module's path might be
cfn/whatever
and that wouldn't be a great name.
I think this is less of an issue then adding names to a deployment. modules already have names
since you have to define the path. If the path wouldn't be a good name for the module, then why have the module in that path to begin with?
But... deployments and modules currently are processed in the order given by the list. If they are read into a
dict
that ordering would be lost.
stacker (a dependency of runway) has logic for handling this that we may be able to reference. the example I provided are both valid formats for defining stacks
and *_hooks
.
from runway.
Agreed with the idea of adding the optional name:
property to the current deployments presuming its needed for #44 and we move forward with it.
If the path wouldn't be a good name for the module, then why have the module in that path to begin with?
The precedence for this now @ITProKyle is the staticsite modules that allowname:
to be specified to override the CFN stack names
from runway.
I would assume that with the PR merged this issue can is not Open anymore. Can we update the issue status?
from runway.
@ITProKyle - I think this issue is actually resolved. Can we close the issue out?
from runway.
Related Issues (20)
- runway tfenv failing HOT 6
- user_pool_id_retriever hook failing with ValidationError HOT 2
- [BUG] Getting error message runway fresh install TypeError: '<' not supported between instances of 'str' and 'int' HOT 1
- [REQUEST] Support for cdk8s
- [QUESTION] Is runway dead? HOT 1
- [BUG] Unable to download runway 2.6.2 from oni.ca HOT 3
- runway 2.6.2 adds --no-color if we run from TTYs HOT 2
- [QUESTION] How to use 'make deploy' in Windows HOT 1
- [BUG] TypeError: expected str, bytes or os.PathLike object, not int HOT 3
- [BUG] Unable to specify custom .tfvars location with plan HOT 1
- [BUG] terraform_backend_config -> workspace_key_prefix not supported in 2.6.3
- [BUG] pipenv lock --requirements is no longer available in new pipenv versions HOT 1
- [BUG] Pylint returning incorrect results in Github Actions HOT 2
- [REQUEST] CDK Deployments to Support Context HOT 1
- [BUG] Packaging library version 22.0 causes crash HOT 3
- [TODO] Keep lint versions in sync across poetry and precommit
- String "<inferred-change: ...>" causes yaml mapping values error
- [BUG] shutil.copytree() fails if dir exists
- [REQUEST] Harden codecov (GHA)
- [BUG] Issues when using mysqlclient==2.2.0
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.
from runway.