f5devcentral / terraform-modular-demo-framework

Apache License 2.0
5 stars 3 forks source link

expensive.food

Getting Started

This uses terraform and terragrunt to deploy resources.

Tools and Versions tested

Terraform 1.3.8 Terragrunt 0.43.2 Inspec 5.21.29

Preconditions

aws, az, and gcloud CLI installed

credentials with s

Distributed Cloud Cloud Credential for each of the platforms in the same accounts

sequenceDiagram
  participant Terragrunt
  participant Terraform
  participant AWS Provider
  participant AWS
  participant F5XC Provider
  participant F5XC
  loop Variablesetup
    Terragrunt-->>Terragrunt: ENV and TFvars
    Terragrunt-->>Terragrunt: retrieve module source
  end
  Terragrunt-->>Terraform: Init and Apply
  Terraform-->>AWS Provider: Here's a resource declaration
  AWS Provider-->>AWS: AWS API calls
  AWS-->>AWS Provider: Complete
  AWS Provider-->>Terraform: Complete
  Terraform-->>Terragrunt: Complete
  loop Variablesetup
    Terragrunt-->>Terragrunt: ENV and TFvars
    Terragrunt-->>Terragrunt: retrieve module source
  end
  Terragrunt-->>Terraform: Init and Apply
  Terraform-->>F5XC Provider: Here's a resource declaration
  F5XC Provider-->>F5XC: F5XC API calls
  F5XC-->>F5XC Provider: Complete
  F5XC Provider-->>Terraform: Complete
  Terraform-->>Terragrunt: Complete
graph TD
  aws-vpc-site-1-->aws-base-1;
  aws-vpc-site-2-->aws-base-2;
  azure-site-1-->azure-base-1;
  azure-site-2-->azure-base-2;
  waitfor-aws-vpc-->aws-base-1;
  waitfor-aws-vpc-->aws-vpc-site-1;
  waitfor-aws-vpc-->aws-base-2;
  waitfor-aws-vpc-->aws-vpc-site-2;
  waitfornext-->azure-base-1;
  waitfornext-->azure-site-1;
  waitfornext-->azure-base-2;
  waitfornext-->azure-site-2;