We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Terraform version: v1.0.11 HCP provider version: v0.41.0
data "hcp_azure_peering_connection" "peering" { hvn_link = var.hvn.self_link peering_id = hcp_azure_peering_connection.peering.peering_id wait_for_active_state = true }
terraform apply
ACTIVE
I expect the hcp_azure_peering_connection to keep retrying until it reaches the defined timeout, 35 minutes.
hcp_azure_peering_connection
The hcp_azure_peering_connection always times out after 20 minutes, even if we set a lower bound timeout of 1m explicitly in the Terraform file.
1m
I believe the issue might be in the Terraform SDK, and have opened an issue there: hashicorp/terraform-plugin-sdk#1038
I am writing this issue to track it explicitly for the HCP terraform provider.
The text was updated successfully, but these errors were encountered:
print debugging backs up the above. The d.Timeout(schema.TimeoutRead) calls isn't returning 35min:
d.Timeout(schema.TimeoutRead)
func dataSourceAwsNetworkPeeringRead(ctx context.Context, d *schema.ResourceData, meta interface{}) diag.Diagnostics { ... fmt.Printf("timeout: %s, deadline: %s\n", d.Timeout(schema.TimeoutRead), dead) } timeout: 20m0s, deadline: 2022-08-23 15:08:21.316558 +0200 CEST m=+1284.322956001
Sorry, something went wrong.
Thanks for investigating this! I'll follow up with the plugin SDK team and see if we can get a fix for the upstream bug.
Resolved by #389 using workaround suggested in hashicorp/terraform-plugin-sdk#1041
No branches or pull requests
Terraform Version and Provider Version
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
terraform apply
ACTIVE
stateExpected Behavior
I expect the
hcp_azure_peering_connection
to keep retrying until it reaches the defined timeout, 35 minutes.Actual Behavior
The
hcp_azure_peering_connection
always times out after 20 minutes, even if we set a lower bound timeout of1m
explicitly in the Terraform file.References
I believe the issue might be in the Terraform SDK, and have opened an issue there: hashicorp/terraform-plugin-sdk#1038
I am writing this issue to track it explicitly for the HCP terraform provider.
Community Note
The text was updated successfully, but these errors were encountered: