diff --git a/README.md b/README.md index 06a81fc..d25a034 100644 --- a/README.md +++ b/README.md @@ -400,8 +400,7 @@ administrator sets this up once: accounts. It creates the `apps` workspace in HCP Terraform, the `silvernet-infra` project with the Terraform service account and its sign-in, its rights on the apps' projects (and their display names), the - Play Console admin permission, the `terraform` environment and the - workflow's repository variables: + `terraform` environment and the workflow's repository variables: ```sh gcloud auth application-default login --scopes=openid,\ diff --git a/terraform/bootstrap/main.tf b/terraform/bootstrap/main.tf index 6ccbc5a..9166343 100644 --- a/terraform/bootstrap/main.tf +++ b/terraform/bootstrap/main.tf @@ -78,6 +78,7 @@ provider "github" { owner = "SilverNETGroupSGGW" } +# Kept so the next apply can remove the Terraform account's Play access. provider "googleplay" { developer_id = "8827645756827128332" # KN Silver .NET } @@ -227,12 +228,6 @@ resource "google_project_iam_member" "terraform" { member = google_service_account.terraform.member } -# Inviting the apps' service accounts needs the Play Console admin permission. -resource "googleplay_user" "terraform" { - email = google_service_account.terraform.email - global_permissions = ["CAN_MANAGE_PERMISSIONS_GLOBAL"] -} - resource "github_repository_environment" "terraform" { repository = data.github_repository.infra.name environment = local.environment