aws_batch_job_definition with empty env var generates unexpected diff on each tf apply
(guaranteed reproduction😉)
#26960
Labels
bug
Addresses a defect in current functionality.
service/batch
Issues and PRs that pertain to the batch service.
Milestone
Terraform Core Version
1.3.0
AWS Provider Version
4.31.0
Affected Resource(s)
aws_batch_job_definition
Expected Behavior
There is no diff generated when doing
tf apply
if there were no changes to the resource at all.Actual Behavior
tf apply
generates a diff:Terraform Configuration Files
Steps to Reproduce
main.tf
tf init
tf apply -auto-approve
tf apply
, here you will see that there is a diffDebug Output
I wouldn't like to share the
TF_LOG=debug
, since it may contain sensitive information. The problem is easily reproducible, so it's not very important.The text was updated successfully, but these errors were encountered: