awslabs / aws-service-catalog-factory

This is a framework where you define a Service Catalog portfolio, products and versions using YAML. For versions of your products you specify where the source code for them can be found and the framework publishes the portfolio, products and versions in every* AWS Region after validating, linting and testing them.
Apache License 2.0
136 stars 44 forks source link

Inactive versions are still processed by Factory #213

Open richardmilnerwatts opened 2 years ago

richardmilnerwatts commented 2 years ago

Observed Behaviour:

A stack was created in SCT Factory, with a single version (version1). This stack was iterated in a development environment, which culminated in the stack being rewritten and a second version being published (version2). In the Factory config the first version was marked as "Active: False" while the second was "Active: True".

When this Factory configuration was promoted from development to production and was executed, Factory created two build pipelines one for each version - rather than ignoring the inactive version which will never need to be built nor deployed into production.

Expected Behaviour

Inactive versions would be ignored by the Factory pipeline and no build pipelines would be created.

eamonnfaherty commented 2 years ago

At the moment inactive versions still have pipelines created but the resultant service catalog product is marked as inactive.

when creating stacks or workspaces setting active to false has no effect.