This topic explains how to set different values for the same configuration in testing, staging, and development environment with ACM's namespaces.
In this task, we will use ACM's namespaces to set different values for the same configuration in testing, staging, and development environment. The expected result is as follows:
Step 1: Create a namespace in ACM
The following is an example of creating the namespace “Development”.
- Log on to the ACM console.
- In the left-side navigation pane, select Namespaces, and click the Create Namespace button in the upper-right corner: The Create Namespace dialog box is displayed.
In the dialog box, enter the namespace name Development.
- Repeat Steps 1 through 3 to create namespaces “Testing” and “Staging”.
Step 2: Create a configuration under each namespace
On the Configurations page, select the namespace Development.
- Follow the instructions of Step 1: Create the configuration in ACM to create configurations with the same name.
In real-world business scenarios, we often need to set different values for one configuration item based on different environments. As you can see in this example, you can easily do so with the Namespace feature of ACM.