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

azurerm_logic_app_standard - update resource to use go-azure-sdk and add public_network_access #27913

Merged
merged 8 commits into from
Nov 25, 2024

Conversation

stephybun
Copy link
Member

@stephybun stephybun commented Nov 6, 2024

Community Note

  • Please vote on this PR by adding a 👍 reaction to the original PR to help the community and maintainers prioritize for review
  • Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for PR followers and do not help prioritize for review

Description

  • Updates the Logic App Standard resource to use hashicorp/go-azure-sdk
  • adds the public_network_access property on the site properties level in both the resource and the data source
  • fixes the half baked documentation for resource and data source
  • To handle the behaviour described below the site_config.public_network_access_enabled property has been deprecated and public_network_access will control setting this on the site properties as well as the site_config level of the resource

The site_config.public_network_access_enabled and public_network_access properties are intertwined
My observations are:

  • setting site_config.public_network_access_enabled will also set public_network_access
  • setting public_network_access will not set site_config.public_network_access_enabled
  • site_config.public_network_access_enabled can be updated (as in API will return whatever value we send to it)
  • public_network_access can not be updated

Testing

4.x mode:
image
5.0 mode:
image

Change Log

Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.

  • azurerm_logic_app_standard - add support for the public_network_access property [GH-00000]

This is a (please select all that apply):

  • Bug Fix
  • New Feature (ie adding a service, resource, or data source)
  • Enhancement
  • Breaking Change

Related Issue(s)

Fixes #23809
Supersedes #24842

Note

If this PR changes meaningfully during the course of review please update the title and description as required.

@premaarya
Copy link

We are waiting for this feature/bug fix, any idea how long we need to wait for it to available?

@stephybun stephybun force-pushed the f/migrate-logic-app-standard branch 2 times, most recently from 9b9786d to 3e85d98 Compare November 19, 2024 15:02
Copy link
Member

@mbfrahry mbfrahry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@jackofallops jackofallops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @stephybun - just a couple minor things to check, but otherwise LGTM 🦦

internal/services/logic/logic_app_standard_data_source.go Outdated Show resolved Hide resolved
internal/services/logic/logic_app_standard_resource.go Outdated Show resolved Hide resolved
internal/services/logic/logic_app_standard_resource.go Outdated Show resolved Hide resolved
website/docs/r/logic_app_standard.html.markdown Outdated Show resolved Hide resolved
@stephybun stephybun force-pushed the f/migrate-logic-app-standard branch from c30b63a to 8043308 Compare November 25, 2024 08:42
@stephybun stephybun force-pushed the f/migrate-logic-app-standard branch from 8043308 to 98f28c3 Compare November 25, 2024 08:44
@stephybun stephybun merged commit 14e9354 into main Nov 25, 2024
32 checks passed
@stephybun stephybun deleted the f/migrate-logic-app-standard branch November 25, 2024 09:29
@github-actions github-actions bot added this to the v4.12.0 milestone Nov 25, 2024
stephybun added a commit that referenced this pull request Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for publicNetworkAccess switch
5 participants