Skip to content

Commit

Permalink
Merge pull request #495 from cloudify-cosmo/RD-6237-compare_configura…
Browse files Browse the repository at this point in the history
…tion-drift

RD-6237-compare_configuration-drift
  • Loading branch information
EarthmanT authored Nov 22, 2022
2 parents 43409c1 + 73c5890 commit d60b43f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
3.1.2:
- RD-6237 Calculated drift in non-JSON serializable format
3.1.1:
- RD 6213 RDS provisioned in wrong vpc.
3.1.0:
Expand Down
6 changes: 4 additions & 2 deletions cloudify_aws/common/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ def get_describe_result(self, params):
return {}

def compare_configuration(self):
return DeepDiff(self.expected_configuration,
self.remote_configuration)
result = DeepDiff(self.expected_configuration,
self.remote_configuration)
delta = utils.JsonCleanuper(result)
return delta.to_dict()

def import_configuration(self, resource_config, runtime_props):
""" Read all of the various runtime properties where we store
Expand Down
2 changes: 1 addition & 1 deletion plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins:
aws:
executor: central_deployment_agent
package_name: cloudify-aws-plugin
package_version: '3.1.1'
package_version: '3.1.2'

data_types:

Expand Down
2 changes: 1 addition & 1 deletion plugin_1_4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins:
aws:
executor: central_deployment_agent
package_name: cloudify-aws-plugin
package_version: '3.1.1'
package_version: '3.1.2'

data_types:

Expand Down
2 changes: 1 addition & 1 deletion plugin_1_5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins:
aws:
executor: central_deployment_agent
package_name: cloudify-aws-plugin
package_version: '3.1.1'
package_version: '3.1.2'
properties_description: |
Manage AWS resources.
Credentials documentation: https://docs.cloudify.co/latest/working_with/official_plugins/infrastructure/aws/#authentication-with-aws.
Expand Down
2 changes: 1 addition & 1 deletion v2_plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins:
aws:
executor: central_deployment_agent
package_name: cloudify-aws-plugin
package_version: '3.1.1'
package_version: '3.1.2'

data_types:

Expand Down

0 comments on commit d60b43f

Please sign in to comment.