Closed rubroboletus closed 5 months ago
Voting for Prioritization
Volunteering to Work on This Issue
Same error with terraform version 1.8.4
Same error with terraform eks module version 19.19.0 $ terraform --version Terraform v1.8.4
Same error with all terraform versions (1.6.5, 1.7.0, 1.8.3, 1.8.4...)
@rubroboletus Does it work if you add quotes around the value in your tfvars file?
cluster_version = "1.30"
From your logs, it appears that the version was interpreted as a number
2024-05-27T12:49:46.121Z [DEBUG] provider.terraform-provider-aws_v5.51.1_x5: HTTP Request Sent: http.request.header.amz_sdk_request="attempt=1; max=25" http.request.header.amz_sdk_invocation_id=6df13159-546b-420c-aebf-3106e8b18c3e http.request.header.authorization="AWS4-HMAC-SHA256 Credential=ASIA************O36U/20240527/eu-central-1/eks/aws4_request, SignedHeaders=amz-sdk-invocation-id;amz-sdk-request;content-length;content-type;host;x-amz-date;x-amz-security-token, Signature=*****" tf_aws.signing_region="" http.url=https://eks.eu-central-1.amazonaws.com/clusters/eks-dev/updates tf_req_id=a61eb5a8-4e54-9e05-21f4-a0b71827ece6 tf_rpc=ApplyResourceChange http.request.header.x_amz_security_token="*****" rpc.system=aws-api @module=aws http.method=POST http.user_agent="APN/1.0 HashiCorp/1.0 Terraform/1.6.5 (+https://www.terraform.io) terraform-provider-aws/5.51.1 (+https://registry.terraform.io/providers/hashicorp/aws) aws-sdk-go-v2/1.27.0 os/linux lang/go#1.22.2 md/GOOS#linux md/GOARCH#amd64 api/eks#1.42.4" rpc.method=UpdateClusterVersion tf_aws.sdk=aws-sdk-go-v2 aws.region=eu-central-1 http.request.header.x_amz_date=20240527T124946Z tf_mux_provider="*schema.GRPCProviderServer" tf_resource_type=aws_eks_cluster @caller=github.com/hashicorp/aws-sdk-go-base/v2@v2.0.0-beta.53/logging/tf_logger.go:45 http.request.header.content_type=application/json http.request_content_length=77 net.peer.name=eks.eu-central-1.amazonaws.com rpc.service=EKS tf_provider_addr=registry.terraform.io/hashicorp/aws
http.request.body=
| {"clientRequestToken":"054a7b3f-66c2-4b95-9d2b-59c9a1cbcfd2","version":"1.3"}
timestamp=2024-05-27T12:49:46.121Z
@ph-l Thank you, this works. Until now, we had it as a number, without quotes, but versions was without "0" at the end.
[!WARNING] This issue has been closed, meaning that any additional comments are hard for our team to see. Please assume that the maintainers will not see them.
Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed.
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.
Terraform Core Version
1.6.5
AWS Provider Version
5.51.1
Affected Resource(s)
Expected Behavior
upgrade EKS cluster version
Actual Behavior
error is issued, no upgrade of EKS cluster done
Relevant Error/Panic Output Snippet
Terraform Configuration Files
cluster.tf:
eks-dev.tfvars:
Steps to Reproduce
create cluster with version 1.29 try to upgrade to 1.30
Debug Output
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No