diff --git a/cosmos/profiles/base.py b/cosmos/profiles/base.py index c1b8f93ac..15558c93b 100644 --- a/cosmos/profiles/base.py +++ b/cosmos/profiles/base.py @@ -242,9 +242,9 @@ def get_profile_file_contents( } } - congig_vars = self.dbt_config_vars.as_dict() - if congig_vars: - profile_contents["config"] = congig_vars + config_vars = self.dbt_config_vars.as_dict() + if config_vars: + profile_contents["config"] = config_vars return str(yaml.dump(profile_contents, indent=4))