Skip to content

Commit ee75bf7

Browse files
authored
Merge pull request #57 from google/poc-dev
DEV->STAGE
2 parents 436e8d9 + 09b4766 commit ee75bf7

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.github/workflows/tf-actions-dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
id-token: 'write'
4444
# Steps represent a sequence of tasks that will be executed as part of the job
4545
steps:
46-
- uses: 'actions/checkout@v2'
46+
- uses: 'actions/checkout@v4'
4747

4848
- id: 'auth'
4949
name: 'Authenticate to Google Cloud'
50-
uses: 'google-github-actions/auth@v0'
50+
uses: 'google-github-actions/auth@v2'
5151
with:
5252
token_format: 'access_token'
5353
WORKLOAD_IDENTITY_PROVIDER: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}

.github/workflows/tf-actions-prod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
id-token: 'write'
4444
# Steps represent a sequence of tasks that will be executed as part of the job
4545
steps:
46-
- uses: 'actions/checkout@v2'
46+
- uses: 'actions/checkout@v4'
4747

4848
- id: 'auth'
4949
name: 'Authenticate to Google Cloud'
50-
uses: 'google-github-actions/auth@v0'
50+
uses: 'google-github-actions/auth@v2'
5151
with:
5252
token_format: 'access_token'
5353
WORKLOAD_IDENTITY_PROVIDER: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}

.github/workflows/tf-actions-stage.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343
id-token: 'write'
4444
# Steps represent a sequence of tasks that will be executed as part of the job
4545
steps:
46-
- uses: 'actions/checkout@v2'
46+
- uses: 'actions/checkout@v4'
4747

4848
- id: 'auth'
4949
name: 'Authenticate to Google Cloud'
50-
uses: 'google-github-actions/auth@v0'
50+
uses: 'google-github-actions/auth@v2'
5151
with:
5252
token_format: 'access_token'
5353
WORKLOAD_IDENTITY_PROVIDER: ${{ env.WORKLOAD_IDENTITY_PROVIDER }}

examples/poc/modules/secret-manager/main.tf

+3-2
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,14 @@ resource "google_secret_manager_secret" "secret-basic" {
3434
}
3535

3636
replication {
37-
automatic = true
37+
auto {}
3838
}
39+
3940
depends_on = [google_project_service.secret-manager]
4041
}
4142

4243

4344
resource "google_secret_manager_secret_version" "secret-version-basic" {
4445
secret = google_secret_manager_secret.secret-basic.id
4546
secret_data = var.secret_version
46-
}
47+
}

0 commit comments

Comments
 (0)