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

invalid or unknown key: origin_keepalive_timeout #15864

Closed
micemuni opened this issue Aug 21, 2017 · 3 comments
Closed

invalid or unknown key: origin_keepalive_timeout #15864

micemuni opened this issue Aug 21, 2017 · 3 comments
Labels
question waiting-response An issue/pull request is waiting for a response from the community

Comments

@micemuni
Copy link

micemuni commented Aug 21, 2017

We are using terraform to create AWS resources and now we want to set origin_keepalive_timeout and origin_read_timeout value 60 for both.
but i am getting error.

Errors: * aws_cloudfront_distribution.cdn-distribution: origin.0.custom_origin_config.0: invalid or unknown key: origin_read_timeout

  • aws_cloudfront_distribution.cdn-distribution: origin.0.custom_origin_config.0: invalid or unknown key: origin_keepalive_timeout
  • aws_cloudfront_distribution.cdn-distribution: origin.1.custom_origin_config.0: invalid or unknown key: origin_keepalive_timeout
  • aws_cloudfront_distribution.cdn-distribution: origin.1.custom_origin_config.0: invalid or unknown key: origin_read_timeout

Terraform version 0.8.8

Code

origin {
origin_id = "${var.origin_id}"
domain_name = "${var.domain_name}"

custom_origin_config {
  http_port              = 80
  https_port             = 443
  origin_protocol_policy = "http-only"
  origin_ssl_protocols   = ["TLSv1", "TLSv1.1", "TLSv1.2"]
  origin_keepalive_timeout	= 60
  origin_read_timeout		= 60
}

}

@tombuildsstuff
Copy link
Contributor

Hey @micemuni

Thanks for opening this issue :)

From what I can see this property was only added in Terraform v0.9.5 - would it be possible to confirm if upgrading to the latest version of Terraform solves this issue?

Thanks!

@tombuildsstuff tombuildsstuff added the waiting-response An issue/pull request is waiting for a response from the community label Aug 23, 2017
@micemuni
Copy link
Author

yes, its working post upgrade the version terraform. Thank you

@ghost
Copy link

ghost commented Apr 7, 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 Apr 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question waiting-response An issue/pull request is waiting for a response from the community
Projects
None yet
Development

No branches or pull requests

2 participants