Skip to content

Commit

Permalink
gut prob wrong but hey
Browse files Browse the repository at this point in the history
  • Loading branch information
GondekNP committed Dec 31, 2023
1 parent cf8b678 commit e2c60a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ resource "google_iam_workload_identity_pool_provider" "oidc" {

oidc {
issuer_uri = "https://token.actions.githubusercontent.com"
allowed_audiences = [google_service_account.default.email]
allowed_audiences = ["https://github.com/SchmidtDSE"]
}

attribute_mapping = {
Expand Down
7 changes: 3 additions & 4 deletions terraform.tfstate
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.6.0",
"serial": 58,
"serial": 60,
"lineage": "44075ebe-b91a-1e72-3b17-affdfb63c0f1",
"outputs": {},
"resources": [
Expand Down Expand Up @@ -295,7 +295,7 @@
"oidc": [
{
"allowed_audiences": [
"github[email protected].com"
"https://github.com/SchmidtDSE"
],
"issuer_uri": "https://token.actions.githubusercontent.com",
"jwks_json": ""
Expand All @@ -310,8 +310,7 @@
"sensitive_attributes": [],
"private": "eyJlMmJmYjczMC1lY2FhLTExZTYtOGY4OC0zNDM2M2JjN2M0YzAiOnsiY3JlYXRlIjoxMjAwMDAwMDAwMDAwLCJkZWxldGUiOjEyMDAwMDAwMDAwMDAsInVwZGF0ZSI6MTIwMDAwMDAwMDAwMH19",
"dependencies": [
"google_iam_workload_identity_pool.pool",
"google_service_account.default"
"google_iam_workload_identity_pool.pool"
]
}
]
Expand Down
8 changes: 5 additions & 3 deletions terraform.tfstate.backup
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 4,
"terraform_version": "1.6.0",
"serial": 56,
"serial": 58,
"lineage": "44075ebe-b91a-1e72-3b17-affdfb63c0f1",
"outputs": {},
"resources": [
Expand Down Expand Up @@ -400,17 +400,19 @@
"schema_version": 0,
"attributes": {
"condition": [],
"etag": "BwYMzVAjNrY=",
"etag": "BwYNxENC/ts=",
"id": "projects/dse-nps/serviceAccounts/[email protected]/roles/iam.workloadIdentityUser",
"members": [
"serviceAccount:github-actions-service-account@dse-nps.iam.gserviceaccount.com"
"principalSet://iam.googleapis.com/projects/113009620257/locations/global/workloadIdentityPools/github/attribute.repository/burn-severity-mapping-poc"
],
"role": "roles/iam.workloadIdentityUser",
"service_account_id": "projects/dse-nps/serviceAccounts/[email protected]"
},
"sensitive_attributes": [],
"private": "bnVsbA==",
"dependencies": [
"data.google_project.project",
"google_iam_workload_identity_pool.pool",
"google_service_account.default"
]
}
Expand Down

0 comments on commit e2c60a1

Please sign in to comment.