I'm creating MWAA enviornments through AWS Cli with the create-environment function. I can create the environment without any problems but now I'm trying to add a configuration option so I can use AWS Secret Manager as the backend (https://docs.aws.amazon.com/mwaa/latest/userguide/connections-secrets-manager.html). My command is this:
aws mwaa create-environment --name "my_mwaa_env" --airflow-configuration-options "secrets.backend": "airflow.providers.amazon.aws.secrets.secrets_manager.SecretsManagerBackend", "secrets.backend_kwargs": '{"connections_prefix" : "airflow/connections", "variables_prefix" : "airflow/variables"}'
I already put the parameter airflow-configuration-options as String, Json, but I am not able to create with these options. With this version I'm getting this error:
Unknown options: airflow/connections,, variables_prefix, :, airflow/variables}, :
Does anyone have an example of a similar use case? Thanks :)