timeouts block not working in 0.12.24 #17800
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ec2
Issues and PRs that pertain to the ec2 service.
resource "aws_ec2_client_vpn_network_association" "vpn_network_association" {
count = length(var.subnet_ids)
client_vpn_endpoint_id = aws_ec2_client_vpn_endpoint.client_vpn_endpoint.id
....
timeouts {
create = "60m"
delete = "60m"
}
}
I get this error:
Error: Unsupported block type
on .terraform/modules/cvpn/okta_vpn_module/main.tf line 35, in resource "aws_ec2_client_vpn_network_association" "vpn_network_association":
35: timeouts {
Blocks of type "timeouts" are not expected here.
I thought timeouts are supported in Terraform resource. I'm using 0.12.24.. When I try to create the Client VPN Endpoint with multiple associations and routes, ,it simply times out and fails in Apply stage in Terraform though the actual resource gets created in AWS. But since Terraform apply stage fails, I presume the state file will not be in sync with the resource created.. This is so frustrating..
Any help in this matter will be really appreciated..
The text was updated successfully, but these errors were encountered: