Skip to content

Commit

Permalink
bug-fix: make var.TFC_GCP_RUN_SERVICE_ACCOUNT_EMAIL optional
Browse files Browse the repository at this point in the history
  • Loading branch information
strebitz committed Sep 19, 2024
1 parent 28821d6 commit 6c197c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [5.3.1] - 2024-09-19

BUG FIXES:
* Migrate `TFC_GCP_RUN_SERVICE_ACCOUNT_EMAIL` Terraform variable to
optional `TF_VAR_TFC_GCP_RUN_SERVICE_ACCOUNT_EMAIL` environment variable

## [5.3.0] - 2024-09-19

FEATURES:
Expand Down Expand Up @@ -97,7 +103,8 @@ FEATURES:

Initial release

[Unreleased]: https://github.com/nephosolutions/terraform-tfe-workspace/compare/v5.3.0...HEAD
[Unreleased]: https://github.com/nephosolutions/terraform-tfe-workspace/compare/v5.3.1...HEAD
[5.3.1]: https://github.com/nephosolutions/terraform-tfe-workspace/releases/tag/v5.3.1
[5.3.0]: https://github.com/nephosolutions/terraform-tfe-workspace/releases/tag/v5.3.0
[5.2.0]: https://github.com/nephosolutions/terraform-tfe-workspace/releases/tag/v5.2.0
[5.1.0]: https://github.com/nephosolutions/terraform-tfe-workspace/releases/tag/v5.1.0
Expand Down
4 changes: 2 additions & 2 deletions modules/google/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ module "tfe_workspace" {
description = "The service account email Terraform Cloud will use when authenticating to GCP."
},
{
key = "TFC_GCP_RUN_SERVICE_ACCOUNT_EMAIL"
key = "TF_VAR_TFC_GCP_RUN_SERVICE_ACCOUNT_EMAIL"
value = google_service_account.tfe_workspace.email
category = "terraform"
category = "env"
description = "The service account email Terraform Cloud will use when authenticating to GCP."
}
])
Expand Down

0 comments on commit 6c197c1

Please sign in to comment.