-
Notifications
You must be signed in to change notification settings - Fork 4
Update terragrunt.hcl #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plan for core_network 2025-06-25 19:57:31 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#core_network has been locked by PR #1Plan outputTerraform 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
|
plan for layer1_storage 2025-06-25 19:57:30 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_storage has been locked by PR #1Plan outputTerraform 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
|
plan for layer1_compute 2025-06-25 19:57:37 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_compute has been locked by PR #1Plan outputTerraform 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
|
plan for layer1_monitoring 2025-06-25 19:58:11 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_monitoring has been locked by PR #1Plan outputTerraform 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
|
Contributor
Author
|
digger apply |
apply for layer1_monitoring 2025-06-25 20:00:24 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_monitoring has been locked by PR #1Apply outputTerraform 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",
]
}
|
apply for layer1_compute 2025-06-25 20:00:31 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_compute has been locked by PR #1Apply outputTerraform 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"
|
apply for layer1_storage 2025-06-25 20:00:38 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_storage has been locked by PR #1Apply outputTerraform 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"
}
|
apply for core_network 2025-06-25 20:00:38 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#core_network has been locked by PR #1Apply outputTerraform 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"
|
Contributor
Author
|
digger apply |
apply for layer1_monitoring 2025-06-25 20:35:32 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_monitoring has been locked by PR #1Apply outputNo 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",
]
}
|
apply for layer1_compute 2025-06-25 20:35:29 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_compute has been locked by PR #1Apply outputTerraform 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"
|
apply for core_network 2025-06-25 20:35:37 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#core_network has been locked by PR #1Apply outputNo 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"
|
apply for layer1_storage 2025-06-25 20:35:39 (UTC)Locking successfulProject diggerhq/terragrunt-layers-example#layer1_storage has been locked by PR #1Apply outputTerraform 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"
}
|
|
✅ Command unlock completed successfully |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.