-
Notifications
You must be signed in to change notification settings - Fork 157
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
Regression - 6.33.0 AWS Batch job definition - 'Job definition name is required' #3887
Comments
Hi @Raggey thanks for posting this and I'm sorry you're hitting this regression. Could you add a quick sample program that configures JobDefinition and hits the issue? Much appreciated. |
Hi @t0yv0 , Have managed to narrow down exactly how to re-create it. (Sorry should have posted this in the original issue) Starting with the example from the docs:
We deploy this okay. Then updating something in the
Then replicates the issue:
|
Hmm. I can repro this on the latest version. What is even more interesting is that after this change subsequent pulumi up is cycling:
|
It appears there was a recent change that's likely projecting incorrectly to Pulumi hashicorp/terraform-provider-aws#37111 |
This appears to start working correctly in Pulumi after this resource is enrolled in the PlanResourceChange flag; as it fixes the ordering of diff customizer application that I think aligns it with TF behavior. Fix rolling shortly. |
…3888) Recent changes in hashicorp/terraform-provider-aws#37111 introduced a Diff customizer that leads to errors in the Pulumi version of the provider due to discrepancies in the order in which Diff customizer functions are applied between Pulumi and Terraform. This change fixes the problem by applying the experimental PlanResourceChange flag to the affected resource. Fixes #3887 A regression test is included. See also: pulumi/pulumi-terraform-bridge#1785
What happened?
Upgraded to latest version and getting an error when updating a batch job definition
Example
aws:batch:JobDefinition (dev-clustering-clustering-job-defn): error: 1 error occurred: * updating urn:pulumi:dev::clustering::aws:batch/jobDefinition:JobDefinition::dev-clustering-clustering-job-defn: 1 error occurred: * deleting Batch Job Definition (): ClientException: Error executing request, Exception : Job definition name is required.
Output of
pulumi about
`CLI
Version 3.114.0
Go Version go1.22.2
Go Compiler gc
Plugins
KIND NAME VERSION
resource aws 6.33.0
resource docker 4.5.0
language python unknown
Host
OS ubuntu
Version 22.04
Arch x86_64
`
Additional context
Reverting to 6.32.0 resolves the issue, tested on 6.32.0, 3.13.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: