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

Allow var access_logs_enabled = false without having to set a bucket id #87

Merged
merged 4 commits into from
Apr 15, 2021
Merged

Allow var access_logs_enabled = false without having to set a bucket id #87

merged 4 commits into from
Apr 15, 2021

Conversation

joe-niland
Copy link
Sponsor Member

@joe-niland joe-niland commented Apr 15, 2021

what

  • Set the bucket value in alb access_logs block differently to allow empty values to be set for bucket ids when access logs are disabled

why

  • The current implementation generates a Terraform error if access logs are disabled, and bucket id is not set (due to the fact that coalesce() requires at least one non-null, non-empty element

references

  • None

@joe-niland joe-niland requested review from a team as code owners April 15, 2021 03:42
@joe-niland joe-niland requested review from dotCipher and RothAndrew and removed request for a team April 15, 2021 03:42
@joe-niland
Copy link
Sponsor Member Author

/test all

jamengual
jamengual previously approved these changes Apr 15, 2021
@joe-niland
Copy link
Sponsor Member Author

/test all

@joe-niland joe-niland merged commit ab91a3e into cloudposse:master Apr 15, 2021
@joe-niland joe-niland deleted the fix-access-logs-disabled branch April 15, 2021 21:54
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.

None yet

3 participants