Overriding Resources
The Overrides tab within the Resource Center enables one to modify resource configurations at environment level. This capability is essential when adjustments are required that deviate from the predefined Blueprint, allowing for environment-specific customizations without altering the original Blueprint.
Use Cases
-
Environment-Specific Configurations: Tailor resources to meet the unique requirements of different environments (e.g., development, staging, production) without modifying the global Blueprint.
-
Hotfixes and Patches: Implement immediate changes or fixes to resources in a live environment, ensuring minimal disruption and rapid response to issues.
-
Testing and Experimentation: Experiment with new configurations or features in a controlled environment by overriding specific resource settings, facilitating testing without impacting the entire system.
Functionality
The Overrides tab offers the following features:
-
Form and JSON Modes for Resource Configuration: Modify resource configurations using a user-friendly form interface or directly edit the JSON configuration for precise control.
-
Blueprint vs. Override Comparison in JSON Mode: Visually compare the current Blueprint configuration with the overridden settings to understand the differences and ensure accuracy.
-
Environment Variables Management: View and modify environment-specific variables, enabling dynamic value modifications as per the environment's needs.
-
Override Version History: Access a history of overrides with options to compare versions, view specific changes, and roll back to previous configurations if necessary.
Accessing the Overrides Tab
Performing an Override
-
Choose the Edit Mode: Select either the Form mode for a guided interface or the JSON mode for direct configuration editing.
-
Make Necessary Changes: Adjust the configuration settings as required for your specific use case.
-
Review Changes: In JSON mode, utilize the Blueprint vs. Override comparison feature to review differences.
-
Save and Apply: Save the changes to apply the new configuration to the resource within the environment.
Managing Environment Variables
Environment variables can be critical for environment-specific configurations. To manage them:
-
Access Environment Variables: Within the Overrides tab, navigate to the "Environment Variables" section.
-
View Current Variables: Review the list of existing environment-specific variables.
-
Modify Variables: Edit existing variables' values as per the environment's requirements.
-
Save Changes: Ensure all modifications are saved to update the environment's configuration.
Version History and Rollback
The Overrides feature maintains a version history of all changes:
-
View Version History: Within the Overrides tab, access the "History" section to see a chronological list of changes.
-
Compare Versions: Select two versions to compare their configurations side by side, highlighting any differences.
-
View Specific Changes: Click on a specific version to view the detailed changes made in that iteration.
-
Rollback to a Previous Version: If necessary, select a prior version and initiate a rollback to revert the resource to that configuration.
Troubleshooting
-
Override changes not live: Ensure that the changes are saved and that there are no validation errors in the configuration. Verify that a release has been performed for this resource once the changes are made.
-
Configuration Conflicts: Use the Blueprint vs. Override comparison feature to identify and resolve discrepancies between the global Blueprint and the overridden configuration.
-
Rollback Issues: If a rollback does not reflect the expected state, check the version history for any intermediate changes that might affect the configuration. Ensure that the resource is released after a rollback.
Updated about 21 hours ago