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

v3 doesn't export client_id export of azuread_application #1583

Open
Bouke opened this issue Dec 5, 2024 · 0 comments
Open

v3 doesn't export client_id export of azuread_application #1583

Bouke opened this issue Dec 5, 2024 · 0 comments

Comments

@Bouke
Copy link

Bouke commented Dec 5, 2024

Community Note

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

Terraform (and AzureAD Provider) Version

Terraform v1.10.1
on darwin_arm64
+ provider registry.terraform.io/hashicorp/azuread v3.0.2

Affected Resource(s)

  • azuread_application

Terraform Configuration Files

resource "azuread_application" "aws-production" {
  display_name = "AWS IdP"
  api {
    requested_access_token_version = 2
  }
}
resource "azuread_service_principal" "aws-production" {
  client_id                    = azuread_application.aws-production.client_id
  app_role_assignment_required = false
}

Expected Behavior

Works like application_id in v2.

Actual Behavior

╷
│ Error: Missing required argument
│ 
│   with azuread_service_principal.aws-production,
│   on main.tf line 1196, in resource "azuread_service_principal" "aws-production":
│ 1196:   client_id                    = azuread_application.aws-production.client_id
│ 
│ The argument "client_id" is required, but no definition was found.
╵
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant