Replies: 7 comments
-
Here is the poc 160ca0e |
Beta Was this translation helpful? Give feedback.
-
I do actually like to add the project path as a stack tag. If you have a lot of different Sceptre projects that have created a lot of different resources in your AWS account, it makes it easy to work backwards to figure out which Sceptre project on your machine is responsible for a specific resource in your account. So example 1 would be helpful. Example 2 specifically, not as much, since a |
Beta Was this translation helpful? Give feedback.
-
Yes, very useful. I think the use case for this is in issue #624 |
Beta Was this translation helpful? Give feedback.
-
@ngfgrant would it be possible for you to make your POC into a PR? |
Beta Was this translation helpful? Give feedback.
-
Yep I will flesh something out in the next week or so.. |
Beta Was this translation helpful? Give feedback.
-
In Sceptre 1.x I was using
Then I was able to launch the whole stack to all AWS accounts and regions by simply running the magical In Sceptre 2.x however the related I'm currently accessing the information in the path by using for example Now I could store the same information in config.yaml files but that feels wrong and could cause more duplication within the nested Stack Group Config files. |
Beta Was this translation helpful? Give feedback.
-
Using the approach discussed in #638 I was able to get directory names using the following syntax:
This could be cleaner though like being able to use I can now use for example I did not find a way to get ComponentName using the Stack Config filename. I moved the Stack Config to a directory named after Component name. However for some reason using the split I can only get three first elements so I had to resort to the following uggly not scalable syntax to get the 4th item:
So in regards of this ticket it would be fun to have stack_group_path available with all parts of the path (not just 0..2). (Sceptre, version 2.2.1) |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am playing about with various things and looking to make some more information available in stack config. One thing which would be pretty easy to make available would be the SceptreContext (https://github.com/cloudreach/sceptre/blob/master/sceptre/context.py).
It is then accessible like:
I've also been able to easily add
stack_name
to the stack_configaccessible like:
Would this be useful?
Beta Was this translation helpful? Give feedback.
All reactions