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

Terraform crashes when using concat with more than two args #282

Closed
lbernail opened this issue Sep 9, 2014 · 3 comments
Closed

Terraform crashes when using concat with more than two args #282

lbernail opened this issue Sep 9, 2014 · 3 comments

Comments

@lbernail
Copy link

lbernail commented Sep 9, 2014

When I try to concat three strings (or vars) in a resource terraform plan crashes
Example:

provider "aws" {
    access_key  = "${var.access_key}"
    secret_key  = "${var.secret_key}"
    region      = "${var.region}"
}

resource "aws_vpc" "main" {
    cidr_block = "${concat(var.vpc_cidr_base,"-","0.0/16")}"
}

Same code with two strings or vars (cidr_block = "${concat(var.vpc_cidr_base,"0.0/16")}") works ok

Version: Terraform v0.2.1

@lbernail lbernail changed the title Terraform crashed when sing concat with more than two arg Terraform crashes when using concat with more than two args Sep 9, 2014
@mitchellh
Copy link
Contributor

Reproduced. Thanks.

@mitchellh
Copy link
Contributor

Fixed the crash, now identifying some other problems...

@mitchellh
Copy link
Contributor

Fixed!

@ghost ghost locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants