Skip to content

Conversation

@iNoahNothing
Copy link
Contributor

Signed-off-by: Noah Krause krausenoah@gmail.com

Description

The aws_lb_listener_certificate resource expects the var to have fields https_listener_index and certificate_arn. Type list(map(string))) does not support passing in an object that sets these fields correctly

Motivation and Context

Currently, you cannot set extra_ssl_certs correctly since the type does not support setting the required fields

Breaking Changes

None

How Has This Been Tested?

  • I have updated at least one of the examples/* to demonstrate and validate my change(s)
  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

…expected in the module

The `aws_lb_listener_certificate` resource expects the var to have fields `https_listener_index` and `certificate_arn`. Type `list(map(string)))` does not support passing in an object that sets these fields correctly

Signed-off-by: Noah Krause <krausenoah@gmail.com>
@iNoahNothing iNoahNothing changed the title fix: the variable type for 'extra_ssl_certs' does not match the type expected in the module Fix type of extra certificate var in module to match type expected in does not resource Oct 5, 2022
@iNoahNothing iNoahNothing changed the title Fix type of extra certificate var in module to match type expected in does not resource Fix type of extra certificate var in module to match type expected in resource Oct 5, 2022
@iNoahNothing iNoahNothing changed the title Fix type of extra certificate var in module to match type expected in resource fix: type of extra certificate var in module to match type expected in resource Oct 5, 2022
@iNoahNothing iNoahNothing changed the title fix: type of extra certificate var in module to match type expected in resource fix: Matched type of extra certificate var in module to type expected in resource Oct 6, 2022
@iNoahNothing
Copy link
Contributor Author

@antonbabenko Anything else you need to see from me to land this?

Copy link
Member

@antonbabenko antonbabenko left a comment

Choose a reason for hiding this comment

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

Thanks for adding examples of usage of extra_ssl_certs, but the variable type was correct.

@antonbabenko antonbabenko merged commit 144af83 into terraform-aws-modules:master Oct 28, 2022
antonbabenko pushed a commit that referenced this pull request Oct 28, 2022
### [8.1.1](v8.1.0...v8.1.1) (2022-10-28)

### Bug Fixes

* Matched type of extra certificate var in module to type expected in resource ([#259](#259)) ([144af83](144af83))
@antonbabenko
Copy link
Member

This PR is included in version 8.1.1 🎉

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants