Skip to content

Commit

Permalink
preparing for release
Browse files Browse the repository at this point in the history
  • Loading branch information
eamonnfaherty committed Jun 5, 2019
1 parent 945a3cf commit 6b27d34
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions servicecatalog_puppet/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ def provision_product(
f"[{launch_name}] {account_id}:{region} :: Plan created, "
f"changes: {yaml.safe_dump(response.get('ResourceChanges'))}"
)
if len(response.get('ResourceChanges')) == 0:
logger.warning(f"[{launch_name}] {account_id}:{region} :: There are no resource changes in this plan, "
f"running this anyway - your product will be marked as tainted as your CloudFormation changeset"
f"will fail but your product will be the correct version and in tact.")


logger.info(f"[{launch_name}] {account_id}:{region} :: executing changes")
service_catalog.execute_provisioned_product_plan(PlanId=plan_id)
execute_status = 'EXECUTE_IN_PROGRESS'
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setuptools.setup(
name="aws-service-catalog-puppet",
version="0.1.9",
version="0.1.10",
author="Eamonn Faherty",
author_email="[email protected]",
description="Making it easier to deploy ServiceCatalog products",
Expand Down

0 comments on commit 6b27d34

Please sign in to comment.