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

Service Accounts: enable updating Account Role via PATCH #80

Closed
parkedwards opened this issue Oct 27, 2023 · 0 comments · Fixed by #82
Closed

Service Accounts: enable updating Account Role via PATCH #80

parkedwards opened this issue Oct 27, 2023 · 0 comments · Fixed by #82
Assignees

Comments

@parkedwards
Copy link
Contributor

parkedwards commented Oct 27, 2023

Update:
Let's patch the PATCH /bots endpoint to allow modifying the account_role_id. We'll abstract this behavior in the Terraform code....or just do it directly on the existing resource


depends on #78

the PAT endpoint doesn't accept changing the account_role_id, meaning we can't actually update whatever we set upon create. rather than leave this door open, we can rely on the default value that is set when null is passed on create (which is Member), and then use the newly created prefect_account_membership or prefect_account_access resource from #78 and use that as the binder

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

Successfully merging a pull request may close this issue.

1 participant