Closed spliskamatyshak-w3 closed 1 year ago
I am also facing this issue for our prod deployment on version 1.38.0. Did anyone found the root cause or fix for this issue?
It appears this could be related to the external provider used for the data source.
Link to relevant issue and discussion: https://github.com/hashicorp/terraform-provider-external/issues/193
Setting the hash_extra
input to an arbitrary value got around this issue.
Updating to v2.3.1
of the external provider fixed the issue for my team.
If you are obtaining the latest provider/not setting constraints, the next deployment should detect this from registry.
I ended up blowing away my repo locally and recloning before things started working again. I'm guessing ultimately, it was the external provider update that actually fixed this.
It appears it was the external provider causing this. Since that has been rectified, I'm closing this.
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.
Description
I can't honestly explain what is going on because it worked Friday and today it doesn't. I see no significant changes to anything related to this code. Already tried backing out to aws provider 4.56.0. Same exact messages.
If your request is for a new feature, please use the
Feature request
template.⚠️ Note
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
1.3.9
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
Should package the lambda as it has until today.
Actual behavior
See error above.
Terminal Output Screenshot(s)
Additional context