Skip to content

Commit d8cadac

Browse files
committed
relo module code to src dir
1 parent a28aff9 commit d8cadac

28 files changed

Lines changed: 18 additions & 21 deletions

.envrc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ PATH_add .venv/bin
99
PATH_add .github/bin
1010
#export PATH=$PWD/.github/bin:$PATH
1111

12-
# Platform Architecture Detection
13-
export ARCH=$(uname -m | awk '{ if ($1 == "x86_64") print "amd64"; else if ($1 == "aarch64" || $1 == "arm64") print "arm64"; else print "unknown" }')
14-
1512
# Basic Configuration
1613
export BROWSER=echo
1714
export KUBECONFIG=$PWD/.kube/config
@@ -31,5 +28,5 @@ export PYRIGHT_PYTHON_FORCE_VERSION=latest
3128
# Uncomment for local backend instead of Pulumi Cloud
3229
#export PULUMI_BACKEND_URL=${PULUMI_BACKEND_URL:-file://$PWD/.pulumi}
3330
#export PULUMI_CONFIG_PASSPHRASE=${PULUMI_CONFIG_PASSPHRASE:-foobarbaz}
34-
#export PULUMI_HOME=$PWD/.pulumi
35-
export PULUMI_K8S_DELETE_UNREACHABLE=true
31+
export PULUMI_HOME=$HOME/.pulumi
32+
export PULUMI_K8S_DELETE_UNREACHABLE=false

__main__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
from sys import exit
99
from pulumi import log
1010

11-
from modules.core.initialization import initialize_pulumi
12-
from modules.core.config import ConfigManager
13-
from modules.core.types import setup_global_metadata
14-
from modules.core.deployment import DeploymentManager
15-
from modules.core.metadata import export_compliance_metadata
11+
from src.core.initialization import initialize_pulumi
12+
from src.core.config import ConfigManager
13+
from src.core.types import setup_global_metadata
14+
from src.core.deployment import DeploymentManager
15+
from src.core.metadata import export_compliance_metadata
1616

1717

1818
def main() -> None:
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ./modules/aws/deployment.py
1+
# ./src/aws/deployment.py
22
"""
33
AWS Module Deployment
44
@@ -12,7 +12,7 @@
1212
import pulumi_aws as aws
1313
from pulumi import ResourceOptions
1414

15-
from modules.core import (
15+
from src.core import (
1616
ModuleInterface,
1717
ModuleDeploymentResult,
1818
InitializationConfig,
@@ -23,7 +23,7 @@
2323
from .provider import AWSProvider
2424
from .types import AWSConfig
2525
from .eks.deployment import EksManager
26-
from modules.kubernetes import KubernetesProviderRegistry
26+
from src.kubernetes import KubernetesProviderRegistry
2727

2828

2929
class AwsModule(ModuleInterface):

0 commit comments

Comments
 (0)