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

Support for enabling AD authentication on postgresql_flexible_server_resource without password authentication #20561

Closed
1 task done
lunalite opened this issue Feb 20, 2023 · 3 comments · Fixed by #20578
Closed
1 task done

Comments

@lunalite
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

From Azure Portal, it is possible to select Azure AD authentication only without having to specify any local administrator username and password. Instead, we are able to set an admin using Azure AD.

image

The current behavior from https://github.com/hashicorp/terraform-provider-azurerm/blob/main/internal/services/postgres/postgresql_flexible_server_resource.go#L435 hides the possibility of creating a postgresql flexible server without having to go through the process of enabling password authentication before disabling it and that is currently causing some issues.

We are currently looking to enable AD authentication without ever having to enable password authentication.

New or Affected Resource(s)/Data Source(s)

azurerm_postgresql_flexible_server

Potential Terraform Configuration

No response

References

No response

ziyeqf added a commit to ziyeqf/terraform-provider-azurerm that referenced this issue Feb 21, 2023
ziyeqf added a commit to ziyeqf/terraform-provider-azurerm that referenced this issue Feb 21, 2023
@ziyeqf
Copy link
Contributor

ziyeqf commented Feb 21, 2023

Hi @lunalite, thanks for reporting.

opened a PR (#20578) for this to allow create without enabling password authentication.

For any further question please leave comments.
Thanks.

@github-actions github-actions bot added this to the v3.45.0 milestone Feb 24, 2023
@github-actions
Copy link

This functionality has been released in v3.45.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you!

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants