Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[New Resource] -
azurerm_postgresql_flexible_server_virtual_endpoint
(
#26708) * add virtual endpoint client to postgres client.go * expose virtual endpoint client * add resource file * build out methods * complete initial pass * all behaviors implemented * fix index error * workaround api limitation * refine behavior * remove unnecessary update or create logic * add test file * complete basic tests * fix tests * first tests pass * complete tests * fix fmt * add docs page * fix description * lock region during test * fix typo * update docs * fix timeouts * update to new format * add service to typed services list * add properties to state upon read * get rid of if/else nesting * alphabetize services lists * Update internal/services/postgres/custompollers/postgresql_flexible_server_virtual_endpoint_resource_poller.go Add context to error message Co-authored-by: stephybun <[email protected]> * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go Use built-in function for ID validation Co-authored-by: stephybun <[email protected]> * add validation to name prop * reorder services * remove test provider feature * Update website/docs/r/azurerm_postgresql_flexible_server_virtual_endpoint.html.markdown Capitalization Co-authored-by: stephybun <[email protected]> * Update website/docs/r/azurerm_postgresql_flexible_server_virtual_endpoint.html.markdown use standardized import example Co-authored-by: stephybun <[email protected]> * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go Use standard error message Co-authored-by: stephybun <[email protected]> * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go use standard pointer conversion Co-authored-by: stephybun <[email protected]> * add pointer import * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go properly exit Delete method Co-authored-by: stephybun <[email protected]> * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go use standard error message Co-authored-by: stephybun <[email protected]> * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go use standard pointer conversion Co-authored-by: stephybun <[email protected]> * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go use more explicit pointer conversion on return type Co-authored-by: stephybun <[email protected]> * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go Use consistent styling Co-authored-by: stephybun <[email protected]> * fixup * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource_test.go remove unnecessary test conditions Co-authored-by: stephybun <[email protected]> * fix fmt * add test for update * slightly tweak test for readability * rename docs page, add note * shorten resource names to avoid errors * Update internal/services/postgres/postgresql_flexible_server_virtual_endpoint_resource.go Co-authored-by: stephybun <[email protected]> --------- Co-authored-by: stephybun <[email protected]>
- Loading branch information