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_windows_web_app, azurerm_windows_function_app, azurerm_linux_function_app, azurerm_linux_web_app - support for minimum_tls_cipher_suite property #26584

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

xiaxyi
Copy link
Contributor

@xiaxyi xiaxyi commented Jul 10, 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

PR Checklist

  • I have followed the guidelines in our Contributing Documentation.
  • I have checked to ensure there aren't other open Pull Requests for the same update/change.
  • I have checked if my changes close any open issues. If so please include appropriate closing keywords below.
  • I have updated/added Documentation as required written in a helpful and kind way to assist users that may be unfamiliar with the resource / data source.
  • I have used a meaningful PR title to help maintainers and other users understand this change and help prevent duplicate work.
    For example: “resource_name_here - description of change e.g. adding property new_property_name_here

Changes to existing Resource / Data Source

  • I have added an explanation of what my changes do and why I'd like you to include them (This may be covered by linking to an issue above, but may benefit from additional explanation).
  • I have written new tests for my resource or datasource changes & updated any relevent documentation.
  • I have successfully run tests with my changes locally. If not, please provide details on testing challenges that prevented you running the tests.
  • (For changes that include a state migration only). I have manually tested the migration path between relevant versions of the provider.

Testing

  • My submission includes Test coverage as described in the Contribution Guide and the tests pass. (if this is not possible for any reason, please include details of why you did or could not add test coverage)

Change Log

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

  • azurerm_windows_web_app, azurerm_windows_function_app, azurerm_linux_function_app, azurerm_linux_web_app - support for theminimum_tls_cipher_suite property.

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 #24223

Note

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

@xiaxyi xiaxyi changed the title azurerm_windows_web_app, azurerm_windows_function_app, azurerm_linux_function_app, azurerm_linux_web_app - add minimum_tls_cipher_suite property azurerm_windows_web_app, azurerm_windows_function_app, azurerm_linux_function_app, azurerm_linux_web_app - support for minimum_tls_cipher_suite property Jul 10, 2024
@github-actions github-actions bot added size/XL and removed size/L labels Jul 10, 2024
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 @xiaxyi - This looks good, but we'll end up with the related slot resources out of step, can you either add the same property there, or open a 2nd PR with those in so we can merge it all together?

Thanks

@xiaxyi
Copy link
Contributor Author

xiaxyi commented Aug 7, 2024

Thanks @jackofallops for the review! Added the property to the slot in this pr. Let me know if anything needed.

@Tolbin400
Copy link

@xiaxyi @jackofallops what outstanding items are there before the pr can be approved for release?

@DempseySbaiz
Copy link

Any updates on this please, our client is asking for this feature.
The change request has been addressed in the PR.

@serakis
Copy link

serakis commented Oct 21, 2024

Also interested to get this feature! Any news on the progress?

@katbyte katbyte requested review from katbyte and a team as code owners November 14, 2024 00:08
@rmcolbert
Copy link

Thanks @xiaxyi - This looks good, but we'll end up with the related slot resources out of step, can you either add the same property there, or open a 2nd PR with those in so we can merge it all together?

Thanks

@jackofallops, Code for slots was added in August. Is there anything else you wanted updated?

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.

Hi @xiaxyi - Thanks for making those changes. I've left one comment below regarding what appears to be a copy-paste error if you can take a look. Also, some tests are now failing with errors of the following type:

        unexpected status 400 (400 Bad Request) with response:
        {"Code":"BadRequest","Message":"Tls13 does not support re-negotiation. Please
        either disable ClientCert, or set ClientCertMode to Application or Required
        (without exclsuion paths).","Target":null,"Details":[{"Message":"Tls13 does
        not support re-negotiation. Please either disable ClientCert, or set
        ClientCertMode to Application or Required (without exclsuion
        paths)

(The typo in the error message there is from the API)

I'll link you the regression test run from the CI server offline.

Copy link

github-actions bot commented Jan 6, 2025

This PR is being labeled as "stale" because it has not been updated for 30 or more days.

If this PR is still valid, please remove the "stale" label. If this PR is blocked, please add it to the "Blocked" milestone.

If you need some help completing this PR, please leave a comment letting us know. Thank you!

@github-actions github-actions bot added the stale label Jan 6, 2025
…o app/props/minTlsCipherSuite

# Conflicts:
#	internal/services/appservice/linux_function_app_slot_resource_test.go
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.

Hi @xiaxyi - Thanks for the updates, looks like there's still a test that is failing due to a ForceNew change.

------- Stdout: -------
=== RUN   TestAccLinuxFunctionApp_tlsSettingUpdate
=== PAUSE TestAccLinuxFunctionApp_tlsSettingUpdate
=== CONT  TestAccLinuxFunctionApp_tlsSettingUpdate
    testcase.go:173: Step 4/12 error: Pre-apply plan check(s) failed:
        'azurerm_linux_function_app.test' - expected action to not be Replace, path: [[name]] tried to update a value that is ForceNew
--- FAIL: TestAccLinuxFunctionApp_tlsSettingUpdate (433.71s)

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 setting minTlsCipherSuite on App Service
7 participants