-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: DBTP-1630 Terraform environment domain tests refactor #715
base: main
Are you sure you want to change the base?
Conversation
fg="red", | ||
) | ||
raise click.Abort | ||
def generate(name): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed the deprecation warning when providing a vpc to generate-terraform - its been here for 7months now, seems like no one should be impacted /shrug
dbt_platform_helper/domain/test_platform_terraform_manifest_generator.py
Outdated
Show resolved
Hide resolved
): | ||
env_template = setup_templates().get_template("environments/main.tf") | ||
class PlatformTerraformManifestGenerator: | ||
def __init__(self, file_provider): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing type hints?
def __init__(self, config_provider): | ||
def __init__( | ||
self, | ||
config_provider, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing type hints?
3c7d315
to
7a199b7
Compare
} | ||
) | ||
|
||
def write_manifest(self, environment_name: str, manifest_content: str): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should prob be a private method?
application_name: str, | ||
environment_config: dict, | ||
terraform_platform_modules_version_override: str = None, | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return value?
from dbt_platform_helper.providers.yaml_file import YamlFileProvider | ||
|
||
|
||
class CacheProvider: | ||
def __init__( | ||
self, | ||
file_provider: FileProvider = None, | ||
file_provider: YamlFileProvider = None, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At what point do we create the ".platform-helper-config-cache.yml" file?
Addresses DBTP-1630
Checklist:
Title:
Description:
Tasks: