fast2dev 1.0.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.
- f2dev/__init__.py +1 -0
- f2dev/__main__.py +5 -0
- f2dev/_bundle/platform/.dockerignore +80 -0
- f2dev/_bundle/platform/.gitignore +82 -0
- f2dev/_bundle/platform/LICENSE +202 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/template_values.yaml +1731 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/Chart.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-airflow-deploy.yaml +60 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-bi-sync.yaml +46 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-checkout.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-console-sync.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-label.yaml +48 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-run.yaml +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-e2e-teardown.yaml +47 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-governance.yaml +40 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-lint.yaml +37 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-notify.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-quality.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-refresh.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-supersede.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/block-tags.yaml +44 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-branch.yaml +138 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-main.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/files/pipeline-pr.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/NOTES.txt +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/settings-configmap.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/templates/workflowtemplates.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/argo_workflows/workflow_templates/values.yaml +41 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values.yaml +436 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/github/template_github_values_extra.yaml +49 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values.yaml +551 -0
- f2dev/_bundle/platform/charts/data_services_charts/cicd_workload_runner/gitlab/template_gitlab_values_extra.yaml +9 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/lightdash/template_values.yaml +359 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/metabase/template_values.yaml +384 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/superset/template_values.yaml +1562 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_analysis/template_values.yaml +269 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/.helmignore +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/Chart.yaml +20 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/template_values.yaml.j2 +175 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/NOTES.txt +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/_helpers.tpl +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/cicd-rbac.yaml +30 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/configmap.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/extras.yaml +14 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/promtail-configmap.yaml +68 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/service.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/serviceaccount.yaml +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/statefulset.yaml +276 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/valkey.yaml +113 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/templates/warehouse-stats-cronjob.yaml +107 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_control_plane/values.yaml +828 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_dbt_server/template_values.yaml +385 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_prerequisites_values.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_dh_values.yaml +1671 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_kafka_values.yaml +112 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_opensearch_values.yaml +662 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_governance/template_values.yaml +738 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/Chart.yaml +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/files/argo-openapi.json +681 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/_helpers.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/argo-rbac.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/backends.yaml +327 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/templates/gateway.yaml +150 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/hub/values.yaml +91 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_mcp_hub/template_values.yaml +142 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values.yaml +1167 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_modeling/template_values_extra.yaml +99 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/cleanup.py +452 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/airflow-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/docs/keycloak-oidc-setup.md +106 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values.yaml +5536 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/template_values_extra.yaml +379 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/configmap.yaml +459 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_auth.py +285 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/fast2dev_mcp_plugin.py +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_orchestration/webserver-config/webserver_config.py +130 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/Dockerfile +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/build.sh +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/cleanup.py +749 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/configmap.yaml +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/k8s/cronjob.yaml +137 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte-cleanup/requirements.txt +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/.helmignore +26 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.lock +3 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/Chart.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/README.md +243 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/NOTES.txt +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_helpers.tpl +245 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/_images.tpl +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-auth-secret.yaml +35 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/bootloader-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-bootloader/pod.yaml +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-connector-rollout-worker/deployment.yaml +171 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/cron-secrets.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-cron/deployment.yaml +149 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-db.yaml +88 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/_helpers.tpl +111 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/deployment.yaml +169 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/hpa.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/pdb.yaml +17 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-direct-job-runner/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/deployment.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-featureflag-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/service.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-keycloak/statefulset.yaml +182 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/_helpers.tpl +54 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/deployment.yaml +152 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-manifest-server/serviceaccount.yaml +10 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-metrics/deployment.yaml +124 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/deployment.yaml +227 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-server/service.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/deployment.yaml +184 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-stigg-sidecar/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/configmap.yaml +55 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/deployment.yaml +220 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal/service.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/deployment.yaml +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-temporal-ui/service.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/deployment.yaml +146 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/ingress.yaml +63 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-webapp/service.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-worker/deployment.yaml +229 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/deployment.yaml +191 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-api-server/service.yaml +25 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/deployment.yaml +232 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/airbyte-workload-launcher/jobs-secrets.yaml +21 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_auth.tpl +944 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_aws.tpl +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cluster.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_common.tpl +370 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connector.tpl +58 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRollout.tpl +141 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_connectorRolloutWorker.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_cron.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_customerio.tpl +56 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_database.tpl +375 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_dataplaneGroups.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_directJobRunner.tpl +122 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_featureFlags.tpl +126 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_java.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_jobs.tpl +422 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_keycloak.tpl +542 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_logging.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_metrics.tpl +214 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_micronaut.tpl +43 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_minio.tpl +64 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_secretsManager.tpl +628 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_server.tpl +533 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_shopify.tpl +83 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_stigg.tpl +157 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_storage.tpl +468 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_temporal.tpl +943 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_topology.tpl +98 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_tracking.tpl +82 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_webapp.tpl +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_worker.tpl +366 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadApiServer.tpl +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloadLauncher.tpl +395 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/config/_workloads.tpl +770 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/env-configmap.yaml +62 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/gcs-log-creds-secret.yaml +19 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/ingress.yaml +69 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/minio.yaml +161 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/secret.yaml +31 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/serviceaccount.yaml +50 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/telemetry-configmap.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/templates/tests/test-webapp.yaml +34 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte/values.yaml +3158 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/.helmignore +12 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/Chart.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/README.md +172 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/_helpers.tpl +42 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/deployment.yaml +105 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/externalsecret.yaml +23 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/pdb.yaml +15 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/templates/service.yaml +18 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/airbyte_chart/airbyte-metrics-fast2dev-ddp/values.yaml +97 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/feature-flags-configmap.yaml +16 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_metrics_values.yaml +13 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_oauth2proxy_values.yaml +1200 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_replication/template_values.yaml +3255 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/Chart.yaml +7 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-client.yaml +27 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-master.yaml +38 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/hazelcast-worker.yaml +29 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_client_options +24 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_master_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/jvm_worker_options +6 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/log4j2.properties +109 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/conf/seatunnel.yaml +36 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/_helpers.tpl +70 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/configmap.yaml +11 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-master.yaml +120 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/deployment-worker.yaml +118 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/rbac.yaml +32 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/templates/services.yaml +33 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/seatunnel/values.yaml +101 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_oauth2proxy_values.yaml +196 -0
- f2dev/_bundle/platform/charts/data_services_charts/data_streaming/template_values.yaml +75 -0
- f2dev/_bundle/platform/charts/data_services_charts/object_storage_operator/template_values.yaml +506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/csi_driver_values.yaml +193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_pdns_webhook_values.yaml +91 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values.yaml +1777 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cert_manager/template_values_extra.yaml +253 -0
- f2dev/_bundle/platform/charts/infra_services_charts/cluster_cleaner/template_values.yaml +57 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values.yaml +476 -0
- f2dev/_bundle/platform/charts/infra_services_charts/external_dns/template_values_extra.yaml +131 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/realm_template.json +4785 -0
- f2dev/_bundle/platform/charts/infra_services_charts/idp_sso_manager/template_values.yaml +657 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values.yaml +36 -0
- f2dev/_bundle/platform/charts/infra_services_charts/pvc_autoscaller/template_values_extra.yaml +352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values.yaml +1218 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager/template_values_extra.yaml +845 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values.yaml +561 -0
- f2dev/_bundle/platform/charts/infra_services_charts/secret_manager_operator/template_values_extra.yaml +23 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_events_values.yaml +59 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_alloy_values.yaml +185 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_logs/template_loki_values.yaml +108 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_metrics/template_values.yaml +1530 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/00-main/f2d-main.json +2871 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-k8s-cluster.json +1751 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-microservices.json +1682 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-pvc-storage.json +1320 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/01-platform/f2d-service.json +1193 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-cert-manager.json +755 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-keycloak.json +746 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-object-storage.json +881 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-postgresql.json +1590 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/02-infrastructure/f2d-traefik.json +1375 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows-trends.json +1916 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-cicd-workflows.json +1330 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-analysis.json +631 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-freshness.json +1362 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-governance.json +1958 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-modeling.json +764 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration-trends.json +2352 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-orchestration.json +1506 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-quality.json +1549 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication-trends.json +2799 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-replication.json +2153 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming-trends.json +1536 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/03-data-services/f2d-data-streaming.json +1209 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/04-data-warehouse-bigquery/f2d-bigquery.json +990 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/.gitkeep +0 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/05-logs/f2d-logs.json +630 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/folders.yaml +17 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/dashboards/requirements.yaml +8 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_alerts_cm.yaml +2031 -0
- f2dev/_bundle/platform/charts/infra_services_charts/services_monitoring/template_values.yaml +1315 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values.yaml +550 -0
- f2dev/_bundle/platform/charts/infra_services_charts/stackgres_postgres_db/template_values_extra.yaml +742 -0
- f2dev/_bundle/platform/charts/infra_services_charts/traefik_lb/template_values.yaml +1758 -0
- f2dev/_bundle/platform/cli/README.md +866 -0
- f2dev/_bundle/platform/cli/__init__.py +42 -0
- f2dev/_bundle/platform/cli/__main__.py +17 -0
- f2dev/_bundle/platform/cli/cert_providers.py +369 -0
- f2dev/_bundle/platform/cli/command_record.py +144 -0
- f2dev/_bundle/platform/cli/config/data_services_config.json +217 -0
- f2dev/_bundle/platform/cli/config/environment_profiles.yaml +183 -0
- f2dev/_bundle/platform/cli/config/images.json +129 -0
- f2dev/_bundle/platform/cli/config/infrastructure_services_config.json +141 -0
- f2dev/_bundle/platform/cli/config.py +252 -0
- f2dev/_bundle/platform/cli/deployment_configuration_aws_example.yaml +117 -0
- f2dev/_bundle/platform/cli/deployment_configuration_gcp_example.yaml +130 -0
- f2dev/_bundle/platform/cli/deployment_configuration_onprem_example.yaml +71 -0
- f2dev/_bundle/platform/cli/destroy.py +677 -0
- f2dev/_bundle/platform/cli/dns_check.py +27 -0
- f2dev/_bundle/platform/cli/dns_providers.py +405 -0
- f2dev/_bundle/platform/cli/exit_codes.py +32 -0
- f2dev/_bundle/platform/cli/fixers.py +56 -0
- f2dev/_bundle/platform/cli/generate_only.py +336 -0
- f2dev/_bundle/platform/cli/health_report.py +114 -0
- f2dev/_bundle/platform/cli/logging.py +206 -0
- f2dev/_bundle/platform/cli/main.py +5293 -0
- f2dev/_bundle/platform/cli/precheck.py +1523 -0
- f2dev/_bundle/platform/cli/prerequisites/README.md +208 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.bat +107 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.ps1 +343 -0
- f2dev/_bundle/platform/cli/prerequisites/install-prerequisites.sh +207 -0
- f2dev/_bundle/platform/cli/prerequisites/linux/install-linux.sh +775 -0
- f2dev/_bundle/platform/cli/prerequisites/macos/install-macos.sh +634 -0
- f2dev/_bundle/platform/cli/prerequisites/requirements.txt +41 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.ps1 +150 -0
- f2dev/_bundle/platform/cli/prerequisites/verify-prerequisites.sh +418 -0
- f2dev/_bundle/platform/cli/prerequisites/versions.yaml +43 -0
- f2dev/_bundle/platform/cli/prerequisites/windows/install-windows.ps1 +1005 -0
- f2dev/_bundle/platform/cli/restore.py +179 -0
- f2dev/_bundle/platform/cli/service_gates.py +160 -0
- f2dev/_bundle/platform/cli/state.py +332 -0
- f2dev/_bundle/platform/cli/wizard.py +782 -0
- f2dev/_bundle/platform/cli.py +235 -0
- f2dev/_bundle/platform/deployers/__init__.py +4 -0
- f2dev/_bundle/platform/deployers/base_deployer.py +8 -0
- f2dev/_bundle/platform/deployers/clouds/__init__.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/aws_cloud.py +619 -0
- f2dev/_bundle/platform/deployers/clouds/azure_cloud.py +0 -0
- f2dev/_bundle/platform/deployers/clouds/google_cloud.py +785 -0
- f2dev/_bundle/platform/deployers/clouds/terragrunt_progress.py +56 -0
- f2dev/_bundle/platform/deployers/services/data_services/1.0_cicd_workload_runner.py +644 -0
- f2dev/_bundle/platform/deployers/services/data_services/12.0_control_plane.py +321 -0
- f2dev/_bundle/platform/deployers/services/data_services/13.0_data_mcp_hub.py +362 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.0_object_storage_operator.py +416 -0
- f2dev/_bundle/platform/deployers/services/data_services/2.5_services_logs.py +482 -0
- f2dev/_bundle/platform/deployers/services/data_services/3.0_data_cicd_workflows.py +361 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.0_data_replication.py +534 -0
- f2dev/_bundle/platform/deployers/services/data_services/4.5_data_streaming.py +303 -0
- f2dev/_bundle/platform/deployers/services/data_services/5.0_data_orchestration.py +760 -0
- f2dev/_bundle/platform/deployers/services/data_services/6.0_data_modeling.py +753 -0
- f2dev/_bundle/platform/deployers/services/data_services/7.0_data_governance.py +795 -0
- f2dev/_bundle/platform/deployers/services/data_services/8.0_data_analysis.py +587 -0
- f2dev/_bundle/platform/deployers/services/infra_services/1.0_secret_operator.py +467 -0
- f2dev/_bundle/platform/deployers/services/infra_services/10.0_cluster_pvc_autoscaller.py +500 -0
- f2dev/_bundle/platform/deployers/services/infra_services/2.0_cert_manager.py +963 -0
- f2dev/_bundle/platform/deployers/services/infra_services/3.0_external_dns.py +823 -0
- f2dev/_bundle/platform/deployers/services/infra_services/4.0_traefik_lb.py +604 -0
- f2dev/_bundle/platform/deployers/services/infra_services/5.0_stackgres_postgresql.py +652 -0
- f2dev/_bundle/platform/deployers/services/infra_services/6.0_services_metrics.py +515 -0
- f2dev/_bundle/platform/deployers/services/infra_services/7.0_services_monitoring.py +787 -0
- f2dev/_bundle/platform/deployers/services/infra_services/8.0_cluster_cleaner.py +439 -0
- f2dev/_bundle/platform/deployers/services/infra_services/9.0_idp_sso_manager.py +790 -0
- f2dev/_bundle/platform/readme.md +47 -0
- f2dev/_bundle/platform/requirements.txt +14 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/backend.tf_template +10 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/defaults.yaml_template +11 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/root.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_advanced_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/templates/terragrunt.hcl_basic_template +134 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/01-apps-vpc/terragrunt.hcl +26 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/02-create-dns-ns-record/terragrunt.hcl +16 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/03-eks-cluster/terragrunt.hcl +21 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/04-external_dns_sa/terragrunt.hcl +28 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/01-apps-vpc/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/02-eks-cluster/terragrunt.hcl +32 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/03-external-dns-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/04-cert-manager-irsa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +22 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +44 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/bi-platform/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/terraform/aws_cloud/terragrunt/env.hcl +2 -0
- f2dev/_bundle/platform/terraform/azure_cloud/README.md +3 -0
- f2dev/_bundle/platform/terraform/azure_cloud/templates/_keep_structure.txt +0 -0
- f2dev/_bundle/platform/terraform/google_cloud/README.md +20 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/backend.tf_template +7 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/defaults.yaml_template +12 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/env.yaml_template +2 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_advanced_template +114 -0
- f2dev/_bundle/platform/terraform/google_cloud/templates/root.hcl_basic_template +116 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/.gitignore +3 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/00-create-ou-folder/terragrunt.hcl +15 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/01-create-project/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/02-enable-apis/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/03-0-apps-vpc/terragrunt.hcl +134 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/04-external-ip-traefik/terragrunt.hcl +29 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/05-create-dns-zone/terragrunt.hcl +25 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/06-create-dns-ns-record/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/07-gke-cluster/terragrunt.hcl +103 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/08-dbt_deploy_sa/terragrunt.hcl +36 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/09-dbt_sa/terragrunt.hcl +40 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/10-cert_manager_sa/terragrunt.hcl +34 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/11-external_dns_sa/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/12-monitoring_sa/terragrunt.hcl +52 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/13-data_replication_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/14-data_orchestration_sa/terragrunt.hcl +35 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/15-bi_data_sa/terragrunt.hcl +43 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/16-whitelist-external-ip-on-common/terragrunt.hcl +30 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/17-kubeconfig/terragrunt.hcl +23 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/bi-platform/18-data_streaming_sa/terragrunt.hcl +24 -0
- f2dev/_bundle/platform/terraform/google_cloud/terragrunt/empty.yaml +1 -0
- f2dev/_bundle/platform/utils/__init__.py +0 -0
- f2dev/_bundle/platform/utils/customer_data_platform_repository_operator.py +1098 -0
- f2dev/_bundle/platform/utils/customer_secret_manager_operations.py +1635 -0
- f2dev/_bundle/platform/utils/environment_profiles.py +58 -0
- f2dev/_bundle/platform/utils/helm_utils.py +215 -0
- f2dev/_bundle/platform/utils/infrastructure_deployment_operator.py +1532 -0
- f2dev/_bundle/platform/utils/keycloak_realm_reconcile.py +320 -0
- f2dev/_bundle/platform/utils/kubeconfig_fixer.py +265 -0
- f2dev/_bundle/platform/utils/raw_extras.py +34 -0
- f2dev/_bundle/platform/utils/readiness.py +330 -0
- f2dev/_bundle/platform/utils/secret_structure_upgrade.py +194 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/.gitignore +7 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/README.md +33 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/analyses/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/dbt_project.yml +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_bq_time_zones.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/macros/fast2dev_monitoring_grain.sql +23 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.sql +19 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_daily_spend.yml +25 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.sql +16 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_model_costs_daily.yml +24 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.sql +12 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_storage_by_dataset.yml +21 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.sql +14 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_user_costs_daily.yml +22 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.sql +52 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_kpi.yml +42 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.sql +74 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/marts/fast2dev_bq_weekly_spend.yml +49 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/sources/billing_export.yml +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.sql +9 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/models/staging/fast2dev_bq_billing_export.yml +4 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/packages.yml +5 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/profiles.yml +15 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/scripts/run_monitoring.py +201 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/seeds/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/snapshots/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/control_plane_warehouse_stats_template/bigquery_usage/tests/.gitkeep +0 -0
- f2dev/_bundle/platform/utils/templates/dry_run/gcp_sa.json +12 -0
- f2dev/_bundle/platform/utils/templates/dry_run/kubeconfig.yaml +18 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/README.MD +50 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/dbt/README.MD +47 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/data_orchestrator/repository_structure/dags/fast2dev_healthcheck.py_template_airflow_3.x +158 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/bitbucket/bitbucket-pipelines.yml_template +144 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/pr-agent.yml +30 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitea/.gitea/workflows/validate-pr-description.yml +38 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/PR_VALIDATION.md +52 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/pull_request_template.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/argo-workflows.yml_template +143 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/pr-agent.yml +37 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/github/.github/workflows/validate-pr-description.yml +157 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/PR_VALIDATION.md +43 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab/merge_request_templates/Default.md +48 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/gitlab/.gitlab-ci.yml_template +181 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.gitignore +21 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/.pr_agent.toml +82 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/AGENTS.md +126 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/dbt_data_model/repository_structure/README.MD +101 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/DR.md +341 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/README.md.j2 +81 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/decrypt_files.py +331 -0
- f2dev/_bundle/platform/utils/templates/git_repo_templates/infrastructure_deployment_files/encrypt_files.py +321 -0
- f2dev/_bundle/platform/utils/templates/secret_structure_template/customer_vault_structure.json +502 -0
- f2dev/_bundle/platform/utils/vault_structure_sync.py +96 -0
- f2dev/_bundle/terraform-modules/README.md +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/README.md +7 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/addons-roles.tf +298 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/main.tf +313 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/outputs.tf +3 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/policies/lb-controller-policy.json +219 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/provider.tf +36 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/variables.tf +107 -0
- f2dev/_bundle/terraform-modules/aws_cloud/eks/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/main.tf +25 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/provider.tf +17 -0
- f2dev/_bundle/terraform-modules/aws_cloud/gcp_aws_zone/variables.tf +41 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/main.tf +34 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/provider.tf +12 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/variables.tf +118 -0
- f2dev/_bundle/terraform-modules/aws_cloud/vpc/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/azure_cloud/README.md +3 -0
- f2dev/_bundle/terraform-modules/google_cloud/README.md +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/main.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/artifact-registry/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/outputs.tf +25 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/providers.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/variables.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/main.tf +38 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/variables.tf +73 -0
- f2dev/_bundle/terraform-modules/google_cloud/cloud-dns-recordset/versions.tf +39 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/main.tf +213 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/outputs.tf +31 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/composer/variables.tf +192 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/main.tf +29 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/output.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/variables.tf +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-ou-folder/versions.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/main.tf +18 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/output.tf +8 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/variables.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/create-project/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/README.md +188 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/main.tf +135 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/output.tf +16 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/variables.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/deploy_sa/versions.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/main.tf +14 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/provider.tf +7 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/variables.tf +13 -0
- f2dev/_bundle/terraform-modules/google_cloud/enable_apis/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/README.md +89 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/main.tf +17 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/outputs.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/external-ip/variables.tf +43 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/main.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/providers.tf +6 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/variables.tf +37 -0
- f2dev/_bundle/terraform-modules/google_cloud/fw-add/versions.tf +9 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/README.md +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/main.tf +459 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/outputs.tf +44 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/provider.tf +19 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/variables.tf +354 -0
- f2dev/_bundle/terraform-modules/google_cloud/gke-cluster/versions.tf +22 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/README.md +40 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/main.tf +54 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/outputs.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/variables.tf +24 -0
- f2dev/_bundle/terraform-modules/google_cloud/kubeconfig/versions.tf +10 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/README.md +47 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/main.tf +51 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/README.md +103 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/main.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/outputs.tf +71 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/variables.tf +82 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/net-address/versions.tf +27 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/outputs.tf +35 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/provider.tf +4 -0
- f2dev/_bundle/terraform-modules/google_cloud/shared-vpc/variables.tf +237 -0
- f2dev/_bundle/terraform-modules/oracle_cloud/README.md +3 -0
- f2dev/launcher.py +153 -0
- fast2dev-1.0.0.dist-info/METADATA +201 -0
- fast2dev-1.0.0.dist-info/RECORD +543 -0
- fast2dev-1.0.0.dist-info/WHEEL +4 -0
- fast2dev-1.0.0.dist-info/entry_points.txt +2 -0
- fast2dev-1.0.0.dist-info/licenses/LICENSE +202 -0
- fast2dev-1.0.0.dist-info/licenses/NOTICE +6 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# f2dev: the fast2.dev installer
|
|
2
|
+
|
|
3
|
+
`f2dev` deploys the open-source fast2.dev data platform onto Kubernetes: Google Cloud (GKE),
|
|
4
|
+
AWS (EKS, preview) or any cluster you can reach with a kubeconfig.
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
uv tool install fast2dev # or: pipx install fast2dev
|
|
8
|
+
f2dev doctor # check (and install) kubectl, Helm, Terraform, Terragrunt, cloud CLIs
|
|
9
|
+
f2dev install # the deployment wizard
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
| Command | What it does |
|
|
13
|
+
|---|---|
|
|
14
|
+
| `f2dev install` | Run the wizard: new environment, or continue one. `--config FILE --non-interactive` for unattended runs |
|
|
15
|
+
| `f2dev upgrade` | Redeploy services at this version; `--services a,b` for only some |
|
|
16
|
+
| `f2dev generate` | Write every deployment file without deploying anything |
|
|
17
|
+
| `f2dev check` | Health report: services, certificates, HTTPS endpoints |
|
|
18
|
+
| `f2dev config` | Show the saved deployment configuration |
|
|
19
|
+
| `f2dev keycloak` | Show the Keycloak admin login and setup help |
|
|
20
|
+
| `f2dev restore <repo>` | Restore deployment files from the encrypted deployment repository |
|
|
21
|
+
| `f2dev reset` | Remove what phases 2-6 installed; keep infrastructure and answers |
|
|
22
|
+
| `f2dev destroy` | Destroy the environment |
|
|
23
|
+
| `f2dev doctor` | Check the tools this machine needs |
|
|
24
|
+
|
|
25
|
+
Deployment runs in six phases: infrastructure, secrets, repositories, infrastructure
|
|
26
|
+
services, data services and finalisation.
|
|
27
|
+
|
|
28
|
+
**Where files go.** Deployment state, secrets and rendered values are written to a workspace:
|
|
29
|
+
`~/.f2dev` by default (`F2DEV_HOME` to change it), or the repository itself when you run
|
|
30
|
+
`f2dev` inside a checkout. Upgrading the package refreshes the installer files and never
|
|
31
|
+
touches what your deployments generated.
|
|
32
|
+
|
|
33
|
+
**From source.** In a clone of [m7xlab/fast2.dev-platform](https://github.com/m7xlab/fast2.dev-platform),
|
|
34
|
+
`uv tool install --editable .` gives you `f2dev` running straight from the checkout;
|
|
35
|
+
`python platform/cli.py` works too.
|
|
36
|
+
|
|
37
|
+
| Path | Contents |
|
|
38
|
+
|---|---|
|
|
39
|
+
| `cli.py`, `cli/` | Installer: host precheck, wizard, deploy, upgrade, destroy, restore |
|
|
40
|
+
| `f2dev/` | The `f2dev` command and workspace handling |
|
|
41
|
+
| `deployers/` | One deployer per cloud and per service |
|
|
42
|
+
| `charts/` | Helm charts for infrastructure and data services |
|
|
43
|
+
| `terraform/` | Terragrunt templates rendered per customer (Google Cloud, AWS) |
|
|
44
|
+
| `utils/` | Vault, Keycloak, Git repository and readiness helpers, repository templates |
|
|
45
|
+
| `tests/` | Test suite (`pytest tests`) |
|
|
46
|
+
|
|
47
|
+
Guide: [fast2.dev/docs](https://fast2.dev/docs/). Licence: Apache-2.0.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
psycopg2-binary
|
|
2
|
+
kubernetes
|
|
3
|
+
google-api-core
|
|
4
|
+
google-api-python-client
|
|
5
|
+
google-auth
|
|
6
|
+
google-cloud-container
|
|
7
|
+
google-cloud-compute
|
|
8
|
+
google-cloud-core
|
|
9
|
+
google-cloud-bigquery
|
|
10
|
+
google-cloud-datacatalog
|
|
11
|
+
google-cloud-resource-manager
|
|
12
|
+
cryptography
|
|
13
|
+
argon2-cffi==23.1.0
|
|
14
|
+
bcrypt==5.0.0
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Generated by Terragrunt.
|
|
2
|
+
terraform {
|
|
3
|
+
backend "s3" {
|
|
4
|
+
bucket = "{{ state_bucket | default('fast2dev-terraform-states', true) }}"
|
|
5
|
+
dynamodb_table = "{{ state_dynamodb_table | default('fast2dev-terraform-states', true) }}"
|
|
6
|
+
encrypt = true
|
|
7
|
+
key = "{{ customer }}/./terraform.tfstate"
|
|
8
|
+
region = "{{ state_region | default('eu-north-1', true) }}"
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
region: "{{ region }}"
|
|
2
|
+
location: "{{ region }}"
|
|
3
|
+
customer: "{{ customer }}"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# Terraform module source: "local" = use fast2.dev/terraform-modules on disk,
|
|
7
|
+
# "repo" = download from git. terraform_modules_local_path empty = repo default.
|
|
8
|
+
terraform_modules: "{{ terraform_modules | default('local') }}"
|
|
9
|
+
terraform_modules_local_path: ""
|
|
10
|
+
terraform_modules_repo: "git::https://github.com/m7xlab/data-platform-terraform-module.git"
|
|
11
|
+
terraform_modules_ref: "v1.1.0.1"
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{%- if terraform_state == "remote" %}
|
|
2
|
+
# REMOTE S3 STATE WITH CUSTOMER SEPARATION
|
|
3
|
+
remote_state {
|
|
4
|
+
backend = "s3"
|
|
5
|
+
disable_dependency_optimization = true
|
|
6
|
+
generate = {
|
|
7
|
+
path = "backend.tf"
|
|
8
|
+
if_exists = "overwrite"
|
|
9
|
+
}
|
|
10
|
+
config = {
|
|
11
|
+
encrypt = true
|
|
12
|
+
bucket = local.state_bucket
|
|
13
|
+
key = "${local.customer}/${path_relative_to_include()}/terraform.tfstate"
|
|
14
|
+
region = local.state_region
|
|
15
|
+
dynamodb_table = local.state_dynamodb_table
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
{%- elif terraform_state == "local" %}
|
|
19
|
+
# LOCAL STATE WITH CUSTOMER SEPARATION
|
|
20
|
+
remote_state {
|
|
21
|
+
backend = "local"
|
|
22
|
+
generate = {
|
|
23
|
+
path = "backend.tf"
|
|
24
|
+
if_exists = "overwrite"
|
|
25
|
+
}
|
|
26
|
+
config = {
|
|
27
|
+
path = "${get_terragrunt_dir()}/.terraform/${local.customer}/${path_relative_to_include()}/terraform.tfstate"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
{%- endif %}
|
|
31
|
+
|
|
32
|
+
locals {
|
|
33
|
+
# STATE MANAGEMENT CONFIGURATION
|
|
34
|
+
{%- if terraform_state == "local" %}
|
|
35
|
+
state_backend = "local"
|
|
36
|
+
{%- elif terraform_state == "remote" %}
|
|
37
|
+
state_backend = "s3"
|
|
38
|
+
state_bucket = "{{ state_bucket | default('fast2dev-terraform-states', true) }}"
|
|
39
|
+
state_region = "{{ state_region | default('eu-north-1', true) }}"
|
|
40
|
+
state_dynamodb_table = "{{ state_dynamodb_table | default('fast2dev-terraform-states', true) }}"
|
|
41
|
+
{%- endif %}
|
|
42
|
+
default_yaml_path = try(find_in_parent_folders("empty.yaml"), "${get_terragrunt_dir()}/empty.yaml")
|
|
43
|
+
|
|
44
|
+
# TERRAFORM MODULE SOURCE (see terraform_modules* keys in defaults.yaml)
|
|
45
|
+
tf_modules_cfg = yamldecode(file(find_in_parent_folders("defaults.yaml", local.default_yaml_path)))
|
|
46
|
+
tf_modules_mode = lookup(local.tf_modules_cfg, "terraform_modules", "local")
|
|
47
|
+
tf_modules_local = coalesce(lookup(local.tf_modules_cfg, "terraform_modules_local_path", ""), abspath("${get_parent_terragrunt_dir()}/../../../../../terraform-modules"))
|
|
48
|
+
tf_modules_repo = lookup(local.tf_modules_cfg, "terraform_modules_repo", "git::https://github.com/m7xlab/data-platform-terraform-module.git")
|
|
49
|
+
tf_modules_ref = lookup(local.tf_modules_cfg, "terraform_modules_ref", "v1.1.0.1")
|
|
50
|
+
# Usage in a unit: source = "${include.root.locals.module_base}aws_cloud/<module>${include.root.locals.module_ref}"
|
|
51
|
+
module_base = local.tf_modules_mode == "local" ? "${local.tf_modules_local}/" : "${local.tf_modules_repo}//"
|
|
52
|
+
module_ref = local.tf_modules_mode == "local" ? "" : "?ref=${local.tf_modules_ref}"
|
|
53
|
+
|
|
54
|
+
# CORE
|
|
55
|
+
customer = "{{ customer }}"
|
|
56
|
+
region = "{{ region }}"
|
|
57
|
+
deployer_member = ["{{ admin_email }}"]
|
|
58
|
+
|
|
59
|
+
#01-apps-vpc
|
|
60
|
+
vpc_name = "fast2dev-{{ customer }}-vpc"
|
|
61
|
+
vpc_cidr = "{{ vpc_cidr | default('172.22.0.0/16', true) }}"
|
|
62
|
+
az_size = {{ az_size | default(3, true) }}
|
|
63
|
+
private_subnets = [{% for c in private_subnets | default(["172.22.16.0/21","172.22.24.0/21","172.22.32.0/21"]) %}{% if not loop.first %}, {% endif %}"{{ c }}"{% endfor %}]
|
|
64
|
+
public_subnets = [{% for c in public_subnets | default(["172.22.0.0/24","172.22.1.0/24","172.22.2.0/24"]) %}{% if not loop.first %}, {% endif %}"{{ c }}"{% endfor %}]
|
|
65
|
+
enable_nat_gateway = true
|
|
66
|
+
single_nat_gateway = true
|
|
67
|
+
one_nat_gateway_per_az = false
|
|
68
|
+
enable_dns_hostnames = true
|
|
69
|
+
enable_dns_support = true
|
|
70
|
+
enable_flow_log = false
|
|
71
|
+
vpc_tags = {
|
|
72
|
+
Name = "fast2dev-{{ customer }}-vpc"
|
|
73
|
+
}
|
|
74
|
+
private_subnet_tags = {
|
|
75
|
+
"kubernetes.io/role/internal-elb" = "1"
|
|
76
|
+
}
|
|
77
|
+
public_subnet_tags = {
|
|
78
|
+
"kubernetes.io/role/elb" = "1"
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
#02-eks-cluster
|
|
82
|
+
cluster_name = "{{ cluster_name | default('fast2dev-' ~ customer ~ '-eks', true) }}"
|
|
83
|
+
cluster_version = "{{ cluster_version | default('1.32', true) }}"
|
|
84
|
+
cluster_endpoint_public_access_cidrs = [{% for ip in cluster_endpoint_public_access_cidrs | default(["0.0.0.0/0"]) | reject('equalto', "") %}{% if not loop.first %}, {% endif %}"{{ ip }}"{% endfor %}]
|
|
85
|
+
eks_managed_node_groups = {
|
|
86
|
+
default = {
|
|
87
|
+
ami_type = "AL2023_x86_64_STANDARD"
|
|
88
|
+
instance_types = [{% for t in eks_instance_types | default(["m5.xlarge","m6i.xlarge","m7i.xlarge"]) %}{% if not loop.first %}, {% endif %}"{{ t }}"{% endfor %}]
|
|
89
|
+
capacity_type = "{{ eks_capacity_type | default('SPOT', true) }}"
|
|
90
|
+
min_size = {{ eks_min_size | default(6, true) }}
|
|
91
|
+
max_size = {{ eks_max_size | default(10, true) }}
|
|
92
|
+
desired_size = {{ eks_desired_size | default(6, true) }}
|
|
93
|
+
block_device_mappings = {
|
|
94
|
+
xvda = {
|
|
95
|
+
device_name = "/dev/xvda"
|
|
96
|
+
ebs = {
|
|
97
|
+
volume_size = {{ eks_disk_size | default(50, true) }}
|
|
98
|
+
volume_type = "gp3"
|
|
99
|
+
delete_on_termination = true
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
iam_role_additional_policies = {
|
|
104
|
+
AmazonSSMManagedInstanceCore = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
|
|
105
|
+
AmazonEKSWorkerNodePolicy = "arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy"
|
|
106
|
+
AmazonEKS_CNI_Policy = "arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"
|
|
107
|
+
AmazonEC2ContainerRegistryReadOnly = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
#05-create-dns-zone (cloud-native Route53 zone for the platform subdomain)
|
|
113
|
+
subdomain = "{{ customer }}.{{ domain_name }}"
|
|
114
|
+
main_domain = "{{ domain_name }}"
|
|
115
|
+
|
|
116
|
+
#06-create-dns-ns-record (delegate from the parent zone to the subdomain)
|
|
117
|
+
dns_record_name = "{{ customer }}"
|
|
118
|
+
parent_dns_provider = "{{ parent_dns_provider | default('route53', true) }}"
|
|
119
|
+
parent_dns_zone_name = "{{ parent_dns_zone_name | default(domain_name, true) }}"
|
|
120
|
+
parent_dns_project_id = "{{ parent_dns_project_id | default('', true) }}"
|
|
121
|
+
|
|
122
|
+
#whitelist
|
|
123
|
+
allow_ips = [{% for ip in whitelisted_ips | default(["0.0.0.0/0"]) | reject('equalto', "") %}{% if not loop.first %}, {% endif %}"{{ ip }}"{% endfor %}]
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
# Common inputs inherited by every unit.
|
|
127
|
+
inputs = merge(
|
|
128
|
+
yamldecode(
|
|
129
|
+
file("${find_in_parent_folders("defaults.yaml", local.default_yaml_path)}"),
|
|
130
|
+
),
|
|
131
|
+
yamldecode(
|
|
132
|
+
file("${find_in_parent_folders("env.yaml", local.default_yaml_path)}"),
|
|
133
|
+
)
|
|
134
|
+
)
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
{%- if terraform_state == "remote" %}
|
|
2
|
+
# REMOTE S3 STATE WITH CUSTOMER SEPARATION
|
|
3
|
+
remote_state {
|
|
4
|
+
backend = "s3"
|
|
5
|
+
disable_dependency_optimization = true
|
|
6
|
+
generate = {
|
|
7
|
+
path = "backend.tf"
|
|
8
|
+
if_exists = "overwrite"
|
|
9
|
+
}
|
|
10
|
+
config = {
|
|
11
|
+
encrypt = true
|
|
12
|
+
bucket = local.state_bucket
|
|
13
|
+
key = "${local.customer}/${path_relative_to_include()}/terraform.tfstate"
|
|
14
|
+
region = local.state_region
|
|
15
|
+
dynamodb_table = local.state_dynamodb_table
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
{%- elif terraform_state == "local" %}
|
|
19
|
+
# LOCAL STATE WITH CUSTOMER SEPARATION
|
|
20
|
+
remote_state {
|
|
21
|
+
backend = "local"
|
|
22
|
+
generate = {
|
|
23
|
+
path = "backend.tf"
|
|
24
|
+
if_exists = "overwrite"
|
|
25
|
+
}
|
|
26
|
+
config = {
|
|
27
|
+
path = "${get_terragrunt_dir()}/.terraform/${local.customer}/${path_relative_to_include()}/terraform.tfstate"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
{%- endif %}
|
|
31
|
+
|
|
32
|
+
locals {
|
|
33
|
+
# STATE MANAGEMENT CONFIGURATION
|
|
34
|
+
{%- if terraform_state == "local" %}
|
|
35
|
+
state_backend = "local"
|
|
36
|
+
{%- elif terraform_state == "remote" %}
|
|
37
|
+
state_backend = "s3"
|
|
38
|
+
state_bucket = "{{ state_bucket | default('fast2dev-terraform-states', true) }}"
|
|
39
|
+
state_region = "{{ state_region | default('eu-north-1', true) }}"
|
|
40
|
+
state_dynamodb_table = "{{ state_dynamodb_table | default('fast2dev-terraform-states', true) }}"
|
|
41
|
+
{%- endif %}
|
|
42
|
+
default_yaml_path = try(find_in_parent_folders("empty.yaml"), "${get_terragrunt_dir()}/empty.yaml")
|
|
43
|
+
|
|
44
|
+
# TERRAFORM MODULE SOURCE (see terraform_modules* keys in defaults.yaml)
|
|
45
|
+
tf_modules_cfg = yamldecode(file(find_in_parent_folders("defaults.yaml", local.default_yaml_path)))
|
|
46
|
+
tf_modules_mode = lookup(local.tf_modules_cfg, "terraform_modules", "local")
|
|
47
|
+
tf_modules_local = coalesce(lookup(local.tf_modules_cfg, "terraform_modules_local_path", ""), abspath("${get_parent_terragrunt_dir()}/../../../../../terraform-modules"))
|
|
48
|
+
tf_modules_repo = lookup(local.tf_modules_cfg, "terraform_modules_repo", "git::https://github.com/m7xlab/data-platform-terraform-module.git")
|
|
49
|
+
tf_modules_ref = lookup(local.tf_modules_cfg, "terraform_modules_ref", "v1.1.0.1")
|
|
50
|
+
# Usage in a unit: source = "${include.root.locals.module_base}aws_cloud/<module>${include.root.locals.module_ref}"
|
|
51
|
+
module_base = local.tf_modules_mode == "local" ? "${local.tf_modules_local}/" : "${local.tf_modules_repo}//"
|
|
52
|
+
module_ref = local.tf_modules_mode == "local" ? "" : "?ref=${local.tf_modules_ref}"
|
|
53
|
+
|
|
54
|
+
# CORE
|
|
55
|
+
customer = "{{ customer }}"
|
|
56
|
+
region = "{{ region }}"
|
|
57
|
+
deployer_member = ["{{ admin_email }}"]
|
|
58
|
+
|
|
59
|
+
#01-apps-vpc
|
|
60
|
+
vpc_name = "fast2dev-{{ customer }}-vpc"
|
|
61
|
+
vpc_cidr = "{{ vpc_cidr | default('172.22.0.0/16', true) }}"
|
|
62
|
+
az_size = {{ az_size | default(3, true) }}
|
|
63
|
+
private_subnets = [{% for c in private_subnets | default(["172.22.16.0/21","172.22.24.0/21","172.22.32.0/21"]) %}{% if not loop.first %}, {% endif %}"{{ c }}"{% endfor %}]
|
|
64
|
+
public_subnets = [{% for c in public_subnets | default(["172.22.0.0/24","172.22.1.0/24","172.22.2.0/24"]) %}{% if not loop.first %}, {% endif %}"{{ c }}"{% endfor %}]
|
|
65
|
+
enable_nat_gateway = true
|
|
66
|
+
single_nat_gateway = true
|
|
67
|
+
one_nat_gateway_per_az = false
|
|
68
|
+
enable_dns_hostnames = true
|
|
69
|
+
enable_dns_support = true
|
|
70
|
+
enable_flow_log = false
|
|
71
|
+
vpc_tags = {
|
|
72
|
+
Name = "fast2dev-{{ customer }}-vpc"
|
|
73
|
+
}
|
|
74
|
+
private_subnet_tags = {
|
|
75
|
+
"kubernetes.io/role/internal-elb" = "1"
|
|
76
|
+
}
|
|
77
|
+
public_subnet_tags = {
|
|
78
|
+
"kubernetes.io/role/elb" = "1"
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
#02-eks-cluster
|
|
82
|
+
cluster_name = "{{ cluster_name | default('fast2dev-' ~ customer ~ '-eks', true) }}"
|
|
83
|
+
cluster_version = "{{ cluster_version | default('1.32', true) }}"
|
|
84
|
+
cluster_endpoint_public_access_cidrs = [{% for ip in cluster_endpoint_public_access_cidrs | default(["0.0.0.0/0"]) | reject('equalto', "") %}{% if not loop.first %}, {% endif %}"{{ ip }}"{% endfor %}]
|
|
85
|
+
eks_managed_node_groups = {
|
|
86
|
+
default = {
|
|
87
|
+
ami_type = "AL2023_x86_64_STANDARD"
|
|
88
|
+
instance_types = [{% for t in eks_instance_types | default(["m5.xlarge","m6i.xlarge","m7i.xlarge"]) %}{% if not loop.first %}, {% endif %}"{{ t }}"{% endfor %}]
|
|
89
|
+
capacity_type = "{{ eks_capacity_type | default('SPOT', true) }}"
|
|
90
|
+
min_size = {{ eks_min_size | default(6, true) }}
|
|
91
|
+
max_size = {{ eks_max_size | default(10, true) }}
|
|
92
|
+
desired_size = {{ eks_desired_size | default(6, true) }}
|
|
93
|
+
block_device_mappings = {
|
|
94
|
+
xvda = {
|
|
95
|
+
device_name = "/dev/xvda"
|
|
96
|
+
ebs = {
|
|
97
|
+
volume_size = {{ eks_disk_size | default(50, true) }}
|
|
98
|
+
volume_type = "gp3"
|
|
99
|
+
delete_on_termination = true
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
iam_role_additional_policies = {
|
|
104
|
+
AmazonSSMManagedInstanceCore = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
|
|
105
|
+
AmazonEKSWorkerNodePolicy = "arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy"
|
|
106
|
+
AmazonEKS_CNI_Policy = "arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"
|
|
107
|
+
AmazonEC2ContainerRegistryReadOnly = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
#05-create-dns-zone (cloud-native Route53 zone for the platform subdomain)
|
|
113
|
+
subdomain = "{{ customer }}.{{ domain_name }}"
|
|
114
|
+
main_domain = "{{ domain_name }}"
|
|
115
|
+
|
|
116
|
+
#06-create-dns-ns-record (delegate from the parent zone to the subdomain)
|
|
117
|
+
dns_record_name = "{{ customer }}"
|
|
118
|
+
parent_dns_provider = "{{ parent_dns_provider | default('route53', true) }}"
|
|
119
|
+
parent_dns_zone_name = "{{ parent_dns_zone_name | default(domain_name, true) }}"
|
|
120
|
+
parent_dns_project_id = "{{ parent_dns_project_id | default('', true) }}"
|
|
121
|
+
|
|
122
|
+
#whitelist
|
|
123
|
+
allow_ips = [{% for ip in whitelisted_ips | default(["0.0.0.0/0"]) | reject('equalto', "") %}{% if not loop.first %}, {% endif %}"{{ ip }}"{% endfor %}]
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
# Common inputs inherited by every unit.
|
|
127
|
+
inputs = merge(
|
|
128
|
+
yamldecode(
|
|
129
|
+
file("${find_in_parent_folders("defaults.yaml", local.default_yaml_path)}"),
|
|
130
|
+
),
|
|
131
|
+
yamldecode(
|
|
132
|
+
file("${find_in_parent_folders("env.yaml", local.default_yaml_path)}"),
|
|
133
|
+
)
|
|
134
|
+
)
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Configure Terragrunt to use S3 for state management
|
|
2
|
+
remote_state {
|
|
3
|
+
backend = "s3"
|
|
4
|
+
generate = {
|
|
5
|
+
path = "backend.tf"
|
|
6
|
+
if_exists = "overwrite_terragrunt"
|
|
7
|
+
}
|
|
8
|
+
config = {
|
|
9
|
+
encrypt = true
|
|
10
|
+
bucket = "fast2dev-terraform-states"
|
|
11
|
+
key = "{{ customer }}/${path_relative_to_include()}/terraform.tfstate"
|
|
12
|
+
region = "eu-north-1"
|
|
13
|
+
dynamodb_table = "fast2dev-terraform-states"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
locals {
|
|
18
|
+
default_yaml_path = try(find_in_parent_folders("empty.yaml"), "${get_terragrunt_dir()}/empty.yaml")
|
|
19
|
+
environment = "dev"
|
|
20
|
+
##For all
|
|
21
|
+
region = "eu-north-1"
|
|
22
|
+
|
|
23
|
+
##03-0-apps-vpc
|
|
24
|
+
vpc_name = "fast2dev-dev-vpc"
|
|
25
|
+
vpc_cidr = "172.22.0.0/16"
|
|
26
|
+
az_size = 3
|
|
27
|
+
private_subnets = ["172.22.16.0/21","172.22.24.0/21","172.22.32.0/21"]
|
|
28
|
+
public_subnets = ["172.22.0.0/24","172.22.1.0/24","172.22.2.0/24"]
|
|
29
|
+
enable_nat_gateway = true
|
|
30
|
+
single_nat_gateway = true
|
|
31
|
+
one_nat_gateway_per_az = false
|
|
32
|
+
enable_dns_hostnames = true
|
|
33
|
+
enable_dns_support = true
|
|
34
|
+
enable_flow_log = false
|
|
35
|
+
vpc_tags = {
|
|
36
|
+
Name = "fast2dev-dev-vpc"
|
|
37
|
+
}
|
|
38
|
+
private_subnet_tags = {
|
|
39
|
+
"kubernetes.io/role/internal-elb" = "1"
|
|
40
|
+
}
|
|
41
|
+
public_subnet_tags = {
|
|
42
|
+
"kubernetes.io/role/elb" = "1"
|
|
43
|
+
}
|
|
44
|
+
##06-create-dns-ns-record
|
|
45
|
+
main_domain = "fast2.dev"
|
|
46
|
+
gcp_dns_zone_name = "fast2dev"
|
|
47
|
+
gcp_project_id = "fast2dev-mgmt"
|
|
48
|
+
subdomain = "fast2.dev"
|
|
49
|
+
|
|
50
|
+
##07-gke-cluster
|
|
51
|
+
cluster_name = "fast2dev-dev-eks"
|
|
52
|
+
cluster_version = 1.32
|
|
53
|
+
eks_managed_node_groups = {
|
|
54
|
+
spot_managed = {
|
|
55
|
+
# Starting on 1.30, AL2023 is the default AMI type for EKS managed node groups
|
|
56
|
+
ami_type = "AL2023_x86_64_STANDARD" #"BOTTLEROCKET_x86_64"
|
|
57
|
+
instance_types = ["m5.xlarge","m6i.xlarge", "m7i.xlarge"]
|
|
58
|
+
capacity_type = "SPOT"
|
|
59
|
+
min_size = 6
|
|
60
|
+
max_size = 10
|
|
61
|
+
desired_size = 6
|
|
62
|
+
use_mixed_instances_policy = true
|
|
63
|
+
mixed_instances_policy = {
|
|
64
|
+
instances_distribution = {
|
|
65
|
+
on_demand_base_capacity = 0
|
|
66
|
+
on_demand_percentage_above_base_capacity = 0 # All instances are spot
|
|
67
|
+
spot_allocation_strategy = "price-capacity-optimized" # or "price-capacity-optimized"
|
|
68
|
+
spot_instance_pools = 0 # Use 0 for capacity-optimized strategy
|
|
69
|
+
}
|
|
70
|
+
override = [
|
|
71
|
+
{
|
|
72
|
+
instance_type = "m5.xlarge"
|
|
73
|
+
weighted_capacity = "1"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
instance_type = "m6i.xlarge"
|
|
77
|
+
weighted_capacity = "1"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
instance_type = "m7i.xlarge"
|
|
81
|
+
weighted_capacity = "1"
|
|
82
|
+
},
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
# Block device for node group instances
|
|
86
|
+
block_device_mappings = {
|
|
87
|
+
xvda = {
|
|
88
|
+
device_name = "/dev/xvda"
|
|
89
|
+
ebs = {
|
|
90
|
+
volume_size = 50
|
|
91
|
+
volume_type = "gp3"
|
|
92
|
+
delete_on_termination = true
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
iam_role_additional_policies = {
|
|
97
|
+
AmazonSSMManagedInstanceCore = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
|
|
98
|
+
AmazonSSMFullAccess = "arn:aws:iam::aws:policy/AmazonSSMFullAccess"
|
|
99
|
+
AmazonEKSWorkerNodePolicy = "arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy"
|
|
100
|
+
AmazonEKS_CNI_Policy = "arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"
|
|
101
|
+
AmazonEC2ContainerRegistryReadOnly = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
bootstrap_extra_args = <<-EOT
|
|
105
|
+
# The admin host container provides SSH access and runs with "superpowers".
|
|
106
|
+
# It is disabled by default, but can be disabled explicitly.
|
|
107
|
+
[settings.host-containers.admin]
|
|
108
|
+
enabled = true
|
|
109
|
+
|
|
110
|
+
# The control host container provides out-of-band access via SSM.
|
|
111
|
+
# It is enabled by default, and can be disabled if you do not expect to use SSM.
|
|
112
|
+
# This could leave you with no way to access the API and change settings on an existing node!
|
|
113
|
+
[settings.host-containers.control]
|
|
114
|
+
enabled = true
|
|
115
|
+
|
|
116
|
+
# extra args added
|
|
117
|
+
[settings.kernel]
|
|
118
|
+
lockdown = "integrity"
|
|
119
|
+
EOT
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
# Generate the common environment variables for child resources
|
|
126
|
+
inputs = merge(
|
|
127
|
+
yamldecode(
|
|
128
|
+
file("${find_in_parent_folders("env.hcl", local.default_yaml_path)}"),
|
|
129
|
+
),
|
|
130
|
+
yamldecode(
|
|
131
|
+
file("${find_in_parent_folders("defaults.yaml", local.default_yaml_path)}"),
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
)
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
# Configure Terragrunt to use S3 for state management
|
|
2
|
+
remote_state {
|
|
3
|
+
backend = "s3"
|
|
4
|
+
generate = {
|
|
5
|
+
path = "backend.tf"
|
|
6
|
+
if_exists = "overwrite_terragrunt"
|
|
7
|
+
}
|
|
8
|
+
config = {
|
|
9
|
+
encrypt = true
|
|
10
|
+
bucket = "fast2dev-terraform-states"
|
|
11
|
+
key = "{{ customer }}/${path_relative_to_include()}/terraform.tfstate"
|
|
12
|
+
region = "eu-north-1"
|
|
13
|
+
dynamodb_table = "fast2dev-terraform-states"
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
locals {
|
|
18
|
+
default_yaml_path = try(find_in_parent_folders("empty.yaml"), "${get_terragrunt_dir()}/empty.yaml")
|
|
19
|
+
environment = {{ environment }}
|
|
20
|
+
##For all
|
|
21
|
+
region = "{{ region }}"
|
|
22
|
+
|
|
23
|
+
##03-0-apps-vpc
|
|
24
|
+
vpc_name = "fast2dev-dev-vpc"
|
|
25
|
+
vpc_cidr = "172.22.0.0/16"
|
|
26
|
+
az_size = 3
|
|
27
|
+
private_subnets = ["172.22.16.0/21","172.22.24.0/21","172.22.32.0/21"]
|
|
28
|
+
public_subnets = ["172.22.0.0/24","172.22.1.0/24","172.22.2.0/24"]
|
|
29
|
+
enable_nat_gateway = true
|
|
30
|
+
single_nat_gateway = true
|
|
31
|
+
one_nat_gateway_per_az = false
|
|
32
|
+
enable_dns_hostnames = true
|
|
33
|
+
enable_dns_support = true
|
|
34
|
+
enable_flow_log = false
|
|
35
|
+
vpc_tags = {
|
|
36
|
+
Name = "fast2dev-dev-vpc"
|
|
37
|
+
}
|
|
38
|
+
private_subnet_tags = {
|
|
39
|
+
"kubernetes.io/role/internal-elb" = "1"
|
|
40
|
+
}
|
|
41
|
+
public_subnet_tags = {
|
|
42
|
+
"kubernetes.io/role/elb" = "1"
|
|
43
|
+
}
|
|
44
|
+
##06-create-dns-ns-record
|
|
45
|
+
main_domain = "fast2.dev"
|
|
46
|
+
gcp_dns_zone_name = "fast2dev"
|
|
47
|
+
gcp_project_id = "fast2dev-mgmt"
|
|
48
|
+
subdomain = "fast2dev.dev"
|
|
49
|
+
|
|
50
|
+
##07-gke-cluster
|
|
51
|
+
cluster_name = "fast2dev-dev-eks"
|
|
52
|
+
cluster_version = 1.32
|
|
53
|
+
eks_managed_node_groups = {
|
|
54
|
+
spot_managed = {
|
|
55
|
+
# Starting on 1.30, AL2023 is the default AMI type for EKS managed node groups
|
|
56
|
+
ami_type = "AL2023_x86_64_STANDARD" #"BOTTLEROCKET_x86_64"
|
|
57
|
+
instance_types = ["m5.xlarge","m6i.xlarge", "m7i.xlarge"]
|
|
58
|
+
capacity_type = "SPOT"
|
|
59
|
+
min_size = 6
|
|
60
|
+
max_size = 10
|
|
61
|
+
desired_size = 6
|
|
62
|
+
use_mixed_instances_policy = true
|
|
63
|
+
mixed_instances_policy = {
|
|
64
|
+
instances_distribution = {
|
|
65
|
+
on_demand_base_capacity = 0
|
|
66
|
+
on_demand_percentage_above_base_capacity = 0 # All instances are spot
|
|
67
|
+
spot_allocation_strategy = "price-capacity-optimized" # or "price-capacity-optimized"
|
|
68
|
+
spot_instance_pools = 0 # Use 0 for capacity-optimized strategy
|
|
69
|
+
}
|
|
70
|
+
override = [
|
|
71
|
+
{
|
|
72
|
+
instance_type = "m5.xlarge"
|
|
73
|
+
weighted_capacity = "1"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
instance_type = "m6i.xlarge"
|
|
77
|
+
weighted_capacity = "1"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
instance_type = "m7i.xlarge"
|
|
81
|
+
weighted_capacity = "1"
|
|
82
|
+
},
|
|
83
|
+
]
|
|
84
|
+
}
|
|
85
|
+
# Block device for node group instances
|
|
86
|
+
block_device_mappings = {
|
|
87
|
+
xvda = {
|
|
88
|
+
device_name = "/dev/xvda"
|
|
89
|
+
ebs = {
|
|
90
|
+
volume_size = 50
|
|
91
|
+
volume_type = "gp3"
|
|
92
|
+
delete_on_termination = true
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
iam_role_additional_policies = {
|
|
97
|
+
AmazonSSMManagedInstanceCore = "arn:aws:iam::aws:policy/AmazonSSMManagedInstanceCore"
|
|
98
|
+
AmazonSSMFullAccess = "arn:aws:iam::aws:policy/AmazonSSMFullAccess"
|
|
99
|
+
AmazonEKSWorkerNodePolicy = "arn:aws:iam::aws:policy/AmazonEKSWorkerNodePolicy"
|
|
100
|
+
AmazonEKS_CNI_Policy = "arn:aws:iam::aws:policy/AmazonEKS_CNI_Policy"
|
|
101
|
+
AmazonEC2ContainerRegistryReadOnly = "arn:aws:iam::aws:policy/AmazonEC2ContainerRegistryReadOnly"
|
|
102
|
+
|
|
103
|
+
}
|
|
104
|
+
bootstrap_extra_args = <<-EOT
|
|
105
|
+
# The admin host container provides SSH access and runs with "superpowers".
|
|
106
|
+
# It is disabled by default, but can be disabled explicitly.
|
|
107
|
+
[settings.host-containers.admin]
|
|
108
|
+
enabled = true
|
|
109
|
+
|
|
110
|
+
# The control host container provides out-of-band access via SSM.
|
|
111
|
+
# It is enabled by default, and can be disabled if you do not expect to use SSM.
|
|
112
|
+
# This could leave you with no way to access the API and change settings on an existing node!
|
|
113
|
+
[settings.host-containers.control]
|
|
114
|
+
enabled = true
|
|
115
|
+
|
|
116
|
+
# extra args added
|
|
117
|
+
[settings.kernel]
|
|
118
|
+
lockdown = "integrity"
|
|
119
|
+
EOT
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
# Generate the common environment variables for child resources
|
|
126
|
+
inputs = merge(
|
|
127
|
+
yamldecode(
|
|
128
|
+
file("${find_in_parent_folders("env.hcl", local.default_yaml_path)}"),
|
|
129
|
+
),
|
|
130
|
+
yamldecode(
|
|
131
|
+
file("${find_in_parent_folders("defaults.yaml", local.default_yaml_path)}"),
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
terraform {
|
|
3
|
+
source = "git::https://github.com/m7xlab/data-platform-terraform-module.git//aws_cloud/vpc?ref=v1.0.0"
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
include "root"{
|
|
7
|
+
path = find_in_parent_folders("root.hcl")
|
|
8
|
+
expose = true
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
inputs = {
|
|
12
|
+
vpc_name = include.root.locals.vpc_name
|
|
13
|
+
vpc_cidr = include.root.locals.vpc_cidr
|
|
14
|
+
az_size = include.root.locals.az_size
|
|
15
|
+
private_subnets = include.root.locals.private_subnets
|
|
16
|
+
public_subnets = include.root.locals.public_subnets
|
|
17
|
+
enable_nat_gateway = include.root.locals.enable_nat_gateway
|
|
18
|
+
single_nat_gateway = include.root.locals.single_nat_gateway
|
|
19
|
+
one_nat_gateway_per_az = include.root.locals.one_nat_gateway_per_az
|
|
20
|
+
enable_dns_hostnames = include.root.locals.enable_dns_hostnames
|
|
21
|
+
enable_dns_support = include.root.locals.enable_dns_support
|
|
22
|
+
enable_flow_log = include.root.locals.enable_flow_log
|
|
23
|
+
vpc_tags = include.root.locals.vpc_tags
|
|
24
|
+
private_subnet_tags = include.root.locals.private_subnet_tags
|
|
25
|
+
public_subnet_tags = include.root.locals.public_subnet_tags
|
|
26
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
terraform {
|
|
3
|
+
source = "git::https://github.com/m7xlab/data-platform-terraform-module.git//aws_cloud/gcp_aws_zone?ref=v1.0.0"
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
include "root" {
|
|
7
|
+
path = find_in_parent_folders("root.hcl")
|
|
8
|
+
expose = true
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
inputs = {
|
|
12
|
+
main_domain = include.root.locals.main_domain
|
|
13
|
+
gcp_dns_zone_name = include.root.locals.gcp_dns_zone_name
|
|
14
|
+
gcp_project_id = include.root.locals.gcp_project_id
|
|
15
|
+
subdomain = include.root.locals.subdomain
|
|
16
|
+
}
|