Skip to content
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

Update terragrunt.hcl #12

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

Update terragrunt.hcl #12

wants to merge 1 commit into from

Conversation

motatoes
Copy link
Contributor

No description provided.

@motatoes
Copy link
Contributor Author

digger plan

@mo-local2-digger-app-864362
Copy link

mo-local2-digger-app-864362 bot commented May 28, 2024

Project Status Plan + ~ -
prod_us-east-1_prod_mysql succeeded plan 1 0 0
prod_us-east-1_prod_webserver-cluster failed plan 0 0 0

Copy link

plan for prod_us-east-1_prod_webserver-cluster 2024-05-28 16:20:24 (UTC)
Error during init. time=2024-05-28T16:20:27Z level=error msg=/home/runner/work/terragrunt-dependencies-demo/terragrunt-dependencies-demo/prod/us-east-1/prod/mysql/terragrunt.hcl is a dependency of /home/runner/work/terragrunt-dependencies-demo/terragrunt-dependencies-demo/prod/us-east-1/prod/webserver-cluster/terragrunt.hcl but detected no outputs. Either the target module has not been applied yet, or the module has no outputs. If this is expected, set the skip_outputs flag to true on the dependency block. time=2024-05-28T16:20:27Z level=error msg=Unable to determine underlying exit code, so Terragrunt will exit with error code 1

Copy link

github-actions bot commented May 28, 2024

plan for prod_us-east-1_prod_mysql 2024-05-28 16:20:40 (UTC)
Plan output
Terraform will perform the following actions:

  # aws_db_instance.mysql will be created
  + resource "aws_db_instance" "mysql" {
      + address                               = (known after apply)
      + allocated_storage                     = 100
      + apply_immediately                     = false
      + arn                                   = (known after apply)
      + auto_minor_version_upgrade            = true
      + availability_zone                     = (known after apply)
      + backup_retention_period               = (known after apply)
      + backup_target                         = (known after apply)
      + backup_window                         = (known after apply)
      + ca_cert_identifier                    = (known after apply)
      + character_set_name                    = (known after apply)
      + copy_tags_to_snapshot                 = false
      + db_name                               = "mysql_prod"
      + db_subnet_group_name                  = (known after apply)
      + dedicated_log_volume                  = false
      + delete_automated_backups              = true
      + domain_fqdn                           = (known after apply)
      + endpoint                              = (known after apply)
      + engine                                = "mysql"
      + engine_version                        = "8.0.36"
      + engine_version_actual                 = (known after apply)
      + hosted_zone_id                        = (known after apply)
      + id                                    = (known after apply)
      + identifier                            = (known after apply)
      + identifier_prefix                     = (known after apply)
      + instance_class                        = "db.t2.medium"
      + iops                                  = (known after apply)
      + kms_key_id                            = (known after apply)
      + latest_restorable_time                = (known after apply)
      + license_model                         = (known after apply)
      + listener_endpoint                     = (known after apply)
      + maintenance_window                    = (known after apply)
      + master_user_secret                    = (known after apply)
      + master_user_secret_kms_key_id         = (known after apply)
      + monitoring_interval                   = 0
      + monitoring_role_arn                   = (known after apply)
      + multi_az                              = (known after apply)
      + nchar_character_set_name              = (known after apply)
      + network_type                          = (known after apply)
      + option_group_name                     = (known after apply)
      + parameter_group_name                  = (known after apply)
      + performance_insights_enabled          = false
      + performance_insights_kms_key_id       = (known after apply)
      + performance_insights_retention_period = (known after apply)
      + port                                  = (known after apply)
      + publicly_accessible                   = false
      + replica_mode                          = (known after apply)
      + replicas                              = (known after apply)
      + resource_id                           = (known after apply)
      + skip_final_snapshot                   = false
      + snapshot_identifier                   = (known after apply)
      + status                                = (known after apply)
      + storage_throughput                    = (known after apply)
      + storage_type                          = "standard"
      + tags_all                              = (known after apply)
      + timezone                              = (known after apply)
      + username                              = (sensitive value)
      + vpc_security_group_ids                = (known after apply)
        # (1 unchanged attribute hidden)
    }

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

Changes to Outputs:
  + arn      = (known after apply)
  + db_name  = "mysql_prod"
  + endpoint = (known after apply)
Terraform plan validation check (prod_us-east-1_prod_mysql) Terraform plan validation checks succeeded ✅

Terraform plan summary

CHANGE RESOURCE
add aws_db_instance.mysql
CHANGE OUTPUT
add endpoint
arn
db_name

@motatoes
Copy link
Contributor Author

prod_us-east-1_prod_mysql

@motatoes
Copy link
Contributor Author

digger apply -p prod_us-east-1_prod_mysql

@mo-local2-digger-app-864362
Copy link

mo-local2-digger-app-864362 bot commented May 28, 2024

Project Status Apply
prod_us-east-1_prod_mysql failed apply

@motatoes
Copy link
Contributor Author

digger apply -p prod_us-east-1_prod_mysql

@mo-local2-digger-app-864362
Copy link

mo-local2-digger-app-864362 bot commented May 28, 2024

Project Status Apply
prod_us-east-1_prod_mysql failed apply

Copy link

github-actions bot commented May 28, 2024

apply for prod_us-east-1_prod_mysql 2024-05-28 18:22:42 (UTC)
Apply output
Error: creating RDS DB Instance (terraform-20240528182300615300000001): InvalidParameterValue: Invalid master password
	status code: 400, request id: 173a12f5-788f-4fb7-aca9-413fd134a30e

  with aws_db_instance.mysql,
  on main.tf line 16, in resource "aws_db_instance" "mysql":
  16: resource "aws_db_instance" "mysql" {

time=2024-05-28T18:23:02Z level=error msg=terraform invocation failed in /home/runner/work/terragrunt-dependencies-demo/terragrunt-dependencies-demo/prod/us-east-1/prod/mysql/.terragrunt-cache/hbH1iSWmBHu0u1pYiK_ODD8tvoo/9KdFiGzs0Psssz02yWzKhq8EFFM/modules/mysql prefix=[/home/runner/work/terragrunt-dependencies-demo/terragrunt-dependencies-demo/prod/us-east-1/prod/mysql] 
time=2024-05-28T18:23:02Z level=error msg=1 error occurred:
	* [/home/runner/work/terragrunt-dependencies-demo/terragrunt-dependencies-demo/prod/us-east-1/prod/mysql/.terragrunt-cache/hbH1iSWmBHu0u1pYiK_ODD8tvoo/9KdFiGzs0Psssz02yWzKhq8EFFM/modules/mysql] exit status 1


Error during applying. error: exit status 1

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