-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Bug]: aws_codebuild_project queued_timeout unsupported value when using lambda compute #34376
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
My workaround until this gets fixed is to just
|
I did some testing in the AWS Console and see that if you set Compute to Lambda, you don't see the Queued timeout option. I included two screenshots below for illustration. Subsequently, I looked at what's returned by the AWS API in the TF debug log, and I can see that the TBH I am not sure how to best interpret the AWS Project data type contract. I'd need someone more experienced to comment on how to best handle this in the provider code. Knowing the observed behavior on Compute = EC2:Compute = Lambda:Sample output from AWS extracted from TF debug log:
|
with provider 5.26.0 we receive the following Error message when trying to apply with a Lambda compute platform
relevant part of the plan:
|
This functionality has been released in v5.32.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Terraform Core Version
1.6.1
AWS Provider Version
5.25.0
Affected Resource(s)
Expected Behavior
The
queued_timeout
attribute should never become set to an unsupported value, even when using Lambda as the underlying compute.Actual Behavior
The
queued_timeout
attribute does become set to an unsupported value, when using Lambda as the underlying compute.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
See the
Steps to Reproduce
section.Steps to Reproduce
queued_timeout
, like this:terraform apply
to apply the above resource. This will apply successfully.terraform plan
and see that there are no outstanding diffs.terraform apply
to lock in the above change. This will apply successfully.terraform plan
and see that it now reports a diff onqueued_timeout
, which isn't even set in the HCL:queued_timeout = 0
to the HCL to make the diff go away, then let's run another Terraform plan:Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
Using Lambda as the underlying compute is a new feature as-of 4 days ago, see https://aws.amazon.com/blogs/devops/aws-codebuild-adds-support-for-aws-lambda-compute-mode/.
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: