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

Module can't be destroyed with enabled = false #90

Closed
3h4x opened this issue May 13, 2021 · 0 comments · Fixed by #97
Closed

Module can't be destroyed with enabled = false #90

3h4x opened this issue May 13, 2021 · 0 comments · Fixed by #97

Comments

@3h4x
Copy link

3h4x commented May 13, 2021

There is one resource that's stays up and prevents it.

count = var.http_enabled && var.http_redirect != true ? 1 : 0

│ Error: error creating ELBv2 Listener (): ValidationError: A load balancer ARN must be specified
│       status code: 400, request id: f12c688c-df3a-4018-a5ae-1d2b6ac52036
│ 

Fixing it would require adding module.context.enabled to count

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 a pull request may close this issue.

1 participant