Sandbox with App Config.
Create the app configuration resource:
cd infra
terraform init
terraform apply -auto-approve
Set the connection string as parameter:
export APP_CONFIGURATION_CONNECTION_STRING='connection-string-of-your-app-configuration-store'
Build and run the application:
mvn clean package
mvn spring-boot:run
Check the parameter value:
curl localhost:8080/message
Change the message and then update the refresh trigger. Check the message again to see the update value.
az appconfig kv set --key sentinel --value 2 --name <name-of-your-new-store> --yes
This will use the Feature capability from the API:
curl localhost:8080/beta