Skip to content

Conversation

@sbkok
Copy link
Collaborator

@sbkok sbkok commented Mar 11, 2021

Why?

A bug prevented the use of the resolve: intrinsic function on the first parameter in in the first parameter file.

What?

The parameters were initialized as an empty dictionary. While reading a file that does not exist would return a predefined object instead. The fix uses the later instead of an empty dictionary.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

**Why?**

A bug prevented the use of the `resolve:` intrinsic
function on the first parameter in in the first parameter file.

**What?**

The parameters were initialized as an empty dictionary.
While reading a file that does not exist would return a predefined
object instead. The fix uses the later instead of an empty dictionary.
@sbkok sbkok added this to the v3.1.2 milestone Mar 11, 2021
Copy link

@deltagarrett deltagarrett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@thomasmcgannon thomasmcgannon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@sbkok sbkok merged commit 36b2f19 into awslabs:master Mar 12, 2021
sbkok added a commit to sbkok/aws-deployment-framework that referenced this pull request Mar 12, 2021
**Fixes 🐞**

* Fix use of the `resolve:` intrinsic function on the first parameter
  in the parameter files, awslabs#336.
@sbkok sbkok mentioned this pull request Mar 12, 2021
sbkok added a commit that referenced this pull request Mar 12, 2021
**Fixes 🐞**

* Fix use of the `resolve:` intrinsic function on the first parameter
  in the parameter files, #336.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants