[Bug]: Terraform apply command freezes during AWS provider initializationΒ #39523
Open
Description
Terraform Core Version
1.5.7
AWS Provider Version
5.69.0
Affected Resource(s)
n/a
Expected Behavior
'terraform apply' should continue, and ask me for confirmation before applying changes
Actual Behavior
When running `terraform apply, the process freezes during the initialization of the AWS provider. The command does not complete and requires manual termination.
Relevant Error/Panic Output Snippet
2024-09-27T13:46:40.034-0600 [DEBUG] provider.terraform-provider-aws_v5.69.0_x5: assertion failed [arm_interval().contains(address)]: code fragment does not contain the given arm address
2024-09-27T13:46:40.034-0600 [DEBUG] provider.terraform-provider-aws_v5.69.0_x5: (CodeFragmentMetadata.cpp:48 instruction_extents_for_arm_address)
Terraform Configuration Files
https://gist.github.com/law/62b9c75214c18a015c37f16285a13ba4
Steps to Reproduce
- Run
TF_LOG=debug terraform apply
(orterragrunt init
) when using the above provider - Observe that the .terraform/providers/registry.terraform.io/hashicorp/aws/5.69.0/darwin_amd64/terraform-provider-aws_v5.69.0_x5 process hangs indefinitely
Debug Output
https://gist.github.com/law/5271d0e0cd052d438a194eb50c11da63
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
Metadata
Assignees
Labels
Addresses a defect in current functionality.Pull requests that update Go codePart of the maintainer teams immediate focus. To be addressed within the current quarter.Pertains to a degraded workflow resulting from an upstream patch or internal enhancement.Addresses functionality related to the cloud provider.