-
Notifications
You must be signed in to change notification settings - Fork 301
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
azuread_application: homepage can't be blank #268
Comments
@magne thanks for requesting this. I believe the current behaviour of setting a default homepage (signInUrl) might stem from supporting legacy application registrations, however I'll look further into that. We'll look at updating this to allow unsetting a homepage URL. |
Just an update, this is a sticky one as the SDK (and possibly the AAD Graph API) does not support null values for the homepage (aka signInUrl), and as per the above report, it cannot be cleared by setting to an empty string. I've opened a PR #278 to stop deriving a default value for I've opened an upstream issue Azure/azure-sdk-for-go#10463 |
Since changing the behavior of the |
This has been released in version 1.0.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azuread" {
version = "~> 1.0.0"
}
# ... other configuration ... |
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureAD Provider) Version
Terraform v0.12.26
Affected Resource(s)
azuread_application
Terraform Configuration Files
Expected Behavior
I expected the application to be created with a blank homepage (I'm creating an internal API app registration, and it doesn't have an obvious homepage).
Actual Behavior
Terraform reports an error:
Also, if I try to leave out
homepage
, terraform fails with:This happens because of the default value of
https://{name}
forhomepage
, since my app registration has a name that is unsuitable for an url.The obvious workaround is of course to set
homepage
to a valid url, but this should not be necessary.Steps to Reproduce
terraform init
terraform apply
The text was updated successfully, but these errors were encountered: