-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
ec2: Allow customizable timeouts for various resources and data sources #26121
Conversation
This functionality has been released in v4.25.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
We narrowed this down to be a specific issue with any data lookup performed on provider v4.25.0 with terraform v0.13.1. Other Terraform versions seem to be fine but this specific TF version panics with these new changes. |
Hello @YakDriver @ewbankkit I'm trying to understand what this feature does, please help. Based on the description of the linked issues and what I understood, it now should allow to "wait" for the data resource to come up and fail it won't after 20 minutes (by default). terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "4.25.0"
}
}
}
provider "aws" {
region = "us-east-1"
}
resource "aws_vpc" "this" {
cidr_block = "10.0.0.0/16"
tags = {
Name = "test"
}
}
data "aws_vpc" "this" {
filter {
name = "tag:Name"
values = ["test"]
}
} ➜ test git:(master) ✗ terraform --version
Terraform v1.2.7
on darwin_amd64
+ provider registry.terraform.io/hashicorp/aws v4.25.0
➜ test git:(master) ✗ terraform plan
data.aws_vpc.this: Reading...
╷
│ Error: no matching EC2 VPC found
│
│ with data.aws_vpc.this,
│ on main.tf line 23, in data "aws_vpc" "this":
│ 23: data "aws_vpc" "this" {
│ |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #26026
Closes #11342
Closes #16500
Closes #15921
Output from acceptance testing: