We noticed this while we were trying to synchronize our state with what we had live in Fastly and ran into issue with the provider not finding the configuration we had in place while we had the right ID referenced. Turns out it searches by the name, which isn't optimal since that could change and be subject to encoding issues. Could it be replaced with using the ID to find the configuration?
|
return diag.Errorf("your query returned no results. Please change your search criteria and try again.") |
We noticed this while we were trying to synchronize our state with what we had live in Fastly and ran into issue with the provider not finding the configuration we had in place while we had the right ID referenced. Turns out it searches by the name, which isn't optimal since that could change and be subject to encoding issues. Could it be replaced with using the ID to find the configuration?
terraform-provider-fastly/fastly/data_source_fastly_tls_configuration.go
Line 132 in 8b9e78e