Skip to content

Commit

Permalink
Merge pull request #827 from GoogleCloudPlatform/lcaggio/artifact-jit
Browse files Browse the repository at this point in the history
Project module: Add Artifactregistry Service Identity SA creation.
  • Loading branch information
lcaggio authored Sep 20, 2022
2 parents 2425ca6 + bdb9086 commit 0bdcaf9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ module "data-platform" {
prefix = "myprefix"
}
# tftest modules=42 resources=314
# tftest modules=42 resources=315
```

## Customizations
Expand Down
1 change: 1 addition & 0 deletions modules/project/service-accounts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ locals {
}
)
service_accounts_jit_services = [
"artifactregistry.googleapis.com",
"cloudasset.googleapis.com",
"gkehub.googleapis.com",
"pubsub.googleapis.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def test_resources(e2e_plan_runner):
"Test that plan works and the numbers of resources is as expected."
modules, resources = e2e_plan_runner(FIXTURES_DIR)
assert len(modules) == 41
assert len(resources) == 313
assert len(resources) == 314
2 changes: 1 addition & 1 deletion tests/blueprints/gke/binauthz/test_plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ def test_resources(e2e_plan_runner):
"Test that plan works and the numbers of resources is as expected."
modules, resources = e2e_plan_runner()
assert len(modules) == 13
assert len(resources) == 42
assert len(resources) == 43

0 comments on commit 0bdcaf9

Please sign in to comment.