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: elb_logs_prefix should be string not list(string) #319

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

esacteksab
Copy link
Contributor

When attempting a terraform plan encountered this error:

│ Error: Invalid template interpolation value
│
│   on .terraform/modules/bootstrap.terraform_state_bucket_logs/main.tf line 90, in locals:90:   elb_logs_path = var.elb_logs_prefix == "" ? "AWSLogs" : "${var.elb_logs_prefix}/AWSLogs"
│     ├────────────────
│     │ var.elb_logs_prefix is list of string with 1 element
│
│ Cannot include the given value in a string template: string required.

So this sets elb_logs_prefix to be a string rather than list(string).

@esacteksab esacteksab merged commit b22f7c4 into main Jan 15, 2025
1 check passed
@esacteksab esacteksab deleted the barry-elb-string branch January 15, 2025 01:16
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.

1 participant