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

AWS Server Certificate path argument fails strconv.ParseBool #2713

Closed
zpatrick opened this issue Jul 13, 2015 · 2 comments · Fixed by #2871
Closed

AWS Server Certificate path argument fails strconv.ParseBool #2713

zpatrick opened this issue Jul 13, 2015 · 2 comments · Fixed by #2871

Comments

@zpatrick
Copy link
Contributor

Terraform v0.6.0

variable "l0_prefix" {
    default = "l0"
}

...

resource "aws_iam_server_certificate" "cert" {
    name = "${var.l0_prefix}-cert"
    path = "/layer0/${var.l0_prefix}/"
    certificate_body = "${file("cert/body.crt")}"
    private_key = "${file("cert/key.pem")}"
    certificate_chain = "${file("cert/chain.intermed")}"
}

Attempts to run terraform plan crash with the following message:

aws_iam_server_certificate.cert: cannot parse '' as bool: strconv.ParseBool: parsing "/layer0/l0/": invalid syntax
@catsby
Copy link
Contributor

catsby commented Jul 28, 2015

Thanks @zpatrick, this should be patched in #2871

@ghost
Copy link

ghost commented May 1, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

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

Successfully merging a pull request may close this issue.

3 participants