Skip to content

Commit

Permalink
name fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyclenerd committed Jul 16, 2023
1 parent e4af408 commit e26548f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
[![Badge: Terraform](https://img.shields.io/badge/Terraform-%235835CC.svg?logo=terraform&logoColor=white)](https://github.com/Cyclenerd/terraform-google-wif-gitlab#readme)
[![Badge: GitLab](https://img.shields.io/badge/GitLab-FC6D26.svg?logo=gitlab&logoColor=white)](https://github.com/Cyclenerd/terraform-google-wif-gitlab#readme)
[![Bagde: CI](https://github.com/Cyclenerd/terraform-google-wif-gitlab/actions/workflows/ci.yml/badge.svg)](https://github.com/Cyclenerd/terraform-google-wif-gitlab/actions/workflows/ci.yml)
[![Bagde: GitHub](https://img.shields.io/github/license/cyclenerd/terraform-google-wif-gitlab)](https://github.com/Cyclenerd/terraform-google-wif-gitlab/blob/master/LICENSE)
[![Bagde: License](https://img.shields.io/github/license/cyclenerd/terraform-google-wif-gitlab)](https://github.com/Cyclenerd/terraform-google-wif-gitlab/blob/master/LICENSE)

This Terraform module creates a Workload Identity Pool and Provider for GitLab.

Service account keys are a security risk if compromised.
Avoid service account keys and instead use the [Workload Identity Federation](https://github.com/Cyclenerd/google-workload-identity-federation#readme).
For more information about Workload Identity Federation and how to best authenticate service accounts on Google Cloud, please see my GitHub repo [Cyclenerd/google-workload-identity-federation](https://github.com/Cyclenerd/google-workload-identity-federation#readme).

> There is also a ready-to-use Terraform module for [GitHub](https://github.com/Cyclenerd/terraform-google-wif-github#readme).
> There is also a ready-to-use Terraform module
> for [GitHub](https://github.com/Cyclenerd/terraform-google-wif-github#readme)
> and [Bitbucket](https://github.com/Cyclenerd/terraform-google-wif-bitbucket#readme).
## Example

Expand Down
2 changes: 1 addition & 1 deletion examples/gitlab-ci-custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ resource "google_service_account" "gitlab" {
}
# Allow service account to login via WIF and only from GitLab repository (project path)
module "github-service-account" {
module "gitlab-service-account" {
source = "Cyclenerd/wif-service-account/google"
version = "~> 1.0.0"
project_id = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion examples/gitlab-ci-custom/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ resource "google_service_account" "gitlab" {
}

# Allow service account to login via WIF and only from GitLab repository (project path)
module "github-service-account" {
module "gitlab-service-account" {
source = "Cyclenerd/wif-service-account/google"
version = "~> 1.0.0"
project_id = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion examples/gitlab-ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ resource "google_service_account" "gitlab" {
}
# Allow service account to login via WIF and only from GitLab repository (project path)
module "github-service-account" {
module "gitlab-service-account" {
source = "Cyclenerd/wif-service-account/google"
version = "~> 1.0.0"
project_id = var.project_id
Expand Down
2 changes: 1 addition & 1 deletion examples/gitlab-ci/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ resource "google_service_account" "gitlab" {
}

# Allow service account to login via WIF and only from GitLab repository (project path)
module "github-service-account" {
module "gitlab-service-account" {
source = "Cyclenerd/wif-service-account/google"
version = "~> 1.0.0"
project_id = var.project_id
Expand Down

0 comments on commit e26548f

Please sign in to comment.