Fix tags variable type for ECR module #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Description of what this PR does. What have you added or changed, and why? If it fixes a bug or resolves a feature request, be sure to link to that issue.
Issue
In the version v=0.5.1, ECR module's
tags
variable didn't has any variable type defined but in the v=0.6.0, thetype=object
has added. This is broken with new version of terraform as it requires object type variables to have specific key:value pairs. Check the object type.Solution
This PR changes the
tags
type fromobject
tomap
. A map can have arbitrary key:value pairs. Check the map typeReview Checks
Please check if the PR fulfills these requirements:
Put an
x
in the boxes that apply, Remove any lines that do not applyDependencies
Add links to any pull requests or documentation related to this pull request.
N/A
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Security Considerations
Are there any other security or data concerns to be aware of?
Please discuss the security implications/considerations relevant to the proposed change.
This may include...
N/A
Types of change
What kind of change does this Pull Request introduce?
Put an
x
in the boxes that applyTesting
Please include steps that the reviewer can follow in order to test the changes
tags
module to generate the tags.module.tags.default
totags
input in ECR module.