Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Correct EFS mount and correct listener authentication when value is not provided #368

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

bryantbiggs
Copy link
Member

Description

  • Correct EFS mount
  • Replace the https listeners authenticate_cognito and authenticate_oidc with an overriding argument of https_listener where those values can be provided by users

Motivation and Context

  • Resolves EFS Volumes not getting mounted #367
  • Currently, when you deploy the module and values are not provided to one or both of authenticate_cognito or authenticate_oidc of the HTTPs listener, Terraform throws an error that a default action was not provided. This is because the argument keys are provide, but not values, and the underlying ALB module is only checking to see if the key is present to determine if it should create the associated configuration. This must have been a late change on v9.0 that wasn't caught, because the module currently does not work as intended

Breaking Changes

  • Technically, yes due to the change to authenticate_cognito and authenticate_oidc but since I cannot deploy the module as its written today and this is on the back of a major release I believe a patch release is sufficient

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

not provided

Signed-off-by: Bryant Biggs <bryantbiggs@gmail.com>
@bryantbiggs bryantbiggs merged commit e031208 into terraform-aws-modules:master Nov 10, 2023
9 checks passed
antonbabenko pushed a commit that referenced this pull request Nov 10, 2023
### [4.0.1](v4.0.0...v4.0.1) (2023-11-10)

### Bug Fixes

* Correct EFS mount and correct listener authentication when value is not provided ([#368](#368)) ([e031208](e031208))
@antonbabenko
Copy link
Member

This PR is included in version 4.0.1 🎉

@bryantbiggs bryantbiggs deleted the fix/efs-mount branch November 10, 2023 11:45
@danielpops
Copy link

danielpops commented Nov 16, 2023

Nice, I came here to report the cognito/oidc bug in 4.0.0. thanks for fixing it before I could even report it :)

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 Dec 17, 2023
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.

EFS Volumes not getting mounted
3 participants