Provider uses name of TLS configuration rather than ID to find
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?
https://github.com/fastly/terraform-provider-fastly/blob/8b9e78e8e4b6c4e2cc1c7860fb5edfdfa45aa4a3/fastly/data_source_fastly_tls_configuration.go#L132
0 条评论