Support importing googleplay_app_iam #517
Labels
No labels
needs/linking
needs/docs
needs/research
needs/upstream
type/bug
type/external
type/feature
type/refactor
urgency
high
urgency
immediate
urgency
low
urgency
medium
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ScottyLabs/governance#517
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
googleplay_usersupportsterraform importby email, butgoogleplay_app_iamdoesn't implementImportState.When an app grant already exists outside state, for example after moving a resource address, creating it fails with
409 alreadyExists, and the only way out is to delete the grant in Play Console and recreate it.Readalready finds the grant fromuser_idandapp_id, so import could accept<email>/<package>(or the fulldevelopers/<id>/users/<email>/grants/<package>name), set those two attributes, and letReadfill in the rest.Readwould also need to populatepermissionsfrom the grant'sappLevelPermissionsso an imported resource doesn't plan a change.