-
-
Notifications
You must be signed in to change notification settings - Fork 675
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
"Attempt to get attribute from null value" error #390
Comments
Cross posting from linked PR You should change your variables in your wrapper to make it work with the existing implementation. I would start with not using null and instead default to an empty list. |
Hi @bryantbiggs,
What are you suggesting I provide to the module to get it to work? |
this variable for does not match our variable for terraform-aws-alb/variables.tf Lines 195 to 199 in 5121d71
If you are running into an issue, I would suggest opening a separate issue with steps to reproduce and any error messages/details |
Description
I am attempting to create a wrapper module around this
alb
module, and as part of this am defining alisteners
var which includes a number ofobject
definitions:However the plan is failing with:
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: latest
Terraform version:
1.5.7
5.79.0
Reproduction Code [Required]
https://gist.github.com/fatmcgav/82606b5ceef39b92d08398a0b08ec0a4
Steps to reproduce the behavior:
Expected behavior
ALB should be created
Actual behavior
Terraform plan failed
Terminal Output Screenshot(s)
Additional context
Changes in #389 fix the issue
The text was updated successfully, but these errors were encountered: