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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

azurerm_application_insights_api_key - parse API Key ID insensitively #25567

Merged
merged 4 commits into from Apr 11, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -160,7 +160,7 @@ func resourceApplicationInsightsAPIKeyRead(d *pluginsdk.ResourceData, meta inter
ctx, cancel := timeouts.ForRead(meta.(*clients.Client).StopContext, d)
defer cancel()

id, err := apikeys.ParseApiKeyID(d.Id())
id, err := apikeys.ParseApiKeyIDInsensitively(d.Id())
stephybun marked this conversation as resolved.
Show resolved Hide resolved
if err != nil {
return err
}
Expand Down Expand Up @@ -203,7 +203,7 @@ func resourceApplicationInsightsAPIKeyDelete(d *pluginsdk.ResourceData, meta int
ctx, cancel := timeouts.ForDelete(meta.(*clients.Client).StopContext, d)
defer cancel()

id, err := apikeys.ParseApiKeyID(d.Id())
id, err := apikeys.ParseApiKeyIDInsensitively(d.Id())
stephybun marked this conversation as resolved.
Show resolved Hide resolved
if err != nil {
return err
}
Expand Down