-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Added app_service_hybrid_connection resource and basic creation test #5330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @jackofallops, given this a quick preliminary review and its off to a great start with mostly minor comments. Generally if a property is required we should be validating it with at least NoEmptyStrings
, and ideally with regex.
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/tests/resource_arm_app_service_hybrid_connection_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/tests/resource_arm_app_service_hybrid_connection_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/tests/resource_arm_app_service_hybrid_connection_test.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the revisions @jackofallops, this is looking pretty good. I still think we should go with relay_id
to cater to users of terraform rather then those who may come from the API (we make changes like this now and then)
Other then the remaining minor comments i think this just needs docs & and complete & update tests and it'll be good to merge!
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
azurerm/internal/services/web/resource_arm_app_service_hybrid_connection.go
Outdated
Show resolved
Hide resolved
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils" | ||
) | ||
|
||
func TestAccAzureRMAppServiceHybridConnection_basic(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need to add support for & a requires import test here - see other resources for an example (this forms part of #2807)
Bug report opened on the API: Azure/azure-rest-api-specs#8108 |
renamed attribute relay_arm_uri -> relay_id wrapped servicebus call for key value in Timeouts linter fixes
Since this is currently blocked on a bug in the Azure API - I'm going to close this PR for the moment - however we'll take another look once the upstream issue's been fixed |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
plenty left to do (docs, test coverage) - but functional on a basic level