Add polling to azuread_application_registration create - #1803
Conversation
|
would be awesome to cover also "azuread_application" using this method. Thats probably the corresponding file, which also needs fixing. It seems that there are a lot more resources affected by this issue, though. |
|
Could also put in a similar fix for issue Timed out whilst waiting for new service principal to be replicated in Azure |
|
I Forked this repo, Applied this fix, and published it to the Terraform Registry and it doesn't seem to fix the issue unless I'm missing something. https://registry.terraform.io/providers/jasonhurst/azuread/latest (use v3.7.3 for this fix alone. v3.7.5 was an attempt to also fix the SPN creation) Here are the changes I made: jasonhurst/terraform-provider-azuread@v3.7.0...v3.7.2 Here is the error I get (which I believe is the same error for the azurad_applicaiton_registration that you receive when using the official provider.) |
|
Hi @jasonhurst , It seems you're still using the hashicorp azuread instead your own forked provider. |
Community Note
Description
Resolves #1802
Changes to existing Resource / Data Source
Testing
I verified this works by manually testing.
Change Log
Below please provide what should go into the changelog (if anything) conforming to the Changelog Format documented here.
azuread_application_registration- resouce uses polling during the creation to prevent create failures [Unable to create azuread_application_registration with service principal credentials #1802]This is a (please select all that apply):
Related Issue(s)
Fixes #1802
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the provider.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
Note
If this PR changes meaningfully during the course of review please update the title and description as required.