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

add azurerm_iotcentral_user #24911

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

KenSpur
Copy link
Contributor

@KenSpur KenSpur commented Feb 16, 2024

#22338

  • Bug Fix
  • New Feature (ie adding a service, resource, or data source)
  • Enhancement
  • Breaking Change

@KenSpur KenSpur changed the title add azurerm_iotcentral_organization add azurerm_iotcentral_user Feb 16, 2024
@KenSpur KenSpur force-pushed the add-iotcentral-user branch from 40078fb to 067f7e4 Compare February 16, 2024 14:12
@KenSpur KenSpur marked this pull request as ready for review March 8, 2024 10:20
Copy link
Collaborator

@katbyte katbyte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pr @KenSpur - overall looks fine but i do wonder if instead of trying to create a single resource we split this up into azurerm_iotcentral_user azurerm_iotcentral_group and azurerm_iotcentral_service_pricipal?
(or azurerm_iotcentral_user_$type if that makes more sense?)

"role_id": {
Type: pluginsdk.TypeString,
Required: true,
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be validating this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replied to last comment.

Type: pluginsdk.TypeString,
Optional: true,
ForceNew: true,
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be validating this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replied to last comment.

Comment on lines 61 to 71
"email": {
Type: pluginsdk.TypeString,
Optional: true,
ForceNew: true,
},
"tenant_id": {
Type: pluginsdk.TypeString,
Optional: true,
ForceNew: true,
},
"object_id": {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we be validating these?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API documentation isn't specific about these properties, not sure if it's appropriate for us to implement our own validations

@KenSpur KenSpur marked this pull request as draft June 7, 2024 12:17
@KenSpur KenSpur marked this pull request as ready for review June 14, 2024 09:25
@KenSpur KenSpur requested a review from katbyte June 14, 2024 09:25
@katbyte katbyte requested a review from a team as a code owner November 14, 2024 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants