Skip to content
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

Include dns_records in TLS configuration when performing lookup by ID #392

Merged
merged 1 commit into from
Apr 1, 2021
Merged

Include dns_records in TLS configuration when performing lookup by ID #392

merged 1 commit into from
Apr 1, 2021

Conversation

bengesoff
Copy link
Contributor

Fixes issue #391

The fix was already in the issue so a fairly easy one. I've tested it and it works as expected.

…source

It was missing and dns_records weren't populated when using

data "fastly_tls_configuration" "configuration_by_id" {
  id = data.fastly_tls_configuration.default_configuration.id
}

but they were populated when using any other search filter. This was
because the lookup by ID used the GetCustomTLSConfiguration call in
go-fastly whereas the others used ListCustomTLSConfigurations and
filtered them locally. Therefore the former call was missing the
required flag.
@Integralist Integralist merged commit cd24eda into fastly:master Apr 1, 2021
@bengesoff bengesoff deleted the empty-tls-conf-dns-records branch April 16, 2021 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants