-
Notifications
You must be signed in to change notification settings - Fork 85
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
The resource "expires" after a while ... #96
Comments
@saedalavinia interesting, I wonder if it has something to do with this section in the |
Thanks for getting back to me Lyle. Specifically added this: env_name: my_env
vars: [some_vars]
var_files: [some_var_files] |
Try moving it into the resources section at |
Oh I see ... sorry ... I misread that as a misuse as opposed to debugging step. Trying ... |
It might take me a few days to get back as we haven't been able to figure out how long it takes before the resource "expires" |
FYI, before we could really test if the suggestion resolved the issue, we ran into this: So at this point, we don't know how this is going to act ... |
I believe I am currently hitting this issue as well. The pipeline runs fine until jobs expire, then it fails to find the latest version of the resource even tho we can validate that the resource is available within the Azure S3 bucket. I will try your recommendation above to add a var entry of type to the resource:
|
I've been running into this same issue though I didn't initialize realize it was because the terraform resource version list was being wiped. I am attempting to fix this by moving the |
Just today, one of our pipelines exhibited this behavior even after moving the |
Ever since we migrated the backend, we have noticed that the output of the terraform becomes unavailable after a while, as if the terraform has never run and as though the resource "expires" after sometimes.
In our pipeline, we only run (put) terraform in a very specific job. All the subsequent jobs do a "get" to get the terraform outputs and parse it for different reasons.
However, recently it seems that the subsequent jobs fail to get the resource after a while. When I click on the resource, no version of that resource is available, and if I manually run the job that does a "get" of the terraform resource, I get: "no versions satisfy passed constraints".
The s3 file is still in the bucket and therefore it should work.
Here is an example:
In this case,
use-terraform-1
,use-terraform-2
anduse-terraform-3
work for the first run of the pipeline. If sometimes pass and I want to manually triggeruse-terraform-1
,use-terraform-2
anduse-terraform-3, they will wait on some-terraform forever, indicating that no version of the resource is available. The only way to work this is to re-execute
execute-terraformagain. This also prevents
some-other-resourceto trigger the
use-terraform-3` because not all inputs are satisfied.The text was updated successfully, but these errors were encountered: