dbt-platform-helper 15.9.0__py3-none-any.whl → 15.11.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dbt-platform-helper might be problematic. Click here for more details.
- dbt_platform_helper/COMMANDS.md +1 -51
- dbt_platform_helper/commands/internal.py +134 -0
- dbt_platform_helper/constants.py +14 -0
- dbt_platform_helper/domain/conduit.py +1 -1
- dbt_platform_helper/domain/config.py +30 -1
- dbt_platform_helper/domain/maintenance_page.py +10 -8
- dbt_platform_helper/domain/service.py +317 -53
- dbt_platform_helper/domain/update_alb_rules.py +346 -0
- dbt_platform_helper/entities/platform_config_schema.py +4 -5
- dbt_platform_helper/entities/service.py +139 -13
- dbt_platform_helper/providers/aws/exceptions.py +5 -0
- dbt_platform_helper/providers/aws/sso_auth.py +14 -0
- dbt_platform_helper/providers/config.py +0 -11
- dbt_platform_helper/providers/ecs.py +104 -11
- dbt_platform_helper/providers/load_balancers.py +86 -8
- dbt_platform_helper/providers/logs.py +57 -0
- dbt_platform_helper/providers/s3.py +21 -0
- dbt_platform_helper/providers/terraform_manifest.py +3 -5
- dbt_platform_helper/providers/yaml_file.py +13 -5
- {dbt_platform_helper-15.9.0.dist-info → dbt_platform_helper-15.11.0.dist-info}/METADATA +5 -3
- {dbt_platform_helper-15.9.0.dist-info → dbt_platform_helper-15.11.0.dist-info}/RECORD +25 -22
- {dbt_platform_helper-15.9.0.dist-info → dbt_platform_helper-15.11.0.dist-info}/WHEEL +1 -1
- platform_helper.py +2 -2
- dbt_platform_helper/commands/service.py +0 -53
- {dbt_platform_helper-15.9.0.dist-info → dbt_platform_helper-15.11.0.dist-info}/entry_points.txt +0 -0
- {dbt_platform_helper-15.9.0.dist-info → dbt_platform_helper-15.11.0.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import click
|
|
2
|
-
|
|
3
|
-
from dbt_platform_helper.domain.service import ServiceManager
|
|
4
|
-
from dbt_platform_helper.domain.versioning import PlatformHelperVersioning
|
|
5
|
-
from dbt_platform_helper.platform_exception import PlatformException
|
|
6
|
-
from dbt_platform_helper.providers.io import ClickIOProvider
|
|
7
|
-
from dbt_platform_helper.utils.click import ClickDocOptGroup
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@click.group(cls=ClickDocOptGroup)
|
|
11
|
-
def service():
|
|
12
|
-
"""Commands affecting services."""
|
|
13
|
-
PlatformHelperVersioning().check_if_needs_update()
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
@service.command(help="Generate terraform manifest for the specified service(s).")
|
|
17
|
-
@click.option(
|
|
18
|
-
"--name",
|
|
19
|
-
"-n",
|
|
20
|
-
required=False,
|
|
21
|
-
help="The name of the service to generate a manifest for. Multiple values accepted.",
|
|
22
|
-
multiple=True,
|
|
23
|
-
)
|
|
24
|
-
@click.option(
|
|
25
|
-
"--environment",
|
|
26
|
-
"-e",
|
|
27
|
-
required=False,
|
|
28
|
-
multiple=True,
|
|
29
|
-
help="The name of the environment to generate service manifests for. Multiple values accepted.",
|
|
30
|
-
)
|
|
31
|
-
@click.option(
|
|
32
|
-
"--image-tag",
|
|
33
|
-
"-i",
|
|
34
|
-
required=False,
|
|
35
|
-
help="Docker image tag to deploy for the service. Overrides the $IMAGE_TAG environment variable.",
|
|
36
|
-
)
|
|
37
|
-
def generate(name, environment, image_tag):
|
|
38
|
-
"""Validates the service-config.yml format, applies the environment-specific
|
|
39
|
-
overrides, and generates a Terraform manifest at
|
|
40
|
-
/terraform/services/<environment>/<service>/main.tf.json."""
|
|
41
|
-
|
|
42
|
-
services = list(name)
|
|
43
|
-
environments = list(environment)
|
|
44
|
-
click_io = ClickIOProvider()
|
|
45
|
-
|
|
46
|
-
try:
|
|
47
|
-
service_manager = ServiceManager()
|
|
48
|
-
service_manager.generate(
|
|
49
|
-
environments=environments, services=services, image_tag_flag=image_tag
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
except PlatformException as err:
|
|
53
|
-
click_io.abort_with_error(str(err))
|
{dbt_platform_helper-15.9.0.dist-info → dbt_platform_helper-15.11.0.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{dbt_platform_helper-15.9.0.dist-info → dbt_platform_helper-15.11.0.dist-info/licenses}/LICENSE
RENAMED
|
File without changes
|