GoogleCloudPlatform / pubsec-declarative-toolkit

The GCP PubSec Declarative Toolkit is a collection of declarative solutions to help you on your Journey to Google Cloud. Solutions are designed using Config Connector and deployed using Config Controller.
Apache License 2.0
30 stars 26 forks source link

terraform core/client landing zone shadowing - for hybrid, triage or day 2 deployments #870

Closed obriensystems closed 2 months ago

obriensystems commented 4 months ago

20240403: shadow work in the terraform-example-foundation under https://github.com/terraform-google-modules/terraform-example-foundation/issues/1133

see kcc automation #766 see hybrid #818 branch https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/gh870-terraform org

There is a requirement for a mixed day 2 deployment strategy around kubernetes and gcloud or terraform. The following packages will shadow the existing kubernetes yaml config - but in terraform

see

graph LR;
    style LZV2 fill:#44f,stroke:#f66,stroke-width:2px,color:#fff,stroke-dasharray: 5 5
    %% mapped and documented
    project/hub-env-->core-landing-zone;
    client-setup;
    client-setup-->dns-project;
    client-setup-->kcc-management-project;
    client-landing-zone-->client-setup;
    client-project-setup-->client-landing-zone;
    client-project-setup-->client-management-project;
    gatekeeper-policies;

    kcc-management-project;
    core-landing-zone-->kcc-management-project;
    dns-project-->core-landing-zone;
    logging-project-->core-landing-zone;
    client-management-project-->client-setup;
    host-project-->client-landing-zone;

mermaid - diagrams as code

Structure

Based on parts of the following repositories

Architecture

Work Items

obriensystems commented 4 months ago

Initial port/copy and back reference to base https://github.com/40net-cloud/fortinet-gcp-solutions/tree/master/FortiGate to https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/gh870-terraform/terraform via https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/compare/main...gh870-terraform https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/commit/b8022ebf5e037e05128d492ee9f9093cc2bfe54e

fmichaelobrien commented 3 months ago

Reopening as shadow of the terraform-example-foundation work in https://github.com/terraform-google-modules/terraform-example-foundation/issues/1133

fmichaelobrien commented 2 months ago

duplicates https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/360