The runtime_parameters logic is duplicated in the f5_onboard.tmpl file. This makes it difficult for a user to easily override the f5_onboard.tmpl with their own version.
Can we simplify the logic by using the conditional detection for ${aws_secretsmanager_auth} to output only the ADMIN_PASS section of the runtime_parameters? You can leverage the append (>>) output versus always overwriting the file (>).
The runtime_parameters logic is duplicated in the f5_onboard.tmpl file. This makes it difficult for a user to easily override the f5_onboard.tmpl with their own version.
Can we simplify the logic by using the conditional detection for ${aws_secretsmanager_auth} to output only the ADMIN_PASS section of the runtime_parameters? You can leverage the append (>>) output versus always overwriting the file (>).
Something like this: