-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3237 better index #47
Conversation
…d consistency in secret mappings
…ed secret name resolution
…release_name directly
…ed secret name resolution
…efault value in database_secrets_map
…g helm_release_name and providing a default value
…by incorporating helm_release_name for improved secret identification
…fore helm_release_name for improved secret identification
… and improve secret identification
…se credential resolution
…ate output to directly reference sql_users_creds
…redentials retrieval in outputs.tf
…ity and handling of null values
…cts for improved uniqueness
…ty and maintainability
…uping for improved data handling
… access for clarity and maintainability
… resource grouping
…source identification
… for improved data handling
…y and enhance readability
…ts for improved clarity and maintainability
…or drupal_apps_all_data for improved data representation
…handling and clarity
… a placeholder for improved clarity
…ed_resources for improved data representation
…o use grouped_index for improved resource representation
…prove resource identification
…s for grouped_resources
…s for grouped_resources and enhancing namespace assignment
…entials for improved resource access
…edentials for improved resource access
…name reference for improved resource identification
…bucket_secret and kubernetes_database_secret for improved resource access
…d-out project_info and all_data sections for improved clarity
…rouped_index and project_info, and add drupal_apps_namespaces output for improved resource organization
… Drupal projects by replacing commented-out sections with structured outputs for bucket and database credentials and secrets, improving resource indexing and organization.
…tency, updating all references to include 'all_' prefix for improved resource identification and organization.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
… replacing string interpolation with direct variable usage for enhanced readability and maintainability.
…upal_apps_all_data output to support multiple deployments within the same project context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note, it would have been better to avoid repeating the logic for generating the names of the various resources in the output, but if it makes the task much longer/complicated, for me the actual code is good enough and we can merge the PR as is.
Maybe we can consider the feature a nice to have for a refactoring in the future.
PR Type
Enhancement
Description
Changes walkthrough 📝
outputs.tf
Refactor outputs structure for improved secret management
outputs.tf
grouped_resources
local variable for better project dataorganization
helm_release_name
bucket_secrets_map
,database_secrets_map
, anddatabase_credentials_map
as keys