Output too large. Showing first 8,000 and last 32,000 characters. For full output see: /Users/bob/.gemini/tmp/dalmatian/tool-outputs/session-cebedcb4-6673-4a0e-bf61-a131af573337/run_shell_command_1771603902642_0.txt Output: Run options: include {:locations=>{"./spec/integration/tests_local_configuration_spec.rb"=>[3352]}} tests local configuration debug Testing Aurora invokes "terraform validate" with the expected cluster options (FAILED - 1) debug Testing Aurora invokes "terraform validate" with the expected source options (FAILED - 2) use of "terraform plan" debug Testing Aurora passes the hosted zone config to "terraform plan" (FAILED - 3) debug Testing Aurora passes the s3 config to "terraform plan" (FAILED - 4) debug Testing Aurora passes the vpn customer gateway config to "terraform plan" (FAILED - 5) debug Testing Aurora passes the base config to "terraform plan" (FAILED - 6) debug Testing Aurora passes the waf config to "terraform plan" (FAILED - 7) debug Testing Aurora passes the rds config to "terraform plan" (FAILED - 8) debug Testing Aurora passes the aurora config to "terraform plan" (FAILED - 9) debug Testing Aurora passes the elasticache config to "terraform plan" (FAILED - 10) debug Testing Aurora passes the opensearch config to "terraform plan" (FAILED - 11) debug Testing Aurora passes the services config to "terraform plan" (FAILED - 12) debug Testing Aurora passes the loadbalancer config to "terraform plan" (FAILED - 13) debug Testing Aurora passes the cluster 2 config to "terraform plan" (FAILED - 14) debug Testing Aurora passes the cluster 3 config to "terraform plan" (FAILED - 15) debug Testing Aurora passes the cluster 4 config to "terraform plan" (FAILED - 16) Failures: 1) tests local configuration invokes "terraform validate" with the expected cluster options Failure/Error: Helper.run!(cmd) # received :run! with unexpected arguments expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='production' TF_VAR_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") got: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_aurora='{identifier =\"testaurora\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},minimum_size ={production =2,staging =1},maximum_size ={production =2,staging =1},engine =\"aurora-postgresql\",engine_version =\"11.9\",db_name =\"testapp\",port =5432,force_ssl =true,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,replication_bucket_destination_arn =\"arn:aws:s3:::your-destination-bucket-name\",replication_kms_key_id =\"your-destination-kms-key-id\"}' terraform validate") Please stub a default value first if message might be received with other args as well. # ./lib/dalmatian/terraform.rb:17:in `validate' # ./lib/dalmatian/testable.rb:25:in `terraform_validate' # ./lib/dalmatian/testable.rb:9:in `call' # ./lib/dalmatian/cluster.rb:358:in `test_aurora' # ./lib/dalmatian/cluster.rb:273:in `deploy_aurora' # ./lib/dalmatian/cluster.rb:75:in `block (2 levels) in deploy' # ./lib/dalmatian/cluster.rb:73:in `each' # ./lib/dalmatian/cluster.rb:73:in `block in deploy' # ./lib/dalmatian/cluster.rb:59:in `each' # ./lib/dalmatian/cluster.rb:59:in `deploy' # ./lib/dalmatian/infrastructure.rb:24:in `block in deploy' # ./lib/dalmatian/infrastructure.rb:22:in `each' # ./lib/dalmatian/infrastructure.rb:22:in `deploy' # ./lib/dalmatian/infrastructure.rb:18:in `test' # ./spec/integration/tests_local_configuration_spec.rb:3397:in `block (2 levels) in ' # ./spec/support/spec_helper.rb:24:in `block (3 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify' # ./spec/support/spec_helper.rb:20:in `block (2 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in ' 2) tests local configuration invokes "terraform validate" with the expected source options Failure/Error: Helper.run!(cmd) # received :run! with unexpected arguments expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='productio ... [46,806 characters omitted] ... ublic_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_aurora='{identifier =\"testaurora\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},minimum_size ={production =2,staging =1},maximum_size ={production =2,staging =1},engine =\"aurora-postgresql\",engine_version =\"11.9\",db_name =\"testapp\",port =5432,force_ssl =true,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,replication_bucket_destination_arn =\"arn:aws:s3:::your-destination-bucket-name\",replication_kms_key_id =\"your-destination-kms-key-id\"}' terraform validate") Please stub a default value first if message might be received with other args as well. # ./lib/dalmatian/terraform.rb:17:in `validate' # ./lib/dalmatian/testable.rb:25:in `terraform_validate' # ./lib/dalmatian/testable.rb:9:in `call' # ./lib/dalmatian/cluster.rb:358:in `test_aurora' # ./lib/dalmatian/cluster.rb:273:in `deploy_aurora' # ./lib/dalmatian/cluster.rb:75:in `block (2 levels) in deploy' # ./lib/dalmatian/cluster.rb:73:in `each' # ./lib/dalmatian/cluster.rb:73:in `block in deploy' # ./lib/dalmatian/cluster.rb:59:in `each' # ./lib/dalmatian/cluster.rb:59:in `deploy' # ./lib/dalmatian/infrastructure.rb:24:in `block in deploy' # ./lib/dalmatian/infrastructure.rb:22:in `each' # ./lib/dalmatian/infrastructure.rb:22:in `deploy' # ./lib/dalmatian/infrastructure.rb:18:in `test' # ./spec/integration/tests_local_configuration_spec.rb:3397:in `block (2 levels) in ' # ./spec/support/spec_helper.rb:24:in `block (3 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify' # ./spec/support/spec_helper.rb:20:in `block (2 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in ' 12) tests local configuration use of "terraform plan" passes the services config to "terraform plan" Failure/Error: Helper.run!(cmd) # received :run! with unexpected arguments expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='production' TF_VAR_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") got: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_aurora='{identifier =\"testaurora\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},minimum_size ={production =2,staging =1},maximum_size ={production =2,staging =1},engine =\"aurora-postgresql\",engine_version =\"11.9\",db_name =\"testapp\",port =5432,force_ssl =true,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,replication_bucket_destination_arn =\"arn:aws:s3:::your-destination-bucket-name\",replication_kms_key_id =\"your-destination-kms-key-id\"}' terraform validate") Please stub a default value first if message might be received with other args as well. # ./lib/dalmatian/terraform.rb:17:in `validate' # ./lib/dalmatian/testable.rb:25:in `terraform_validate' # ./lib/dalmatian/testable.rb:9:in `call' # ./lib/dalmatian/cluster.rb:358:in `test_aurora' # ./lib/dalmatian/cluster.rb:273:in `deploy_aurora' # ./lib/dalmatian/cluster.rb:75:in `block (2 levels) in deploy' # ./lib/dalmatian/cluster.rb:73:in `each' # ./lib/dalmatian/cluster.rb:73:in `block in deploy' # ./lib/dalmatian/cluster.rb:59:in `each' # ./lib/dalmatian/cluster.rb:59:in `deploy' # ./lib/dalmatian/infrastructure.rb:24:in `block in deploy' # ./lib/dalmatian/infrastructure.rb:22:in `each' # ./lib/dalmatian/infrastructure.rb:22:in `deploy' # ./lib/dalmatian/infrastructure.rb:18:in `test' # ./spec/integration/tests_local_configuration_spec.rb:3397:in `block (2 levels) in ' # ./spec/support/spec_helper.rb:24:in `block (3 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify' # ./spec/support/spec_helper.rb:20:in `block (2 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in ' 13) tests local configuration use of "terraform plan" passes the loadbalancer config to "terraform plan" Failure/Error: Helper.run!(cmd) # received :run! with unexpected arguments expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='production' TF_VAR_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") got: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_aurora='{identifier =\"testaurora\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},minimum_size ={production =2,staging =1},maximum_size ={production =2,staging =1},engine =\"aurora-postgresql\",engine_version =\"11.9\",db_name =\"testapp\",port =5432,force_ssl =true,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,replication_bucket_destination_arn =\"arn:aws:s3:::your-destination-bucket-name\",replication_kms_key_id =\"your-destination-kms-key-id\"}' terraform validate") Please stub a default value first if message might be received with other args as well. # ./lib/dalmatian/terraform.rb:17:in `validate' # ./lib/dalmatian/testable.rb:25:in `terraform_validate' # ./lib/dalmatian/testable.rb:9:in `call' # ./lib/dalmatian/cluster.rb:358:in `test_aurora' # ./lib/dalmatian/cluster.rb:273:in `deploy_aurora' # ./lib/dalmatian/cluster.rb:75:in `block (2 levels) in deploy' # ./lib/dalmatian/cluster.rb:73:in `each' # ./lib/dalmatian/cluster.rb:73:in `block in deploy' # ./lib/dalmatian/cluster.rb:59:in `each' # ./lib/dalmatian/cluster.rb:59:in `deploy' # ./lib/dalmatian/infrastructure.rb:24:in `block in deploy' # ./lib/dalmatian/infrastructure.rb:22:in `each' # ./lib/dalmatian/infrastructure.rb:22:in `deploy' # ./lib/dalmatian/infrastructure.rb:18:in `test' # ./spec/integration/tests_local_configuration_spec.rb:3397:in `block (2 levels) in ' # ./spec/support/spec_helper.rb:24:in `block (3 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify' # ./spec/support/spec_helper.rb:20:in `block (2 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in ' 14) tests local configuration use of "terraform plan" passes the cluster 2 config to "terraform plan" Failure/Error: Helper.run!(cmd) # received :run! with unexpected arguments expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='production' TF_VAR_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") got: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_aurora='{identifier =\"testaurora\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},minimum_size ={production =2,staging =1},maximum_size ={production =2,staging =1},engine =\"aurora-postgresql\",engine_version =\"11.9\",db_name =\"testapp\",port =5432,force_ssl =true,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,replication_bucket_destination_arn =\"arn:aws:s3:::your-destination-bucket-name\",replication_kms_key_id =\"your-destination-kms-key-id\"}' terraform validate") Please stub a default value first if message might be received with other args as well. # ./lib/dalmatian/terraform.rb:17:in `validate' # ./lib/dalmatian/testable.rb:25:in `terraform_validate' # ./lib/dalmatian/testable.rb:9:in `call' # ./lib/dalmatian/cluster.rb:358:in `test_aurora' # ./lib/dalmatian/cluster.rb:273:in `deploy_aurora' # ./lib/dalmatian/cluster.rb:75:in `block (2 levels) in deploy' # ./lib/dalmatian/cluster.rb:73:in `each' # ./lib/dalmatian/cluster.rb:73:in `block in deploy' # ./lib/dalmatian/cluster.rb:59:in `each' # ./lib/dalmatian/cluster.rb:59:in `deploy' # ./lib/dalmatian/infrastructure.rb:24:in `block in deploy' # ./lib/dalmatian/infrastructure.rb:22:in `each' # ./lib/dalmatian/infrastructure.rb:22:in `deploy' # ./lib/dalmatian/infrastructure.rb:18:in `test' # ./spec/integration/tests_local_configuration_spec.rb:3397:in `block (2 levels) in ' # ./spec/support/spec_helper.rb:24:in `block (3 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify' # ./spec/support/spec_helper.rb:20:in `block (2 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in ' 15) tests local configuration use of "terraform plan" passes the cluster 3 config to "terraform plan" Failure/Error: Helper.run!(cmd) # received :run! with unexpected arguments expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='production' TF_VAR_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") got: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_aurora='{identifier =\"testaurora\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},minimum_size ={production =2,staging =1},maximum_size ={production =2,staging =1},engine =\"aurora-postgresql\",engine_version =\"11.9\",db_name =\"testapp\",port =5432,force_ssl =true,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,replication_bucket_destination_arn =\"arn:aws:s3:::your-destination-bucket-name\",replication_kms_key_id =\"your-destination-kms-key-id\"}' terraform validate") Please stub a default value first if message might be received with other args as well. # ./lib/dalmatian/terraform.rb:17:in `validate' # ./lib/dalmatian/testable.rb:25:in `terraform_validate' # ./lib/dalmatian/testable.rb:9:in `call' # ./lib/dalmatian/cluster.rb:358:in `test_aurora' # ./lib/dalmatian/cluster.rb:273:in `deploy_aurora' # ./lib/dalmatian/cluster.rb:75:in `block (2 levels) in deploy' # ./lib/dalmatian/cluster.rb:73:in `each' # ./lib/dalmatian/cluster.rb:73:in `block in deploy' # ./lib/dalmatian/cluster.rb:59:in `each' # ./lib/dalmatian/cluster.rb:59:in `deploy' # ./lib/dalmatian/infrastructure.rb:24:in `block in deploy' # ./lib/dalmatian/infrastructure.rb:22:in `each' # ./lib/dalmatian/infrastructure.rb:22:in `deploy' # ./lib/dalmatian/infrastructure.rb:18:in `test' # ./spec/integration/tests_local_configuration_spec.rb:3397:in `block (2 levels) in ' # ./spec/support/spec_helper.rb:24:in `block (3 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify' # ./spec/support/spec_helper.rb:20:in `block (2 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in ' 16) tests local configuration use of "terraform plan" passes the cluster 4 config to "terraform plan" Failure/Error: Helper.run!(cmd) # received :run! with unexpected arguments expected: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_example_var='bar' TF_VAR_environment='production' TF_VAR_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") got: ("TF_VAR_region='eu-west-2' TF_VAR_cidr='10.0.0.0/16' TF_VAR_root_domain_zone='dalmatian.dxw.net' TF_VAR_internal_domain_zone='dalmatian.internal' TF_VAR_ecs_private_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.128.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.129.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.130.0/24\"}]' TF_VAR_extra_public_subnets='[{availability_zone =\"eu-west-2a\",cidr =\"10.0.0.0/24\"},{availability_zone =\"eu-west-2b\",cidr =\"10.0.1.0/24\"},{availability_zone =\"eu-west-2c\",cidr =\"10.0.2.0/24\"}]' TF_VAR_instances_key_name='dalmatian-ecs-instances' TF_VAR_instance_type='t2.medium' TF_VAR_min_servers='2' TF_VAR_max_servers='4' TF_VAR_max_instance_lifetime='86400' TF_VAR_associate_public_ip_address='0' TF_VAR_docker_storage_size='40' TF_VAR_dockerhub_email='' TF_VAR_dockerhub_token='' TF_VAR_enable_efs='false' TF_VAR_encrypt_efs='true' TF_VAR_efs_dirs='[]' TF_VAR_monitoring_docs_path='https://github.com/dxw/dalmatian/docs/monitoring-alarms/' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_aurora='{identifier =\"testaurora\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},minimum_size ={production =2,staging =1},maximum_size ={production =2,staging =1},engine =\"aurora-postgresql\",engine_version =\"11.9\",db_name =\"testapp\",port =5432,force_ssl =true,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,parameter_store_path_db_url_name =\"DATABASE_URL\",sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],check_sql_backup_scheduled_task_environment_variables =[{name =\"foo\",value =\"bar\"}],sync_sql_backup_to_azure =false,replication_bucket_destination_arn =\"arn:aws:s3:::your-destination-bucket-name\",replication_kms_key_id =\"your-destination-kms-key-id\"}' terraform validate") Please stub a default value first if message might be received with other args as well. # ./lib/dalmatian/terraform.rb:17:in `validate' # ./lib/dalmatian/testable.rb:25:in `terraform_validate' # ./lib/dalmatian/testable.rb:9:in `call' # ./lib/dalmatian/cluster.rb:358:in `test_aurora' # ./lib/dalmatian/cluster.rb:273:in `deploy_aurora' # ./lib/dalmatian/cluster.rb:75:in `block (2 levels) in deploy' # ./lib/dalmatian/cluster.rb:73:in `each' # ./lib/dalmatian/cluster.rb:73:in `block in deploy' # ./lib/dalmatian/cluster.rb:59:in `each' # ./lib/dalmatian/cluster.rb:59:in `deploy' # ./lib/dalmatian/infrastructure.rb:24:in `block in deploy' # ./lib/dalmatian/infrastructure.rb:22:in `each' # ./lib/dalmatian/infrastructure.rb:22:in `deploy' # ./lib/dalmatian/infrastructure.rb:18:in `test' # ./spec/integration/tests_local_configuration_spec.rb:3397:in `block (2 levels) in ' # ./spec/support/spec_helper.rb:24:in `block (3 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:24:in `block in modify' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `synchronize' # /Users/bob/.bundles/ruby/2.7.0/gems/climate_control-1.2.0/lib/climate_control.rb:15:in `modify' # ./spec/support/spec_helper.rb:20:in `block (2 levels) in ' # /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in ' Finished in 0.79762 seconds (files took 0.66483 seconds to load) 16 examples, 16 failures Failed examples: rspec ./spec/integration/tests_local_configuration_spec.rb:3400 # tests local configuration invokes "terraform validate" with the expected cluster options rspec ./spec/integration/tests_local_configuration_spec.rb:3439 # tests local configuration invokes "terraform validate" with the expected source options rspec ./spec/integration/tests_local_configuration_spec.rb:3445 # tests local configuration use of "terraform plan" passes the hosted zone config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3451 # tests local configuration use of "terraform plan" passes the s3 config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3457 # tests local configuration use of "terraform plan" passes the vpn customer gateway config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3463 # tests local configuration use of "terraform plan" passes the base config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3470 # tests local configuration use of "terraform plan" passes the waf config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3477 # tests local configuration use of "terraform plan" passes the rds config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3484 # tests local configuration use of "terraform plan" passes the aurora config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3491 # tests local configuration use of "terraform plan" passes the elasticache config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3500 # tests local configuration use of "terraform plan" passes the opensearch config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3509 # tests local configuration use of "terraform plan" passes the services config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3516 # tests local configuration use of "terraform plan" passes the loadbalancer config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3525 # tests local configuration use of "terraform plan" passes the cluster 2 config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3532 # tests local configuration use of "terraform plan" passes the cluster 3 config to "terraform plan" rspec ./spec/integration/tests_local_configuration_spec.rb:3536 # tests local configuration use of "terraform plan" passes the cluster 4 config to "terraform plan" Coverage report generated for RSpec to /Users/bob/git/dxw/dalmatian/coverage. 1202 / 1774 LOC (67.76%) covered. Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected Exit Code: 1 Process Group PGID: 84761