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

Documentation 'type' is required for azuread_application_permission_scope but doesn't appear in example usage #1405

Open
DevopsMercenary opened this issue Jun 11, 2024 · 0 comments

Comments

@DevopsMercenary
Copy link

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

Type is marked as required in the docs but it doesn't appear in the Example Usage. In reality, it looks like there is a default of User which should be mentioned in the docs

Terraform (and AzureAD Provider) Version

Terraform v1.8.4
on darwin_arm64

  • provider registry.terraform.io/hashicorp/azuread v2.50.0
  • provider registry.terraform.io/hashicorp/azurerm v3.104.0
  • provider registry.terraform.io/hashicorp/random v3.6.2

Affected Resource(s)

Documentation of

  • azuread_application_permission_scope

https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/resources/application_permission_scope

Terraform Configuration Files

  application_id = azuread_application_registration.default.id

  scope_id       = random_uuid.scope-id.id
  value          = "administer"

  admin_consent_description  = "Administer the application"
  admin_consent_display_name = "Administer"

Debug Output

Panic Output

Expected Behavior

Required Type is missing error message

Actual Behavior

Looks like type defaults to User

      + type                       = "User"

Steps to Reproduce

  1. terraform apply

Important Factoids

References

  • #0000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants