Navigation Menu
Search code, repositories, users, issues, pull requests..., provide feedback.
We read every piece of feedback, and take your input very seriously.
Saved searches
Use saved searches to filter your results more quickly.
To see all available qualifiers, see our documentation .
- Notifications You must be signed in to change notification settings
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
importing azurerm_pim_eligible_role_assignment fails with resource not existant #23111
tim-krehan commented Aug 29, 2023
- ๐ 27 reactions
xuzhang3 commented Sep 5, 2023
Sorry, something went wrong.
tim-krehan commented Sep 5, 2023
- ๐ 1 reaction
audunsolemdal commented Sep 6, 2023
- ๐ 4 reactions
xuzhang3 commented Sep 6, 2023
unique-dominik commented Oct 11, 2023
Audunsolemdal commented oct 11, 2023.
braun-daniel commented Oct 20, 2023
MohnJadden commented Oct 24, 2023
Unique-dominik commented oct 25, 2023.
- ๐ 1 reaction
Scarlettliuyc commented Nov 23, 2023
Tim-krehan commented nov 23, 2023.
smokedlinq commented Dec 15, 2023
- ๐ 3 reactions
spectrum048k commented Dec 19, 2023
Unique-dominik commented dec 19, 2023, xuzhang3 commented dec 19, 2023 • edited loading, xuzhang3 commented dec 19, 2023, mohnjadden commented dec 19, 2023.
- ๐ 1 reaction
kristeey commented Mar 4, 2024 • edited Loading
Xuzhang3 commented mar 5, 2024, kristeey commented mar 5, 2024, spectrum048k commented mar 6, 2024, xuzhang3 commented mar 6, 2024 • edited loading, kristeey commented mar 6, 2024 • edited loading.
- ๐ 1 reaction
- ๐ 1 reaction
jakubslonxlab commented Mar 7, 2024
Unique-dominik commented mar 7, 2024.
lahiruperamune commented Mar 14, 2024
Unique-dominik commented mar 18, 2024.
TeamDman commented Mar 22, 2024
- ๐ 2 reactions
TeamDman commented Mar 25, 2024
However, the azure portal interface doesn't use the justification or ticketInfo fields in any obvious capacity
I tried creating a new PIM eligibility from the portal and it did create a new entry in roleEligibilityScheduleRequests, but it didn't include the justification field at all and it set "ticketInfo": {} .
It's likely that recreating the assignments I want to import would also create the entries that would let the import succeed... but that's a pain. Perhaps there's a middle ground?
If the roleEligibilitySchedules entry exists but the roleEligibilityScheduleRequests entry it references does not exist, I would rather it default-value the justification and ticketInfo fields instead of fail the import entirely, considering that the first request has the necessary info to proceed except for those fields.
I believe this is the relevant source code
terraform-provider-azurerm/internal/services/authorization/pim_eligible_role_assignment_resource.go
Lines 284 to 304 in dcf3258
https://github.com/hashicorp/go-azure-sdk/blob/main/resource-manager/authorization/2020-10-01/roleeligibilityschedulerequests/method_get.go
I found this regex useful to censor info in vscode
J0F3 commented Apr 30, 2024 • edited Loading
Mohnjadden commented apr 30, 2024, j0f3 commented apr 30, 2024.
manicminer commented May 14, 2024 • edited Loading
Mohnjadden commented may 14, 2024, manicminer commented may 15, 2024.
github-actions bot commented Jun 15, 2024
Successfully merging a pull request may close this issue.
IMAGES
VIDEO