IND-5776 Postgres passwordless release test#188
Closed
raviharshicorp wants to merge 8 commits intomainfrom
Closed
Conversation
- Add database_passwordless_aws_use_iam and database_passwordless_aws_region variables to runtime_container_engine_config module - Configure DATABASE_AUTH_USE_AWS_IAM and DATABASE_AUTH_AWS_DB_REGION environment variables in database config - Enable AWS IAM database authentication when enabled
- Add database_passwordless_aws_use_iam and database_passwordless_aws_region variables - Configure DATABASE_AUTH_USE_AWS_IAM and DATABASE_AUTH_AWS_DB_REGION environment variables - Enable AWS IAM passwordless authentication for TFE runtime containers
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
- Remove duplicate database_passwordless_aws_use_iam variable - Remove duplicate database_passwordless_aws_region variable - Variables are now declared only once as intended
tauhid621
reviewed
Oct 8, 2025
| TFE_DATABASE_CLIENT_KEY_FILE = var.database_client_key_file | ||
| TFE_DATABASE_PASSWORDLESS_AZURE_USE_MSI = var.database_passwordless_azure_use_msi | ||
| TFE_DATABASE_PASSWORDLESS_AZURE_CLIENT_ID = var.database_passwordless_azure_client_id | ||
| DATABASE_AUTH_USE_AWS_IAM = var.database_passwordless_aws_use_iam |
Contributor
There was a problem hiding this comment.
Why are the variables not starting with TFE here?.
We should have consistency with other variables
…or postgres passwordless This critical fix adds the missing TFE_ prefixed environment variables that the Go config system requires to properly configure AWS RDS IAM authentication. Without these variables, the terraform-enterprise Go application cannot read the passwordless configuration via envconfig, causing 502 errors. Added: - TFE_DATABASE_PASSWORDLESS_AWS_USE_INSTANCE_PROFILE (for Go config system) - TFE_DATABASE_PASSWORDLESS_AWS_REGION (for Go config system) Kept existing: - DATABASE_AUTH_USE_AWS_IAM (for Atlas Ruby application) - DATABASE_AUTH_AWS_DB_REGION (for Atlas Ruby application) This matches the pattern used in redis_config.tf and ensures both configuration systems receive the required environment variables.
…only branch - Remove Redis AWS IAM variables from runtime_container_engine_config - Remove Redis AWS IAM variables from settings module - Remove Redis AWS IAM configuration from tfe_redis_config.tf - Keep only Azure MSI Redis variables that were in main branch - This branch should only contain PostgreSQL passwordless authentication
- Add database_passwordless_gcp_use_default_credentials variable - Add DATABASE_AUTH_USE_GCP_IAM environment variable configuration - Required for GCP postgres passwordless authentication in terraform-google-terraform-enterprise
619a350 to
f260178
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Added variables related to AWS postgres passwordless changes
Relates : https://github.com/hashicorp/terraform-enterprise/pull/3079
hashicorp/terraform-aws-terraform-enterprise#379
How has this been tested?
CI/CD: https://github.com/hashicorp/terraform-enterprise/actions/runs/18079265431/job/51440243884