Skip to content

Commit 4977eca

Browse files
committed
terraform fmt
1 parent c82a9e0 commit 4977eca

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

hcp/hcp.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ data "hcp_project" "hcp_project" {
1313
#
1414
# https://registry.terraform.io/providers/hashicorp/hcp/latest/docs/resources/service_principal
1515
resource "hcp_service_principal" "workload_sp" {
16-
name = "hcp-terraform"
16+
name = "hcp-terraform"
1717
parent = data.hcp_project.hcp_project.resource_name
1818
}
1919

@@ -39,7 +39,7 @@ resource "hcp_iam_workload_identity_provider" "tfc" {
3939
description = "Allow HCP Terraform agents to act as the ${hcp_service_principal.workload_sp.name} service principal"
4040

4141
oidc = {
42-
issuer_uri = "https://${var.tfc_hostname}"
42+
issuer_uri = "https://${var.tfc_hostname}"
4343
allowed_audiences = [var.tfc_hcp_audience]
4444
}
4545

hcp/tfc-workspace.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ resource "tfe_variable" "tfc_hcp_provider_resource_name" {
5050
}
5151

5252
# The value to use as the `aud` claim in run identity tokens
53-
resource "tfe_variable" "tfc_hcp_audience" {
54-
workspace_id = tfe_workspace.my_workspace.id
53+
resource "tfe_variable" "tfc_hcp_audience" {
54+
workspace_id = tfe_workspace.my_workspace.id
5555

56-
key = "TFC_HCP_WORKLOAD_IDENTITY_AUDIENCE"
57-
value = var.tfc_hcp_audience
58-
category = "env"
56+
key = "TFC_HCP_WORKLOAD_IDENTITY_AUDIENCE"
57+
value = var.tfc_hcp_audience
58+
category = "env"
5959

60-
description = "The value to use as the audience claim in run identity tokens"
61-
}
60+
description = "The value to use as the audience claim in run identity tokens"
61+
}

0 commit comments

Comments
 (0)