Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,\
Expand Down
7 changes: 1 addition & 6 deletions terraform/bootstrap/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
Expand Down