Skip to content

Update terragrunt.hcl #5

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update terragrunt.hcl #5

wants to merge 1 commit into from

Conversation

motatoes
Copy link

No description provided.

@motatoes
Copy link
Author

Ran Plan for 3 projects:

  1. project: layer1_compute dir: layer1/compute workspace: default
  2. project: layer2_api dir: layer2/api workspace: default
  3. project: layer2_analytics dir: layer2/analytics workspace: default

1. project: layer1_compute dir: layer1/compute workspace: default

Show Output
Running Terragrunt plan...
13:21:23.159 WARN   The `TERRAGRUNT_TFPATH` environment variable is deprecated and will be removed in a future version of Terragrunt. Use `TG_TF_PATH=/usr/local/bin/terraform` instead.
13:21:23.168 WARN   Using `terragrunt.hcl` as the root of Terragrunt configurations is an anti-pattern, and no longer recommended. In a future version of Terragrunt, this will result in an error. You are advised to use a differently named file like `root.hcl` instead. For more information, see https://terragrunt.gruntwork.io/docs/migrate/migrating-from-root-terragrunt-hcl
13:21:26.238 WARN   Config ../../core/security/terragrunt.hcl is a dependency of ./terragrunt.hcl that has no outputs, but mock outputs provided and returning those in dependency output.
13:21:27.452 INFO   Downloading Terraform configurations from ../../modules/layer1-compute into ./.terragrunt-cache/w90esf9X5k9zMV-oeTmlhQcPe1I/1SPvG6kh29YlbU1YIJRynhZ9Vac
13:21:28.531 INFO   terraform: Initializing the backend...
13:21:29.309 INFO   terraform: 
13:21:29.309 INFO   terraform: Successfully configured the backend "s3"! Terraform will automatically
13:21:29.309 INFO   terraform: use this backend unless the backend configuration changes.
13:21:29.905 INFO   terraform: Initializing provider plugins...
13:21:29.905 INFO   terraform: - Finding hashicorp/null versions matching "~> 3.0"...
13:21:30.088 INFO   terraform: - Installing hashicorp/null v3.2.4...
13:21:30.749 INFO   terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
13:21:30.749 INFO   terraform: Terraform has made some changes to the provider dependency selections recorded
13:21:30.749 INFO   terraform: in the .terraform.lock.hcl file. Review those changes and commit them to your
13:21:30.750 INFO   terraform: version control system if they represent changes you intended to make.
13:21:30.750 INFO   terraform: Terraform has been successfully initialized!
13:21:30.750 INFO   terraform: 
13:21:30.750 INFO   terraform: You may now begin working with Terraform. Try running "terraform plan" to see
13:21:30.750 INFO   terraform: any changes that are required for your infrastructure. All Terraform commands
13:21:30.750 INFO   terraform: should now work.
13:21:30.750 INFO   terraform: If you ever set or change modules or backend configuration for Terraform,
13:21:30.750 INFO   terraform: rerun this command to reinitialize your working directory. If you forget, other
13:21:30.750 INFO   terraform: commands will detect it and remind you to do so if necessary.
13:21:32.689 STDOUT terraform: null_resource.compute_instances[0]: Refreshing state... [id=499588131354335004]
13:21:32.689 STDOUT terraform: null_resource.compute_instances[1]: Refreshing state... [id=6255750377100641538]
13:21:32.695 STDOUT terraform: null_resource.load_balancer: Refreshing state... [id=51082880723423088]
13:21:32.701 STDOUT terraform: No changes. Your infrastructure matches the configuration.
13:21:32.701 STDOUT terraform: Terraform has compared your real infrastructure against your configuration
13:21:32.701 STDOUT terraform: and found no differences, so no changes are needed.
13:21:32.702 STDOUT terraform: ╷
13:21:32.702 STDOUT terraform: │ Warning: Value for undeclared variable
13:21:32.702 STDOUT terraform: │ 
13:21:32.702 STDOUT terraform: │ The root module does not declare a variable named "region" but a value was
13:21:32.702 STDOUT terraform: │ found in file
13:21:32.702 STDOUT terraform: │ "./../../common.tfvars".
13:21:32.702 STDOUT terraform: │ If you meant to use this value, add a "variable" block to the
13:21:32.702 STDOUT terraform: │ configuration.
13:21:32.702 STDOUT terraform: │ 
13:21:32.702 STDOUT terraform: │ To silence these warnings, use TF_VAR_... environment variables to provide
13:21:32.702 STDOUT terraform: │ certain "global" settings to all configurations in your organization. To
13:21:32.702 STDOUT terraform: │ reduce the verbosity of these warnings, use the -compact-warnings option.
13:21:32.702 STDOUT terraform: ╵
  • ▶️ To apply this plan, comment:
    atlantis apply -p layer1_compute
  • 🚮 To delete this plan and lock, click here
  • 🔁 To plan this project again, comment:
    atlantis plan -p layer1_compute

No changes. Your infrastructure matches the configuration.


2. project: layer2_api dir: layer2/api workspace: default

Show Output
Running Terragrunt plan...
13:21:34.162 WARN   The `TERRAGRUNT_TFPATH` environment variable is deprecated and will be removed in a future version of Terragrunt. Use `TG_TF_PATH=/usr/local/bin/terraform` instead.
13:21:34.164 WARN   Using `terragrunt.hcl` as the root of Terragrunt configurations is an anti-pattern, and no longer recommended. In a future version of Terragrunt, this will result in an error. You are advised to use a differently named file like `root.hcl` instead. For more information, see https://terragrunt.gruntwork.io/docs/migrate/migrating-from-root-terragrunt-hcl
13:21:36.957 WARN   [../../layer1/compute] Config ../../core/security/terragrunt.hcl is a dependency of ../../layer1/compute/terragrunt.hcl that has no outputs, but mock outputs provided and returning those in dependency output.
13:21:38.472 WARN   [../../layer1/storage] Config ../../core/security/terragrunt.hcl is a dependency of ../../layer1/storage/terragrunt.hcl that has no outputs, but mock outputs provided and returning those in dependency output.
13:21:42.962 INFO   Downloading Terraform configurations from ../../modules/layer2-api into ./.terragrunt-cache/O0ODn_Z3lNEb-_ONabxz-lJZcgY/hoNG4J9jraykdao5tRlE7yI-8wY
13:21:44.043 INFO   terraform: Initializing the backend...
13:21:44.824 INFO   terraform: 
13:21:44.825 INFO   terraform: Successfully configured the backend "s3"! Terraform will automatically
13:21:44.825 INFO   terraform: use this backend unless the backend configuration changes.
13:21:45.433 INFO   terraform: Initializing provider plugins...
13:21:45.433 INFO   terraform: - Finding hashicorp/null versions matching "~> 3.0"...
13:21:45.606 INFO   terraform: - Installing hashicorp/null v3.2.4...
13:21:46.487 INFO   terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
13:21:46.487 INFO   terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
13:21:46.487 INFO   terraform: selections it made above. Include this file in your version control repository
13:21:46.487 INFO   terraform: so that Terraform can guarantee to make the same selections by default when
13:21:46.487 INFO   terraform: you run "terraform init" in the future.
13:21:46.488 INFO   terraform: Terraform has been successfully initialized!
13:21:46.488 INFO   terraform: 
13:21:46.488 INFO   terraform: You may now begin working with Terraform. Try running "terraform plan" to see
13:21:46.488 INFO   terraform: any changes that are required for your infrastructure. All Terraform commands
13:21:46.488 INFO   terraform: should now work.
13:21:46.488 INFO   terraform: If you ever set or change modules or backend configuration for Terraform,
13:21:46.488 INFO   terraform: rerun this command to reinitialize your working directory. If you forget, other
13:21:46.488 INFO   terraform: commands will detect it and remind you to do so if necessary.
13:21:48.295 STDOUT terraform: null_resource.api_gateway: Refreshing state... [id=5669329420531964601]
13:21:48.298 STDOUT terraform: null_resource.api_database_connection: Refreshing state... [id=5488018673321697569]
13:21:48.298 STDOUT terraform: null_resource.api_endpoints[0]: Refreshing state... [id=4425824253860461598]
13:21:48.299 STDOUT terraform: null_resource.api_endpoints[2]: Refreshing state... [id=3497036530150982270]
13:21:48.299 STDOUT terraform: null_resource.api_endpoints[1]: Refreshing state... [id=6794561006319902917]
13:21:48.308 STDOUT terraform: No changes. Your infrastructure matches the configuration.
13:21:48.308 STDOUT terraform: Terraform has compared your real infrastructure against your configuration
13:21:48.308 STDOUT terraform: and found no differences, so no changes are needed.
13:21:48.308 STDOUT terraform: ╷
13:21:48.308 STDOUT terraform: │ Warning: Value for undeclared variable
13:21:48.308 STDOUT terraform: │ 
13:21:48.308 STDOUT terraform: │ The root module does not declare a variable named "region" but a value was
13:21:48.309 STDOUT terraform: │ found in file
13:21:48.309 STDOUT terraform: │ "./../../common.tfvars".
13:21:48.309 STDOUT terraform: │ If you meant to use this value, add a "variable" block to the
13:21:48.309 STDOUT terraform: │ configuration.
13:21:48.309 STDOUT terraform: │ 
13:21:48.309 STDOUT terraform: │ To silence these warnings, use TF_VAR_... environment variables to provide
13:21:48.309 STDOUT terraform: │ certain "global" settings to all configurations in your organization. To
13:21:48.309 STDOUT terraform: │ reduce the verbosity of these warnings, use the -compact-warnings option.
13:21:48.309 STDOUT terraform: ╵
  • ▶️ To apply this plan, comment:
    atlantis apply -p layer2_api
  • 🚮 To delete this plan and lock, click here
  • 🔁 To plan this project again, comment:
    atlantis plan -p layer2_api

No changes. Your infrastructure matches the configuration.


3. project: layer2_analytics dir: layer2/analytics workspace: default

Show Output
Running Terragrunt plan...
13:21:34.163 WARN   The `TERRAGRUNT_TFPATH` environment variable is deprecated and will be removed in a future version of Terragrunt. Use `TG_TF_PATH=/usr/local/bin/terraform` instead.
13:21:34.164 WARN   Using `terragrunt.hcl` as the root of Terragrunt configurations is an anti-pattern, and no longer recommended. In a future version of Terragrunt, this will result in an error. You are advised to use a differently named file like `root.hcl` instead. For more information, see https://terragrunt.gruntwork.io/docs/migrate/migrating-from-root-terragrunt-hcl
13:21:36.955 WARN   [../../layer1/compute] Config ../../core/security/terragrunt.hcl is a dependency of ../../layer1/compute/terragrunt.hcl that has no outputs, but mock outputs provided and returning those in dependency output.
13:21:38.142 WARN   [../../layer1/storage] Config ../../core/security/terragrunt.hcl is a dependency of ../../layer1/storage/terragrunt.hcl that has no outputs, but mock outputs provided and returning those in dependency output.
13:21:38.149 WARN   [../../layer1/monitoring] Config ../../core/security/terragrunt.hcl is a dependency of ../../layer1/monitoring/terragrunt.hcl that has no outputs, but mock outputs provided and returning those in dependency output.
13:21:42.936 INFO   Downloading Terraform configurations from ../../modules/layer2-analytics into ./.terragrunt-cache/W8y1Nb-EPqsXJ8kM9RCcKu-VGpQ/fGLaryZdp11XIXFEW0m0enGNu70
13:21:44.038 INFO   terraform: Initializing the backend...
13:21:44.840 INFO   terraform: 
13:21:44.840 INFO   terraform: Successfully configured the backend "s3"! Terraform will automatically
13:21:44.841 INFO   terraform: use this backend unless the backend configuration changes.
13:21:45.489 INFO   terraform: Initializing provider plugins...
13:21:45.489 INFO   terraform: - Finding hashicorp/null versions matching "~> 3.0"...
13:21:45.642 INFO   terraform: - Installing hashicorp/null v3.2.4...
13:21:46.786 INFO   terraform: - Installed hashicorp/null v3.2.4 (signed by HashiCorp)
13:21:46.786 INFO   terraform: Terraform has created a lock file .terraform.lock.hcl to record the provider
13:21:46.786 INFO   terraform: selections it made above. Include this file in your version control repository
13:21:46.786 INFO   terraform: so that Terraform can guarantee to make the same selections by default when
13:21:46.786 INFO   terraform: you run "terraform init" in the future.
13:21:46.786 INFO   terraform: Terraform has been successfully initialized!
13:21:46.786 INFO   terraform: 
13:21:46.786 INFO   terraform: You may now begin working with Terraform. Try running "terraform plan" to see
13:21:46.786 INFO   terraform: any changes that are required for your infrastructure. All Terraform commands
13:21:46.786 INFO   terraform: should now work.
13:21:46.786 INFO   terraform: If you ever set or change modules or backend configuration for Terraform,
13:21:46.787 INFO   terraform: rerun this command to reinitialize your working directory. If you forget, other
13:21:46.787 INFO   terraform: commands will detect it and remind you to do so if necessary.
13:21:48.664 STDOUT terraform: null_resource.data_pipeline: Refreshing state... [id=3251598364001538059]
13:21:48.667 STDOUT terraform: null_resource.analytics_jobs[0]: Refreshing state... [id=2392043520530020745]
13:21:48.668 STDOUT terraform: null_resource.analytics_jobs[1]: Refreshing state... [id=1158336281104667040]
13:21:48.670 STDOUT terraform: null_resource.data_warehouse: Refreshing state... [id=1892285162837553141]
13:21:48.676 STDOUT terraform: No changes. Your infrastructure matches the configuration.
13:21:48.677 STDOUT terraform: Terraform has compared your real infrastructure against your configuration
13:21:48.677 STDOUT terraform: and found no differences, so no changes are needed.
13:21:48.677 STDOUT terraform: ╷
13:21:48.677 STDOUT terraform: │ Warning: Value for undeclared variable
13:21:48.677 STDOUT terraform: │ 
13:21:48.677 STDOUT terraform: │ The root module does not declare a variable named "region" but a value was
13:21:48.677 STDOUT terraform: │ found in file
13:21:48.677 STDOUT terraform: │ "./../../common.tfvars".
13:21:48.677 STDOUT terraform: │ If you meant to use this value, add a "variable" block to the
13:21:48.677 STDOUT terraform: │ configuration.
13:21:48.677 STDOUT terraform: │ 
13:21:48.677 STDOUT terraform: │ To silence these warnings, use TF_VAR_... environment variables to provide
13:21:48.677 STDOUT terraform: │ certain "global" settings to all configurations in your organization. To
13:21:48.677 STDOUT terraform: │ reduce the verbosity of these warnings, use the -compact-warnings option.
13:21:48.677 STDOUT terraform: ╵
  • ▶️ To apply this plan, comment:
    atlantis apply -p layer2_analytics
  • 🚮 To delete this plan and lock, click here
  • 🔁 To plan this project again, comment:
    atlantis plan -p layer2_analytics

No changes. Your infrastructure matches the configuration.


Plan Summary

3 projects, 0 with changes, 3 with no changes, 0 failed

  • ⏩ To apply all unapplied plans from this Pull Request, comment:
    atlantis apply
  • 🚮 To delete all plans and locks from this Pull Request, comment:
    atlantis unlock

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.

1 participant