From 23764b5e6d5c1a6e0a9bdb2ee42ec6b5c223916e Mon Sep 17 00:00:00 2001 From: Sarah French <15078782+SarahFrench@users.noreply.github.com> Date: Fri, 1 Mar 2024 12:56:45 +0000 Subject: [PATCH] Add `location_from_id` provider-defined function (#10061) * Add `location_from_id` function, tests, docs * Fix whitespace in acc test HCL config --- mmv1/third_party/terraform/fwprovider/framework_provider.go.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/mmv1/third_party/terraform/fwprovider/framework_provider.go.erb b/mmv1/third_party/terraform/fwprovider/framework_provider.go.erb index b435abbca471..88c54dbc29e4 100644 --- a/mmv1/third_party/terraform/fwprovider/framework_provider.go.erb +++ b/mmv1/third_party/terraform/fwprovider/framework_provider.go.erb @@ -305,5 +305,6 @@ func (p *FrameworkProvider) Functions(_ context.Context) []func() function.Funct return []func() function.Function{ functions.NewProjectFromIdFunction, functions.NewRegionFromZoneFunction, + functions.NewLocationFromIdFunction, } } \ No newline at end of file