Comments (3)
@sampritavh here is an example of how we handle dependancies via CFN. Let me know if that solves what you are trying to accomplish
Example https://github.com/aws-quickstart/quickstart-linux-bastion/blob/master/templates/linux-bastion-master.template#L306
CFN has the ability to enforce resource dependancies.
The example makes sure that the VPCStack completes before the App Stack launches. The main reason we suggest leveraging CFN vs. building in taskcat test dependancies is because users that execute the CFN will need to make sure that they deploy the stacks in order. If you wrap the template in a master using CFN nesting its programmatically handled.
If the user is deploying into an existing VPC they can simply deploy the app template and pass in the subnets that already exists.
Setting the resource order using DependsOn will also effect the order that CFN (inherently taskcat )deletes resources.
Let me know you thoughts.
from taskcat.
@sampritavh any thoughts?
from taskcat.
@avattathil Thanks for the example. We could definitely do this.
We will try the approach that you have suggested and will get back to you if we some across any potential issues.
from taskcat.
Related Issues (20)
- Replace `has_calls` with `assert_has_calls`
- TemplateURL parsing error: maximum recursion depth exceeded while calling a Python object
- Empty .taskcat_overrides.yml file causes ValidationError HOT 1
- SQS: Resource dependencies are not circular
- Can't install taskcat 0.9.36 on redhat 7 HOT 2
- ValueError cannot find suitable AWS partition HOT 2
- Run taskcat tests in sequential order
- Taskcat Does Not Read Credentials From Environmental Variables
- deployment failed with latest v0.9.37
- How to pass random values for certain parameter in taskcat file HOT 1
- TaskCat failing to run on k8s with contained runtime. HOT 2
- ClientError An error occurred (IllegalLocationConstraintException) when calling the ListObjectsV2 operation: The ap-east-1 location constraint is incompatible for the region specific endpoint this request was sent to
- Pyyaml 5.4.1-6.0.0 has broken half the python eco system HOT 8
- Manual Installation of v0.9.39 is installing v0.9.38 HOT 1
- Tel Aviv AWS Region not supported HOT 2
- Taskcat test clean gives a template deleted return while template hasn't fully completed deletion HOT 4
- `taskcat lint` uses all regions defined in `.taskcat.yaml` but doesn't output the region name in case of an error or warning
- Taskcat failing when Fn::ForEach exist in the template
- Cannot blacklist AZ usw1-az2 and apne1-az3
- $[taskcat_secretsmanager_] pseudo parameter does not work
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 taskcat.