Skip to content

Conversation

@motatoes
Copy link
Contributor

No description provided.

@digger-app-1932760430
Copy link

digger-app-1932760430 bot commented Jun 25, 2025

Project Status Plan + ~ -
layer1_storage succeeded Plan 4 0 0
layer1_monitoring succeeded Plan 5 0 0
core_network succeeded Plan 4 0 0
layer1_compute succeeded Plan 3 0 0

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

plan for core_network 2025-06-25 19:57:31 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#core_network has been locked by PR #1
Plan output
Terraform will perform the following actions:

  # null_resource.subnets[0] will be created
  + resource "null_resource" "subnets" {
      + id       = (known after apply)
      + triggers = {
          + "az"     = "us-west-2a"
          + "vpc_id" = (known after apply)
        }
    }

  # null_resource.subnets[1] will be created
  + resource "null_resource" "subnets" {
      + id       = (known after apply)
      + triggers = {
          + "az"     = "us-west-2b"
          + "vpc_id" = (known after apply)
        }
    }

  # null_resource.subnets[2] will be created
  + resource "null_resource" "subnets" {
      + id       = (known after apply)
      + triggers = {
          + "az"     = "us-west-2c"
          + "vpc_id" = (known after apply)
        }
    }

  # null_resource.vpc will be created
  + resource "null_resource" "vpc" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

Plan: 4 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + network_config = {
      + subnet_ids = [
          + (known after apply),
          + (known after apply),
          + (known after apply),
        ]
      + vpc_id     = (known after apply)
    }
  + subnet_ids     = [
      + (known after apply),
      + (known after apply),
      + (known after apply),
    ]
  + vpc_id         = (known after apply)

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/core/network/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Terraform plan validation check (core_network) Terraform plan validation checks succeeded ✅
Plan summary
CHANGE RESOURCE
add null_resource.subnets[0]
null_resource.subnets[1]
null_resource.subnets[2]
null_resource.vpc
CHANGE OUTPUT
add network_config
subnet_ids
vpc_id

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

plan for layer1_storage 2025-06-25 19:57:30 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_storage has been locked by PR #1
Plan output
Terraform will perform the following actions:

  # null_resource.rds_instance will be created
  + resource "null_resource" "rds_instance" {
      + id       = (known after apply)
      + triggers = {
          + "db_name"     = "terragrunt-example-development-db"
          + "environment" = "development"
          + "vpc_id"      = "mock-vpc-id"
        }
    }

  # null_resource.s3_buckets[0] will be created
  + resource "null_resource" "s3_buckets" {
      + id       = (known after apply)
      + triggers = {
          + "bucket_name" = "terragrunt-example-development-bucket-1"
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

  # null_resource.s3_buckets[1] will be created
  + resource "null_resource" "s3_buckets" {
      + id       = (known after apply)
      + triggers = {
          + "bucket_name" = "terragrunt-example-development-bucket-2"
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

  # null_resource.s3_buckets[2] will be created
  + resource "null_resource" "s3_buckets" {
      + id       = (known after apply)
      + triggers = {
          + "bucket_name" = "terragrunt-example-development-bucket-3"
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

Plan: 4 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + bucket_names   = [
      + "terragrunt-example-development-bucket-1",
      + "terragrunt-example-development-bucket-2",
      + "terragrunt-example-development-bucket-3",
    ]
  + rds_endpoint   = (known after apply)
  + storage_config = {
      + bucket_names = [
          + "terragrunt-example-development-bucket-1",
          + "terragrunt-example-development-bucket-2",
          + "terragrunt-example-development-bucket-3",
        ]
      + rds_endpoint = (known after apply)
    }

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/storage/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Terraform plan validation check (layer1_storage) Terraform plan validation checks succeeded ✅
Plan summary
CHANGE RESOURCE
add null_resource.rds_instance
null_resource.s3_buckets[0]
null_resource.s3_buckets[1]
null_resource.s3_buckets[2]
CHANGE OUTPUT
add bucket_names
rds_endpoint
storage_config

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

plan for layer1_compute 2025-06-25 19:57:37 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_compute has been locked by PR #1
Plan output
Terraform will perform the following actions:

  # null_resource.compute_instances[0] will be created
  + resource "null_resource" "compute_instances" {
      + id       = (known after apply)
      + triggers = {
          + "environment"       = "development"
          + "instance_name"     = "compute-1"
          + "security_group_id" = "mock-sg-1"
          + "subnet_id"         = "mock-subnet-1"
          + "vpc_id"            = "mock-vpc-id"
        }
    }

  # null_resource.compute_instances[1] will be created
  + resource "null_resource" "compute_instances" {
      + id       = (known after apply)
      + triggers = {
          + "environment"       = "development"
          + "instance_name"     = "compute-2"
          + "security_group_id" = "mock-sg-1"
          + "subnet_id"         = "mock-subnet-2"
          + "vpc_id"            = "mock-vpc-id"
        }
    }

  # null_resource.load_balancer will be created
  + resource "null_resource" "load_balancer" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "vpc_id"      = "mock-vpc-id"
        }
    }

Plan: 3 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + compute_config   = {
      + instance_ids     = [
          + (known after apply),
          + (known after apply),
        ]
      + load_balancer_id = (known after apply)
    }
  + instance_ids     = [
      + (known after apply),
      + (known after apply),
    ]
  + load_balancer_id = (known after apply)

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/compute/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Releasing state lock. This may take a few moments...
Terraform plan validation check (layer1_compute) Terraform plan validation checks succeeded ✅
Plan summary
CHANGE RESOURCE
add null_resource.compute_instances[0]
null_resource.compute_instances[1]
null_resource.load_balancer
CHANGE OUTPUT
add compute_config
instance_ids
load_balancer_id

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

plan for layer1_monitoring 2025-06-25 19:58:11 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_monitoring has been locked by PR #1
Plan output
Terraform will perform the following actions:

  # null_resource.cloudwatch_dashboards[0] will be created
  + resource "null_resource" "cloudwatch_dashboards" {
      + id       = (known after apply)
      + triggers = {
          + "dashboard_name" = "terragrunt-example-development-dashboard-1"
          + "environment"    = "development"
          + "iam_role"       = "mock-role-1"
        }
    }

  # null_resource.cloudwatch_dashboards[1] will be created
  + resource "null_resource" "cloudwatch_dashboards" {
      + id       = (known after apply)
      + triggers = {
          + "dashboard_name" = "terragrunt-example-development-dashboard-2"
          + "environment"    = "development"
          + "iam_role"       = "mock-role-2"
        }
    }

  # null_resource.log_groups[0] will be created
  + resource "null_resource" "log_groups" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "log_group"   = "/aws/terragrunt-example/development/logs-1"
        }
    }

  # null_resource.log_groups[1] will be created
  + resource "null_resource" "log_groups" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "log_group"   = "/aws/terragrunt-example/development/logs-2"
        }
    }

  # null_resource.log_groups[2] will be created
  + resource "null_resource" "log_groups" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "log_group"   = "/aws/terragrunt-example/development/logs-3"
        }
    }

Plan: 5 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + dashboard_names   = [
      + "terragrunt-example-development-dashboard-1",
      + "terragrunt-example-development-dashboard-2",
    ]
  + log_group_names   = [
      + "/aws/terragrunt-example/development/logs-1",
      + "/aws/terragrunt-example/development/logs-2",
      + "/aws/terragrunt-example/development/logs-3",
    ]
  + monitoring_config = {
      + dashboard_names = [
          + "terragrunt-example-development-dashboard-1",
          + "terragrunt-example-development-dashboard-2",
        ]
      + log_group_names = [
          + "/aws/terragrunt-example/development/logs-1",
          + "/aws/terragrunt-example/development/logs-2",
          + "/aws/terragrunt-example/development/logs-3",
        ]
    }

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/monitoring/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Terraform plan validation check (layer1_monitoring) Terraform plan validation checks succeeded ✅
Plan summary
CHANGE RESOURCE
add null_resource.cloudwatch_dashboards[0]
null_resource.cloudwatch_dashboards[1]
null_resource.log_groups[0]
null_resource.log_groups[1]
null_resource.log_groups[2]
CHANGE OUTPUT
add dashboard_names
log_group_names
monitoring_config

@motatoes
Copy link
Contributor Author

digger apply

@digger-app-1932760430
Copy link

digger-app-1932760430 bot commented Jun 25, 2025

Project Status Apply + ~ -
core_network succeeded Apply 4 0 0
layer1_storage succeeded Apply 4 0 0
layer1_monitoring succeeded Apply 5 0 0
layer1_compute succeeded Apply 3 0 0

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for layer1_monitoring 2025-06-25 20:00:24 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_monitoring has been locked by PR #1
Apply output
Terraform will perform the following actions:

  # null_resource.cloudwatch_dashboards[0] will be created
  + resource "null_resource" "cloudwatch_dashboards" {
      + id       = (known after apply)
      + triggers = {
          + "dashboard_name" = "terragrunt-example-development-dashboard-1"
          + "environment"    = "development"
          + "iam_role"       = "mock-role-1"
        }
    }

  # null_resource.cloudwatch_dashboards[1] will be created
  + resource "null_resource" "cloudwatch_dashboards" {
      + id       = (known after apply)
      + triggers = {
          + "dashboard_name" = "terragrunt-example-development-dashboard-2"
          + "environment"    = "development"
          + "iam_role"       = "mock-role-2"
        }
    }

  # null_resource.log_groups[0] will be created
  + resource "null_resource" "log_groups" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "log_group"   = "/aws/terragrunt-example/development/logs-1"
        }
    }

  # null_resource.log_groups[1] will be created
  + resource "null_resource" "log_groups" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "log_group"   = "/aws/terragrunt-example/development/logs-2"
        }
    }

  # null_resource.log_groups[2] will be created
  + resource "null_resource" "log_groups" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "log_group"   = "/aws/terragrunt-example/development/logs-3"
        }
    }

Plan: 5 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + dashboard_names   = [
      + "terragrunt-example-development-dashboard-1",
      + "terragrunt-example-development-dashboard-2",
    ]
  + log_group_names   = [
      + "/aws/terragrunt-example/development/logs-1",
      + "/aws/terragrunt-example/development/logs-2",
      + "/aws/terragrunt-example/development/logs-3",
    ]
  + monitoring_config = {
      + dashboard_names = [
          + "terragrunt-example-development-dashboard-1",
          + "terragrunt-example-development-dashboard-2",
        ]
      + log_group_names = [
          + "/aws/terragrunt-example/development/logs-1",
          + "/aws/terragrunt-example/development/logs-2",
          + "/aws/terragrunt-example/development/logs-3",
        ]
    }
null_resource.log_groups[2]: Creating...
null_resource.log_groups[0]: Creating...
null_resource.log_groups[1]: Creating...
null_resource.cloudwatch_dashboards[0]: Creating...
null_resource.cloudwatch_dashboards[1]: Creating...
null_resource.log_groups[0]: Provisioning with 'local-exec'...
null_resource.log_groups[0] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating log group /aws/terragrunt-example/development/logs-1'"]
null_resource.log_groups[2]: Provisioning with 'local-exec'...
null_resource.log_groups[2] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating log group /aws/terragrunt-example/development/logs-3'"]
null_resource.log_groups[0] (local-exec): Creating log group /aws/terragrunt-example/development/logs-1
null_resource.log_groups[0]: Creation complete after 0s [id=4875483961744942235]
null_resource.cloudwatch_dashboards[1]: Provisioning with 'local-exec'...
null_resource.cloudwatch_dashboards[1] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating CloudWatch dashboard terragrunt-example-development-dashboard-2 with role mock-role-2'"]
null_resource.cloudwatch_dashboards[0]: Provisioning with 'local-exec'...
null_resource.cloudwatch_dashboards[0] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating CloudWatch dashboard terragrunt-example-development-dashboard-1 with role mock-role-1'"]
null_resource.log_groups[2] (local-exec): Creating log group /aws/terragrunt-example/development/logs-3
null_resource.log_groups[1]: Provisioning with 'local-exec'...
null_resource.log_groups[1] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating log group /aws/terragrunt-example/development/logs-2'"]
null_resource.log_groups[2]: Creation complete after 0s [id=295712601864384071]
null_resource.cloudwatch_dashboards[1] (local-exec): Creating CloudWatch dashboard terragrunt-example-development-dashboard-2 with role mock-role-2
null_resource.cloudwatch_dashboards[0] (local-exec): Creating CloudWatch dashboard terragrunt-example-development-dashboard-1 with role mock-role-1
null_resource.cloudwatch_dashboards[1]: Creation complete after 0s [id=1859033870071794470]
null_resource.cloudwatch_dashboards[0]: Creation complete after 0s [id=962654682270974837]
null_resource.log_groups[1] (local-exec): Creating log group /aws/terragrunt-example/development/logs-2
null_resource.log_groups[1]: Creation complete after 0s [id=1526281955050684728]

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/monitoring/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.

Apply complete! Resources: 5 added, 0 changed, 0 destroyed.

Outputs:

dashboard_names = [
  "terragrunt-example-development-dashboard-1",
  "terragrunt-example-development-dashboard-2",
]
log_group_names = [
  "/aws/terragrunt-example/development/logs-1",
  "/aws/terragrunt-example/development/logs-2",
  "/aws/terragrunt-example/development/logs-3",
]
monitoring_config = {
  "dashboard_names" = [
    "terragrunt-example-development-dashboard-1",
    "terragrunt-example-development-dashboard-2",
  ]
  "log_group_names" = [
    "/aws/terragrunt-example/development/logs-1",
    "/aws/terragrunt-example/development/logs-2",
    "/aws/terragrunt-example/development/logs-3",
  ]
}

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for layer1_compute 2025-06-25 20:00:31 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_compute has been locked by PR #1
Apply output
Terraform will perform the following actions:

  # null_resource.compute_instances[0] will be created
  + resource "null_resource" "compute_instances" {
      + id       = (known after apply)
      + triggers = {
          + "environment"       = "development"
          + "instance_name"     = "compute-1"
          + "security_group_id" = "mock-sg-1"
          + "subnet_id"         = "mock-subnet-1"
          + "vpc_id"            = "mock-vpc-id"
        }
    }

  # null_resource.compute_instances[1] will be created
  + resource "null_resource" "compute_instances" {
      + id       = (known after apply)
      + triggers = {
          + "environment"       = "development"
          + "instance_name"     = "compute-2"
          + "security_group_id" = "mock-sg-1"
          + "subnet_id"         = "mock-subnet-2"
          + "vpc_id"            = "mock-vpc-id"
        }
    }

  # null_resource.load_balancer will be created
  + resource "null_resource" "load_balancer" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "vpc_id"      = "mock-vpc-id"
        }
    }

Plan: 3 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + compute_config   = {
      + instance_ids     = [
          + (known after apply),
          + (known after apply),
        ]
      + load_balancer_id = (known after apply)
    }
  + instance_ids     = [
      + (known after apply),
      + (known after apply),
    ]
  + load_balancer_id = (known after apply)
null_resource.compute_instances[0]: Creating...
null_resource.compute_instances[1]: Creating...
null_resource.compute_instances[0]: Provisioning with 'local-exec'...
null_resource.compute_instances[0] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating compute instance compute-1 in subnet mock-subnet-1'"]
null_resource.compute_instances[1]: Provisioning with 'local-exec'...
null_resource.compute_instances[1] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating compute instance compute-2 in subnet mock-subnet-2'"]
null_resource.compute_instances[0] (local-exec): Creating compute instance compute-1 in subnet mock-subnet-1
null_resource.compute_instances[0]: Creation complete after 0s [id=518722683366029066]
null_resource.compute_instances[1] (local-exec): Creating compute instance compute-2 in subnet mock-subnet-2
null_resource.compute_instances[1]: Creation complete after 0s [id=6672116170893705810]
null_resource.load_balancer: Creating...
null_resource.load_balancer: Provisioning with 'local-exec'...
null_resource.load_balancer (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating load balancer in VPC mock-vpc-id'"]
null_resource.load_balancer (local-exec): Creating load balancer in VPC mock-vpc-id
null_resource.load_balancer: Creation complete after 0s [id=7359113420293718666]

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/compute/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.

Apply complete! Resources: 3 added, 0 changed, 0 destroyed.

Outputs:

compute_config = {
  "instance_ids" = [
    "518722683366029066",
    "6672116170893705810",
  ]
  "load_balancer_id" = "7359113420293718666"
}
instance_ids = [
  "518722683366029066",
  "6672116170893705810",
]
load_balancer_id = "7359113420293718666"

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for layer1_storage 2025-06-25 20:00:38 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_storage has been locked by PR #1
Apply output
Terraform will perform the following actions:

  # null_resource.rds_instance will be created
  + resource "null_resource" "rds_instance" {
      + id       = (known after apply)
      + triggers = {
          + "db_name"     = "terragrunt-example-development-db"
          + "environment" = "development"
          + "vpc_id"      = "mock-vpc-id"
        }
    }

  # null_resource.s3_buckets[0] will be created
  + resource "null_resource" "s3_buckets" {
      + id       = (known after apply)
      + triggers = {
          + "bucket_name" = "terragrunt-example-development-bucket-1"
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

  # null_resource.s3_buckets[1] will be created
  + resource "null_resource" "s3_buckets" {
      + id       = (known after apply)
      + triggers = {
          + "bucket_name" = "terragrunt-example-development-bucket-2"
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

  # null_resource.s3_buckets[2] will be created
  + resource "null_resource" "s3_buckets" {
      + id       = (known after apply)
      + triggers = {
          + "bucket_name" = "terragrunt-example-development-bucket-3"
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

Plan: 4 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + bucket_names   = [
      + "terragrunt-example-development-bucket-1",
      + "terragrunt-example-development-bucket-2",
      + "terragrunt-example-development-bucket-3",
    ]
  + rds_endpoint   = (known after apply)
  + storage_config = {
      + bucket_names = [
          + "terragrunt-example-development-bucket-1",
          + "terragrunt-example-development-bucket-2",
          + "terragrunt-example-development-bucket-3",
        ]
      + rds_endpoint = (known after apply)
    }
null_resource.s3_buckets[0]: Creating...
null_resource.s3_buckets[1]: Creating...
null_resource.rds_instance: Creating...
null_resource.s3_buckets[2]: Creating...
null_resource.s3_buckets[1]: Provisioning with 'local-exec'...
null_resource.s3_buckets[1] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating S3 bucket terragrunt-example-development-bucket-2'"]
null_resource.rds_instance: Provisioning with 'local-exec'...
null_resource.rds_instance (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating RDS instance terragrunt-example-development-db in VPC mock-vpc-id'"]
null_resource.s3_buckets[2]: Provisioning with 'local-exec'...
null_resource.s3_buckets[2] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating S3 bucket terragrunt-example-development-bucket-3'"]
null_resource.s3_buckets[0]: Provisioning with 'local-exec'...
null_resource.s3_buckets[0] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating S3 bucket terragrunt-example-development-bucket-1'"]
null_resource.s3_buckets[1] (local-exec): Creating S3 bucket terragrunt-example-development-bucket-2
null_resource.rds_instance (local-exec): Creating RDS instance terragrunt-example-development-db in VPC mock-vpc-id
null_resource.rds_instance: Creation complete after 0s [id=7619958561091405456]
null_resource.s3_buckets[1]: Creation complete after 0s [id=5276540975516390238]
null_resource.s3_buckets[0] (local-exec): Creating S3 bucket terragrunt-example-development-bucket-1
null_resource.s3_buckets[2] (local-exec): Creating S3 bucket terragrunt-example-development-bucket-3
null_resource.s3_buckets[0]: Creation complete after 0s [id=3709956707007238707]
null_resource.s3_buckets[2]: Creation complete after 0s [id=9209460274987120036]

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/storage/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.

Apply complete! Resources: 4 added, 0 changed, 0 destroyed.

Outputs:

bucket_names = [
  "terragrunt-example-development-bucket-1",
  "terragrunt-example-development-bucket-2",
  "terragrunt-example-development-bucket-3",
]
rds_endpoint = "7619958561091405456"
storage_config = {
  "bucket_names" = [
    "terragrunt-example-development-bucket-1",
    "terragrunt-example-development-bucket-2",
    "terragrunt-example-development-bucket-3",
  ]
  "rds_endpoint" = "7619958561091405456"
}

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for core_network 2025-06-25 20:00:38 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#core_network has been locked by PR #1
Apply output
Terraform will perform the following actions:

  # null_resource.subnets[0] will be created
  + resource "null_resource" "subnets" {
      + id       = (known after apply)
      + triggers = {
          + "az"     = "us-west-2a"
          + "vpc_id" = (known after apply)
        }
    }

  # null_resource.subnets[1] will be created
  + resource "null_resource" "subnets" {
      + id       = (known after apply)
      + triggers = {
          + "az"     = "us-west-2b"
          + "vpc_id" = (known after apply)
        }
    }

  # null_resource.subnets[2] will be created
  + resource "null_resource" "subnets" {
      + id       = (known after apply)
      + triggers = {
          + "az"     = "us-west-2c"
          + "vpc_id" = (known after apply)
        }
    }

  # null_resource.vpc will be created
  + resource "null_resource" "vpc" {
      + id       = (known after apply)
      + triggers = {
          + "environment" = "development"
          + "project"     = "terragrunt-example"
        }
    }

Plan: 4 to add, 0 to change, 0 to destroy.

Changes to Outputs:
  + network_config = {
      + subnet_ids = [
          + (known after apply),
          + (known after apply),
          + (known after apply),
        ]
      + vpc_id     = (known after apply)
    }
  + subnet_ids     = [
      + (known after apply),
      + (known after apply),
      + (known after apply),
    ]
  + vpc_id         = (known after apply)
null_resource.vpc: Creating...
null_resource.vpc: Provisioning with 'local-exec'...
null_resource.vpc (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating VPC for development'"]
null_resource.vpc (local-exec): Creating VPC for development
null_resource.vpc: Creation complete after 0s [id=437127367533893166]
null_resource.subnets[2]: Creating...
null_resource.subnets[0]: Creating...
null_resource.subnets[1]: Creating...
null_resource.subnets[1]: Provisioning with 'local-exec'...
null_resource.subnets[2]: Provisioning with 'local-exec'...
null_resource.subnets[1] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating subnet 2 in us-west-2b'"]
null_resource.subnets[2] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating subnet 3 in us-west-2c'"]
null_resource.subnets[0]: Provisioning with 'local-exec'...
null_resource.subnets[0] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating subnet 1 in us-west-2a'"]
null_resource.subnets[1] (local-exec): Creating subnet 2 in us-west-2b
null_resource.subnets[1]: Creation complete after 0s [id=4397396009924154041]
null_resource.subnets[2] (local-exec): Creating subnet 3 in us-west-2c
null_resource.subnets[2]: Creation complete after 0s [id=5276611174041157372]
null_resource.subnets[0] (local-exec): Creating subnet 1 in us-west-2a
null_resource.subnets[0]: Creation complete after 0s [id=313740603441995222]

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/core/network/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.

Apply complete! Resources: 4 added, 0 changed, 0 destroyed.

Outputs:

network_config = {
  "subnet_ids" = [
    "313740603441995222",
    "4397396009924154041",
    "5276611174041157372",
  ]
  "vpc_id" = "437127367533893166"
}
subnet_ids = [
  "313740603441995222",
  "4397396009924154041",
  "5276611174041157372",
]
vpc_id = "437127367533893166"

@motatoes
Copy link
Contributor Author

digger apply

@digger-app-1932760430
Copy link

digger-app-1932760430 bot commented Jun 25, 2025

Project Status Apply + ~ -
core_network succeeded Apply 0 0 0
layer1_storage succeeded Apply 1 0 1
layer1_monitoring succeeded Apply 0 0 0
layer1_compute succeeded Apply 3 0 3

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for layer1_monitoring 2025-06-25 20:35:32 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_monitoring has been locked by PR #1
Apply output
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/monitoring/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

dashboard_names = [
  "terragrunt-example-development-dashboard-1",
  "terragrunt-example-development-dashboard-2",
]
log_group_names = [
  "/aws/terragrunt-example/development/logs-1",
  "/aws/terragrunt-example/development/logs-2",
  "/aws/terragrunt-example/development/logs-3",
]
monitoring_config = {
  "dashboard_names" = [
    "terragrunt-example-development-dashboard-1",
    "terragrunt-example-development-dashboard-2",
  ]
  "log_group_names" = [
    "/aws/terragrunt-example/development/logs-1",
    "/aws/terragrunt-example/development/logs-2",
    "/aws/terragrunt-example/development/logs-3",
  ]
}

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for layer1_compute 2025-06-25 20:35:29 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_compute has been locked by PR #1
Apply output
Terraform will perform the following actions:

  # null_resource.compute_instances[0] must be replaced
-/+ resource "null_resource" "compute_instances" {
      ~ id       = "518722683366029066" -> (known after apply)
      ~ triggers = { # forces replacement
          ~ "subnet_id"         = "mock-subnet-1" -> "313740603441995222"
          ~ "vpc_id"            = "mock-vpc-id" -> "437127367533893166"
            # (3 unchanged elements hidden)
        }
    }

  # null_resource.compute_instances[1] must be replaced
-/+ resource "null_resource" "compute_instances" {
      ~ id       = "6672116170893705810" -> (known after apply)
      ~ triggers = { # forces replacement
          ~ "subnet_id"         = "mock-subnet-2" -> "4397396009924154041"
          ~ "vpc_id"            = "mock-vpc-id" -> "437127367533893166"
            # (3 unchanged elements hidden)
        }
    }

  # null_resource.load_balancer must be replaced
-/+ resource "null_resource" "load_balancer" {
      ~ id       = "7359113420293718666" -> (known after apply)
      ~ triggers = { # forces replacement
          ~ "vpc_id"      = "mock-vpc-id" -> "437127367533893166"
            # (1 unchanged element hidden)
        }
    }

Plan: 3 to add, 0 to change, 3 to destroy.

Changes to Outputs:
  ~ compute_config   = {
      ~ instance_ids     = [
          - "518722683366029066",
          - "6672116170893705810",
          + (known after apply),
          + (known after apply),
        ]
      ~ load_balancer_id = "7359113420293718666" -> (known after apply)
    }
  ~ instance_ids     = [
      - "518722683366029066",
      - "6672116170893705810",
      + (known after apply),
      + (known after apply),
    ]
  ~ load_balancer_id = "7359113420293718666" -> (known after apply)
null_resource.load_balancer: Destroying... [id=7359113420293718666]
null_resource.load_balancer: Destruction complete after 0s
null_resource.compute_instances[0]: Destroying... [id=518722683366029066]
null_resource.compute_instances[1]: Destroying... [id=6672116170893705810]
null_resource.compute_instances[0]: Destruction complete after 0s
null_resource.compute_instances[1]: Destruction complete after 0s
null_resource.compute_instances[0]: Creating...
null_resource.compute_instances[1]: Creating...
null_resource.compute_instances[0]: Provisioning with 'local-exec'...
null_resource.compute_instances[0] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating compute instance compute-1 in subnet 313740603441995222'"]
null_resource.compute_instances[1]: Provisioning with 'local-exec'...
null_resource.compute_instances[1] (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating compute instance compute-2 in subnet 4397396009924154041'"]
null_resource.compute_instances[0] (local-exec): Creating compute instance compute-1 in subnet 313740603441995222
null_resource.compute_instances[0]: Creation complete after 0s [id=499588131354335004]
null_resource.compute_instances[1] (local-exec): Creating compute instance compute-2 in subnet 4397396009924154041
null_resource.compute_instances[1]: Creation complete after 0s [id=6255750377100641538]
null_resource.load_balancer: Creating...
null_resource.load_balancer: Provisioning with 'local-exec'...
null_resource.load_balancer (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating load balancer in VPC 437127367533893166'"]
null_resource.load_balancer (local-exec): Creating load balancer in VPC 437127367533893166
null_resource.load_balancer: Creation complete after 0s [id=51082880723423088]

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/compute/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Releasing state lock. This may take a few moments...

Apply complete! Resources: 3 added, 0 changed, 3 destroyed.

Outputs:

compute_config = {
  "instance_ids" = [
    "499588131354335004",
    "6255750377100641538",
  ]
  "load_balancer_id" = "51082880723423088"
}
instance_ids = [
  "499588131354335004",
  "6255750377100641538",
]
load_balancer_id = "51082880723423088"

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for core_network 2025-06-25 20:35:37 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#core_network has been locked by PR #1
Apply output
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/core/network/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.
Releasing state lock. This may take a few moments...

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

network_config = {
  "subnet_ids" = [
    "313740603441995222",
    "4397396009924154041",
    "5276611174041157372",
  ]
  "vpc_id" = "437127367533893166"
}
subnet_ids = [
  "313740603441995222",
  "4397396009924154041",
  "5276611174041157372",
]
vpc_id = "437127367533893166"

@github-actions
Copy link

github-actions bot commented Jun 25, 2025

apply for layer1_storage 2025-06-25 20:35:39 (UTC)
Locking successful Project diggerhq/terragrunt-layers-example#layer1_storage has been locked by PR #1
Apply output
Terraform will perform the following actions:

  # null_resource.rds_instance must be replaced
-/+ resource "null_resource" "rds_instance" {
      ~ id       = "7619958561091405456" -> (known after apply)
      ~ triggers = { # forces replacement
          ~ "vpc_id"      = "mock-vpc-id" -> "437127367533893166"
            # (2 unchanged elements hidden)
        }
    }

Plan: 1 to add, 0 to change, 1 to destroy.

Changes to Outputs:
  ~ rds_endpoint   = "7619958561091405456" -> (known after apply)
  ~ storage_config = {
      ~ rds_endpoint = "7619958561091405456" -> (known after apply)
        # (1 unchanged attribute hidden)
    }
null_resource.rds_instance: Destroying... [id=7619958561091405456]
null_resource.rds_instance: Destruction complete after 0s
null_resource.rds_instance: Creating...
null_resource.rds_instance: Provisioning with 'local-exec'...
null_resource.rds_instance (local-exec): Executing: ["/bin/sh" "-c" "echo 'Creating RDS instance terragrunt-example-development-db in VPC 437127367533893166'"]
null_resource.rds_instance (local-exec): Creating RDS instance terragrunt-example-development-db in VPC 437127367533893166
null_resource.rds_instance: Creation complete after 0s [id=3064820737195166467]

Warning: Value for undeclared variable

The root module does not declare a variable named "region" but a value was
found in file
"/home/runner/work/terragrunt-layers-example/terragrunt-layers-example/layer1/storage/../../common.tfvars".
If you meant to use this value, add a "variable" block to the configuration.

To silence these warnings, use TF_VAR_... environment variables to provide
certain "global" settings to all configurations in your organization. To
reduce the verbosity of these warnings, use the -compact-warnings option.

Apply complete! Resources: 1 added, 0 changed, 1 destroyed.

Outputs:

bucket_names = [
  "terragrunt-example-development-bucket-1",
  "terragrunt-example-development-bucket-2",
  "terragrunt-example-development-bucket-3",
]
rds_endpoint = "3064820737195166467"
storage_config = {
  "bucket_names" = [
    "terragrunt-example-development-bucket-1",
    "terragrunt-example-development-bucket-2",
    "terragrunt-example-development-bucket-3",
  ]
  "rds_endpoint" = "3064820737195166467"
}

@motatoes motatoes merged commit baf927d into main Jun 25, 2025
22 checks passed
@digger-app-1932760430
Copy link

digger-app-1932760430 bot commented Jun 25, 2025

✅ Command unlock completed successfully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants