├── .github ├── release-please.yml ├── renovate.json ├── trusted-contribution.yml └── workflows │ ├── lint.yaml │ └── stale.yml ├── .gitignore ├── .kitchen.yml ├── .terraform.lock ├── CHANGELOG.md ├── CODEOWNERS ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── docs └── upgrading_to_v3.md ├── examples ├── disabled_service_accounts │ ├── main.tf │ ├── outputs.tf │ └── variables.tf ├── key_distributor │ ├── README.md │ ├── main.tf │ ├── outputs.tf │ └── variables.tf ├── multiple_service_accounts │ ├── README.md │ ├── main.tf │ ├── outputs.tf │ └── variables.tf ├── simple_sa │ ├── README.md │ ├── main.tf │ ├── outputs.tf │ └── variables.tf └── single_service_account │ ├── README.md │ ├── main.tf │ ├── outputs.tf │ └── variables.tf ├── helpers └── migrate.py ├── main.tf ├── metadata.display.yaml ├── metadata.yaml ├── modules ├── key-distributor │ ├── README.md │ ├── arch.png │ ├── files │ │ └── function │ │ │ ├── go.mod │ │ │ └── main.go │ ├── main.tf │ ├── metadata.display.yaml │ ├── metadata.yaml │ ├── outputs.tf │ ├── templates │ │ └── get-key.tpl │ ├── variables.tf │ └── versions.tf └── simple-sa │ ├── README.md │ ├── main.tf │ ├── metadata.display.yaml │ ├── metadata.yaml │ ├── outputs.tf │ ├── variables.tf │ └── versions.tf ├── outputs.tf ├── test ├── .gitignore ├── fixtures │ ├── key_distributor │ │ ├── main.tf │ │ ├── outputs.tf │ │ ├── public.asc │ │ └── variables.tf │ ├── multiple_service_accounts │ │ ├── main.tf │ │ ├── outputs.tf │ │ ├── variables.tf │ │ └── versions.tf │ └── single_service_account │ │ ├── main.tf │ │ ├── outputs.tf │ │ ├── variables.tf │ │ └── versions.tf ├── integration │ ├── discover_test.go │ ├── go.mod │ ├── go.sum │ ├── key_distributor │ │ ├── controls │ │ │ └── gcp.rb │ │ └── inspec.yml │ ├── multiple_service_accounts │ │ ├── controls │ │ │ └── gcp.rb │ │ └── inspec.yml │ ├── simple_sa │ │ └── simple_sa_test.go │ └── single_service_account │ │ ├── controls │ │ └── gcp.rb │ │ └── inspec.yml └── setup │ ├── .gitignore │ ├── iam.tf │ ├── main.tf │ ├── outputs.tf │ ├── variables.tf │ └── versions.tf ├── variables.tf └── versions.tf /.github/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/.github/release-please.yml -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/trusted-contribution.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/.github/trusted-contribution.yml -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/.gitignore -------------------------------------------------------------------------------- /.kitchen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/.kitchen.yml -------------------------------------------------------------------------------- /.terraform.lock: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/CODEOWNERS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/README.md -------------------------------------------------------------------------------- /docs/upgrading_to_v3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/docs/upgrading_to_v3.md -------------------------------------------------------------------------------- /examples/disabled_service_accounts/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/disabled_service_accounts/main.tf -------------------------------------------------------------------------------- /examples/disabled_service_accounts/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/disabled_service_accounts/outputs.tf -------------------------------------------------------------------------------- /examples/disabled_service_accounts/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/disabled_service_accounts/variables.tf -------------------------------------------------------------------------------- /examples/key_distributor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/key_distributor/README.md -------------------------------------------------------------------------------- /examples/key_distributor/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/key_distributor/main.tf -------------------------------------------------------------------------------- /examples/key_distributor/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/key_distributor/outputs.tf -------------------------------------------------------------------------------- /examples/key_distributor/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/key_distributor/variables.tf -------------------------------------------------------------------------------- /examples/multiple_service_accounts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/multiple_service_accounts/README.md -------------------------------------------------------------------------------- /examples/multiple_service_accounts/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/multiple_service_accounts/main.tf -------------------------------------------------------------------------------- /examples/multiple_service_accounts/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/multiple_service_accounts/outputs.tf -------------------------------------------------------------------------------- /examples/multiple_service_accounts/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/multiple_service_accounts/variables.tf -------------------------------------------------------------------------------- /examples/simple_sa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/simple_sa/README.md -------------------------------------------------------------------------------- /examples/simple_sa/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/simple_sa/main.tf -------------------------------------------------------------------------------- /examples/simple_sa/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/simple_sa/outputs.tf -------------------------------------------------------------------------------- /examples/simple_sa/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/simple_sa/variables.tf -------------------------------------------------------------------------------- /examples/single_service_account/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/single_service_account/README.md -------------------------------------------------------------------------------- /examples/single_service_account/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/single_service_account/main.tf -------------------------------------------------------------------------------- /examples/single_service_account/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/single_service_account/outputs.tf -------------------------------------------------------------------------------- /examples/single_service_account/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/examples/single_service_account/variables.tf -------------------------------------------------------------------------------- /helpers/migrate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/helpers/migrate.py -------------------------------------------------------------------------------- /main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/main.tf -------------------------------------------------------------------------------- /metadata.display.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/metadata.display.yaml -------------------------------------------------------------------------------- /metadata.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/metadata.yaml -------------------------------------------------------------------------------- /modules/key-distributor/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/README.md -------------------------------------------------------------------------------- /modules/key-distributor/arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/arch.png -------------------------------------------------------------------------------- /modules/key-distributor/files/function/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/files/function/go.mod -------------------------------------------------------------------------------- /modules/key-distributor/files/function/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/files/function/main.go -------------------------------------------------------------------------------- /modules/key-distributor/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/main.tf -------------------------------------------------------------------------------- /modules/key-distributor/metadata.display.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/metadata.display.yaml -------------------------------------------------------------------------------- /modules/key-distributor/metadata.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/metadata.yaml -------------------------------------------------------------------------------- /modules/key-distributor/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/outputs.tf -------------------------------------------------------------------------------- /modules/key-distributor/templates/get-key.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/templates/get-key.tpl -------------------------------------------------------------------------------- /modules/key-distributor/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/variables.tf -------------------------------------------------------------------------------- /modules/key-distributor/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/key-distributor/versions.tf -------------------------------------------------------------------------------- /modules/simple-sa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/simple-sa/README.md -------------------------------------------------------------------------------- /modules/simple-sa/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/simple-sa/main.tf -------------------------------------------------------------------------------- /modules/simple-sa/metadata.display.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/simple-sa/metadata.display.yaml -------------------------------------------------------------------------------- /modules/simple-sa/metadata.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/simple-sa/metadata.yaml -------------------------------------------------------------------------------- /modules/simple-sa/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/simple-sa/outputs.tf -------------------------------------------------------------------------------- /modules/simple-sa/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/simple-sa/variables.tf -------------------------------------------------------------------------------- /modules/simple-sa/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/modules/simple-sa/versions.tf -------------------------------------------------------------------------------- /outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/outputs.tf -------------------------------------------------------------------------------- /test/.gitignore: -------------------------------------------------------------------------------- 1 | source.sh 2 | -------------------------------------------------------------------------------- /test/fixtures/key_distributor/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/key_distributor/main.tf -------------------------------------------------------------------------------- /test/fixtures/key_distributor/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/key_distributor/outputs.tf -------------------------------------------------------------------------------- /test/fixtures/key_distributor/public.asc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/key_distributor/public.asc -------------------------------------------------------------------------------- /test/fixtures/key_distributor/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/key_distributor/variables.tf -------------------------------------------------------------------------------- /test/fixtures/multiple_service_accounts/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/multiple_service_accounts/main.tf -------------------------------------------------------------------------------- /test/fixtures/multiple_service_accounts/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/multiple_service_accounts/outputs.tf -------------------------------------------------------------------------------- /test/fixtures/multiple_service_accounts/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/multiple_service_accounts/variables.tf -------------------------------------------------------------------------------- /test/fixtures/multiple_service_accounts/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/multiple_service_accounts/versions.tf -------------------------------------------------------------------------------- /test/fixtures/single_service_account/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/single_service_account/main.tf -------------------------------------------------------------------------------- /test/fixtures/single_service_account/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/single_service_account/outputs.tf -------------------------------------------------------------------------------- /test/fixtures/single_service_account/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/single_service_account/variables.tf -------------------------------------------------------------------------------- /test/fixtures/single_service_account/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/fixtures/single_service_account/versions.tf -------------------------------------------------------------------------------- /test/integration/discover_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/discover_test.go -------------------------------------------------------------------------------- /test/integration/go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/go.mod -------------------------------------------------------------------------------- /test/integration/go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/go.sum -------------------------------------------------------------------------------- /test/integration/key_distributor/controls/gcp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/key_distributor/controls/gcp.rb -------------------------------------------------------------------------------- /test/integration/key_distributor/inspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/key_distributor/inspec.yml -------------------------------------------------------------------------------- /test/integration/multiple_service_accounts/controls/gcp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/multiple_service_accounts/controls/gcp.rb -------------------------------------------------------------------------------- /test/integration/multiple_service_accounts/inspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/multiple_service_accounts/inspec.yml -------------------------------------------------------------------------------- /test/integration/simple_sa/simple_sa_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/simple_sa/simple_sa_test.go -------------------------------------------------------------------------------- /test/integration/single_service_account/controls/gcp.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/single_service_account/controls/gcp.rb -------------------------------------------------------------------------------- /test/integration/single_service_account/inspec.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/integration/single_service_account/inspec.yml -------------------------------------------------------------------------------- /test/setup/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfvars 2 | source.sh 3 | -------------------------------------------------------------------------------- /test/setup/iam.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/setup/iam.tf -------------------------------------------------------------------------------- /test/setup/main.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/setup/main.tf -------------------------------------------------------------------------------- /test/setup/outputs.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/setup/outputs.tf -------------------------------------------------------------------------------- /test/setup/variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/setup/variables.tf -------------------------------------------------------------------------------- /test/setup/versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/test/setup/versions.tf -------------------------------------------------------------------------------- /variables.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/variables.tf -------------------------------------------------------------------------------- /versions.tf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/terraform-google-modules/terraform-google-service-accounts/HEAD/versions.tf --------------------------------------------------------------------------------