113 lines
73 KiB
Plaintext
113 lines
73 KiB
Plaintext
Output:
|
|
tests local configuration
|
|
invokes "terraform validate" with the expected cluster options (FAILED - 1)
|
|
invokes "terraform validate" with the expected source options
|
|
use of "terraform plan"
|
|
passes the hosted zone config to "terraform plan"
|
|
passes the s3 config to "terraform plan"
|
|
passes the vpn customer gateway config to "terraform plan"
|
|
passes the base config to "terraform plan"
|
|
passes the waf config to "terraform plan"
|
|
passes the rds config to "terraform plan"
|
|
passes the elasticache config to "terraform plan"
|
|
passes the opensearch config to "terraform plan"
|
|
passes the services config to "terraform plan"
|
|
passes the loadbalancer config to "terraform plan"
|
|
passes the cluster 2 config to "terraform plan"
|
|
passes the cluster 3 config to "terraform plan"
|
|
passes the cluster 4 config to "terraform plan"
|
|
|
|
Failures:
|
|
|
|
1) tests local configuration invokes "terraform validate" with the expected cluster options
|
|
Failure/Error: expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_waf)
|
|
|
|
#<Dalmatian::Helper (class)> 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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_waf='{name =\"test-1\",action =\"count\",ip_deny_list =[],aws_managed_rules =[{name =\"AWSManagedRulesSQLiRuleSet\",excluded_path_patterns =[\"/wp-admin/async-upload.php\"]},{name =\"AWSManagedRulesCommonRuleSet\",exclude_rules =[\"SizeRestrictions_BODY\"]}],associations ={shared_loadbalancers =[\"test-lb-1\"],service_cloudfront =[\"test-service\"]}}' terraform validate")
|
|
got: ("terraform init -upgrade=true") (23 times)
|
|
("terraform workspace new new-dedicated-cluster-example-domain-name-com-hz") (2 times)
|
|
("terraform fmt -check -diff") (23 times)
|
|
("TF_VAR_account_id='123456789012' TF_VAR_cluster_id='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_hosted_zone='{domain =\"example-domain-name.com\",ns_records =[{name =\"delegated\",value =[\"ns1.aws.com\"]}],a_records =[{name =\"some-service\",value =[\"1.2.3.4\"]},{name =\"mail\",value =[\"5.6.7.8\"]}],alias_records =[{name =\"example-domain-name.com\",value =\"cf-distribution.aws.net\"},{name =\"www\",value =\"cf-distribution.aws.net\"}],cname_records =[{name =\"alb\",value =[\"aws-alb.aws.net\"]}],mx_records =[{name =\"mail\",value =[\"0 mail.example-domain-name.com\"]}],txt_records =[{name =\"mail\",value =[\"v=spf1 a ip4:9.10.11.0/24 mx ~all\"]}],srv_records =[{name =\"@\",value =[\"_imaps._tcp.gmail.com. 86400 IN SRV 5 0 993 imap.gmail.com\"]}]}' terraform validate") (1 time)
|
|
("TF_VAR_account_id='123456789012' TF_VAR_cluster_id='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_hosted_zone='{domain =\"example-domain-name.com\",ns_records =[{name =\"delegated\",value =[\"ns1.aws.com\"]}],a_records =[{name =\"some-service\",value =[\"1.2.3.4\"]},{name =\"mail\",value =[\"5.6.7.8\"]}],alias_records =[{name =\"example-domain-name.com\",value =\"cf-distribution.aws.net\"},{name =\"www\",value =\"cf-distribution.aws.net\"}],cname_records =[{name =\"alb\",value =[\"aws-alb.aws.net\"]}],mx_records =[{name =\"mail\",value =[\"0 mail.example-domain-name.com\"]}],txt_records =[{name =\"mail\",value =[\"v=spf1 a ip4:9.10.11.0/24 mx ~all\"]}],srv_records =[{name =\"@\",value =[\"_imaps._tcp.gmail.com. 86400 IN SRV 5 0 993 imap.gmail.com\"]}]}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-test-s3") (2 times)
|
|
("TF_VAR_account_id='123456789012' TF_VAR_cluster_id='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_s3='{name =\"test\",enable_s3_versioning =true,encrypted =true,acl =\"private\",policy ={staging ={rw ={services =[\"test-service\"]}}},service_cloudfront_read_access =[\"test-service-staging\"],cloudfront ={create =true,domain_names =[\"example.com\",\"example2.com\"],certificate =\"arn:aws:acm:lb-region-0:000000000000:certificate/00000000-0000-0000-0000-000000000000\"}}' terraform validate") (1 time)
|
|
("TF_VAR_account_id='123456789012' TF_VAR_cluster_id='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_s3='{name =\"test\",enable_s3_versioning =true,encrypted =true,acl =\"private\",policy ={staging ={rw ={services =[\"test-service\"]}}},service_cloudfront_read_access =[\"test-service-staging\"],cloudfront ={create =true,domain_names =[\"example.com\",\"example2.com\"],certificate =\"arn:aws:acm:lb-region-0:000000000000:certificate/00000000-0000-0000-0000-000000000000\"}}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-test-vpn-vpn-cg") (2 times)
|
|
("TF_VAR_account_id='123456789012' TF_VAR_cluster_id='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_vpn_customer_gateway='{name =\"test-vpn\",bgp_asn =65000,ip_address =\"1.2.3.4\"}' terraform validate") (1 time)
|
|
("TF_VAR_account_id='123456789012' TF_VAR_cluster_id='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_vpn_customer_gateway='{name =\"test-vpn\",bgp_asn =65000,ip_address =\"1.2.3.4\"}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-ecs-production") (2 times)
|
|
("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_cluster_name='new-dedicated-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' terraform validate") (2 times)
|
|
("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_environment='production' TF_VAR_cluster_name='new-dedicated-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") (2 times)
|
|
("terraform workspace new new-dedicated-cluster-test-1-waf-production") (2 times)
|
|
("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_waf='{name =\"test-1\",action =\"count\",ip_deny_list =[],aws_managed_rules =[{name =\"AWSManagedRulesSQLiRuleSet\",excluded_path_patterns =[\"/wp-admin/async-upload.php\"]},{name =\"AWSManagedRulesCommonRuleSet\",exclude_rules =[\"SizeRestrictions_BODY\"]}],associations ={shared_loadbalancers =[\"test-lb-1\"],service_cloudfront =[\"test-service\"]}}' terraform validate") (1 time)
|
|
("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_environment='production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_waf='{name =\"test-1\",action =\"count\",ip_deny_list =[],aws_managed_rules =[{name =\"AWSManagedRulesSQLiRuleSet\",excluded_path_patterns =[\"/wp-admin/async-upload.php\"]},{name =\"AWSManagedRulesCommonRuleSet\",exclude_rules =[\"SizeRestrictions_BODY\"]}],associations ={shared_loadbalancers =[\"test-lb-1\"],service_cloudfront =[\"test-service\"]}}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-testservice-rds-production") (2 times)
|
|
("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_rds='{identifier =\"testservice\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},instance_class ={production =\"db.t2.small\",staging =\"db.t2.micro\"},engine =\"postgres\",engine_version =\"11.4\",allocated_storage =20,storage_encrypted =true,storage_type =\"gp3\",db_name =\"testapp\",port =5432,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,force_ssl =true,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\",codebuild_access =[\"service-name\"]}' terraform validate") (1 time)
|
|
("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_environment='production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_rds='{identifier =\"testservice\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},instance_class ={production =\"db.t2.small\",staging =\"db.t2.micro\"},engine =\"postgres\",engine_version =\"11.4\",allocated_storage =20,storage_encrypted =true,storage_type =\"gp3\",db_name =\"testapp\",port =5432,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,force_ssl =true,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\",codebuild_access =[\"service-name\"]}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-testredis-elasticache-cluster-production") (2 times)
|
|
("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_elasticache_cluster='{identifier =\"testredis\",in_use_by =[\"test-service\"],node_type =\"cache.t2.micro\",node_count =1,engine =\"redis\",engine_version =\"5.0.6\",parameters =[],port =6379,maintenance_window =\"mon:19:00-mon:22:00\",snapshot_window =\"09:00-10:00\",parameter_store_path_elasticache_cluster_url_name =\"REDIS_URL\"}' terraform validate") (1 time)
|
|
("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_environment='production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_elasticache_cluster='{identifier =\"testredis\",in_use_by =[\"test-service\"],node_type =\"cache.t2.micro\",node_count =1,engine =\"redis\",engine_version =\"5.0.6\",parameters =[],port =6379,maintenance_window =\"mon:19:00-mon:22:00\",snapshot_window =\"09:00-10:00\",parameter_store_path_elasticache_cluster_url_name =\"REDIS_URL\"}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-testos-opensearch-cluster-production") (2 times)
|
|
("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_opensearch_cluster='{identifier =\"testos\",in_use_by =[\"test-service\"],version =\"1.2\",master_enabled =true,master_count =\"1\",master_type =\"c6g.large.search\",instance_count =\"3\",instance_type =\"t3.small.search\",warm_enabled =true,warm_count =\"2\",warm_type =\"ultrawarm1.medium.search\",parameter_store_path_opensearch_cluster_url_name =\"ELASTICSEARCH_URL\",volume_size =\"20\"}' terraform validate") (1 time)
|
|
("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_environment='production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_opensearch_cluster='{identifier =\"testos\",in_use_by =[\"test-service\"],version =\"1.2\",master_enabled =true,master_count =\"1\",master_type =\"c6g.large.search\",instance_count =\"3\",instance_type =\"t3.small.search\",warm_enabled =true,warm_count =\"2\",warm_type =\"ultrawarm1.medium.search\",parameter_store_path_opensearch_cluster_url_name =\"ELASTICSEARCH_URL\",volume_size =\"20\"}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-test-service-production") (2 times)
|
|
("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_cluster_name='new-dedicated-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' TF_VAR_service='{name =\"test-service\",blue_green ={production ={enabled =true,db_copy ={from_db_host_ps_key =\"/test-app/other-test-service/production/DB_HOST\",from_db_name_ps_key =\"/test-app/other-test-service/production/DB_NAME\",from_db_user_ps_key =\"/test-app/other-te...ficate/00000000-0000-0000-0000-000000000000\"},lb_ssl_policy ={production =\"ELBSecurityPolicy-TLS-1-2-2017-01\",staging =\"ELBSecurityPolicy-TLS-1-2-2017-01\"},cloudfront_ssl_certificate ={production =\"\",staging =\"arn:aws:acm:us-east-1:000000000000:certificate/00000000-0000-0000-0000-000000000000\"},image_source =\"build_from_github_repo\",image_location =\"git@github.com:dxw/dalmatian-test-app\",track_revision ={production =\"\",staging =\"\"},custom_codestar_connection_arn =\"arn:aws:codestar-connections:eu-west-2:000000000000:connection/00000000-0000-0000-0000-000000000000\",codepipeline_use_github_v1 =false,codepipeline_codebuild_run_in_vpc =false,codepipeline_codebuild_use_service_env =false,buildspec =\"buildspec.yml\",container_port =\"3100\",container_command =[\"/docker-entrypoint.sh\",\"rails\",\"server\"],container_volumes =[{name =\"test-volume\",host_path =\"/mnt/test\",container_path =\"/test\"}],container_extra_hosts =[{hostname =\"example.com\",ipAddress =\"127.0.0.1\"}],container_count =\"2\",enable_max_one_container_per_instance =true,scheduled_tasks =[{name =\"old-scheduled-task\",command =[\"rake\",\"do:cron\"],schedule_expression ={production =\"cron(0 4 * * ? *)\",staging =\"cron(0 4 * * ? *)\"}},{name =\"test-scheduled-task\",command =[\"rake\",\"do:something\"],schedule_expression ={staging =\"cron(0 12 * * ? *)\",production =\"cron(1 2 * * ? *)\"}}],workers =[{name =\"test-worker\",command =[\"bundle\",\"exec\",\"sidekiq\"]}]}' terraform validate") (1 time)
|
|
("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_environment='production' TF_VAR_cluster_name='new-dedicated-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_service='{name =\"test-service\",blue_green ={production ={enabled =true,db_copy ={from_db_host_ps_key =\"/test-app/other-test-service/production/DB_HOST\",from_db_name_ps_key =\"/test-app/other-test-service/production/DB_NAME\",from_db_user_ps_key =\"/test-app/other-te...ertificate/00000000-0000-0000-0000-000000000000\"},lb_ssl_policy ={production =\"ELBSecurityPolicy-TLS-1-2-2017-01\",staging =\"ELBSecurityPolicy-TLS-1-2-2017-01\"},cloudfront_ssl_certificate ={production =\"\",staging =\"arn:aws:acm:us-east-1:000000000000:certificate/00000000-0000-0000-0000-000000000000\"},image_source =\"build_from_github_repo\",image_location =\"git@github.com:dxw/dalmatian-test-app\",track_revision ={production =\"\",staging =\"\"},custom_codestar_connection_arn =\"arn:aws:codestar-connections:eu-west-2:000000000000:connection/00000000-0000-0000-0000-000000000000\",codepipeline_use_github_v1 =false,codepipeline_codebuild_run_in_vpc =false,codepipeline_codebuild_use_service_env =false,buildspec =\"buildspec.yml\",container_port =\"3100\",container_command =[\"/docker-entrypoint.sh\",\"rails\",\"server\"],container_volumes =[{name =\"test-volume\",host_path =\"/mnt/test\",container_path =\"/test\"}],container_extra_hosts =[{hostname =\"example.com\",ipAddress =\"127.0.0.1\"}],container_count =\"2\",enable_max_one_container_per_instance =true,scheduled_tasks =[{name =\"old-scheduled-task\",command =[\"rake\",\"do:cron\"],schedule_expression ={production =\"cron(0 4 * * ? *)\",staging =\"cron(0 4 * * ? *)\"}},{name =\"test-scheduled-task\",command =[\"rake\",\"do:something\"],schedule_expression ={staging =\"cron(0 12 * * ? *)\",production =\"cron(1 2 * * ? *)\"}}],workers =[{name =\"test-worker\",command =[\"bundle\",\"exec\",\"sidekiq\"]}]}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-test-lb-1-shared-loadbalancer-production") (2 times)
|
|
("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_shared_loadbalancer='{name =\"test-lb-1\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},subnets_name =\"\",domain_names ={test-service ={production =[],staging =[\"example-domain-name.co.uk\"]}},internal =false,ip_whitelist =[{name =\"public\",cidr =\"0.0.0.0/0\"}],idle_timeout =\"60\",global_accelerator ={production =true,staging =false},ssl_policy =\"ELBSecurityPolicy-TLS-1-2-2017-01\"}' terraform validate") (1 time)
|
|
("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_environment='production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_shared_loadbalancer='{name =\"test-lb-1\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},subnets_name =\"\",domain_names ={test-service ={production =[],staging =[\"example-domain-name.co.uk\"]}},internal =false,ip_whitelist =[{name =\"public\",cidr =\"0.0.0.0/0\"}],idle_timeout =\"60\",global_accelerator ={production =true,staging =false},ssl_policy =\"ELBSecurityPolicy-TLS-1-2-2017-01\"}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-0-production") (2 times)
|
|
("terraform workspace new new-dedicated-cluster-ecs-staging") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_cluster_name='new-dedicated-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' terraform validate") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_cluster_name='new-dedicated-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") (2 times)
|
|
("terraform workspace new new-dedicated-cluster-test-1-waf-staging") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' TF_VAR_waf='{name =\"test-1\",action =\"count\",ip_deny_list =[],aws_managed_rules =[{name =\"AWSManagedRulesSQLiRuleSet\",excluded_path_patterns =[\"/wp-admin/async-upload.php\"]},{name =\"AWSManagedRulesCommonRuleSet\",exclude_rules =[\"SizeRestrictions_BODY\"]}],associations ={shared_loadbalancers =[\"test-lb-1\"],service_cloudfront =[\"test-service\"]}}' terraform validate") (1 time)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_waf='{name =\"test-1\",action =\"count\",ip_deny_list =[],aws_managed_rules =[{name =\"AWSManagedRulesSQLiRuleSet\",excluded_path_patterns =[\"/wp-admin/async-upload.php\"]},{name =\"AWSManagedRulesCommonRuleSet\",exclude_rules =[\"SizeRestrictions_BODY\"]}],associations ={shared_loadbalancers =[\"test-lb-1\"],service_cloudfront =[\"test-service\"]}}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-testservice-rds-staging") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' TF_VAR_rds='{identifier =\"testservice\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},instance_class ={production =\"db.t2.small\",staging =\"db.t2.micro\"},engine =\"postgres\",engine_version =\"11.4\",allocated_storage =20,storage_encrypted =true,storage_type =\"gp3\",db_name =\"testapp\",port =5432,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,force_ssl =true,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\",codebuild_access =[\"service-name\"]}' terraform validate") (1 time)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_rds='{identifier =\"testservice\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},instance_class ={production =\"db.t2.small\",staging =\"db.t2.micro\"},engine =\"postgres\",engine_version =\"11.4\",allocated_storage =20,storage_encrypted =true,storage_type =\"gp3\",db_name =\"testapp\",port =5432,maintenance_window =\"mon:19:00-mon:19:30\",backup_window =\"09:00-10:00\",backup_retention_period =31,force_ssl =true,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\",codebuild_access =[\"service-name\"]}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-testredis-elasticache-cluster-staging") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' TF_VAR_elasticache_cluster='{identifier =\"testredis\",in_use_by =[\"test-service\"],node_type =\"cache.t2.micro\",node_count =1,engine =\"redis\",engine_version =\"5.0.6\",parameters =[],port =6379,maintenance_window =\"mon:19:00-mon:22:00\",snapshot_window =\"09:00-10:00\",parameter_store_path_elasticache_cluster_url_name =\"REDIS_URL\"}' terraform validate") (1 time)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_elasticache_cluster='{identifier =\"testredis\",in_use_by =[\"test-service\"],node_type =\"cache.t2.micro\",node_count =1,engine =\"redis\",engine_version =\"5.0.6\",parameters =[],port =6379,maintenance_window =\"mon:19:00-mon:22:00\",snapshot_window =\"09:00-10:00\",parameter_store_path_elasticache_cluster_url_name =\"REDIS_URL\"}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-testos-opensearch-cluster-staging") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' TF_VAR_opensearch_cluster='{identifier =\"testos\",in_use_by =[\"test-service\"],version =\"1.2\",master_enabled =true,master_count =\"1\",master_type =\"c6g.large.search\",instance_count =\"3\",instance_type =\"t3.small.search\",warm_enabled =true,warm_count =\"2\",warm_type =\"ultrawarm1.medium.search\",parameter_store_path_opensearch_cluster_url_name =\"ELASTICSEARCH_URL\",volume_size =\"20\"}' terraform validate") (1 time)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_opensearch_cluster='{identifier =\"testos\",in_use_by =[\"test-service\"],version =\"1.2\",master_enabled =true,master_count =\"1\",master_type =\"c6g.large.search\",instance_count =\"3\",instance_type =\"t3.small.search\",warm_enabled =true,warm_count =\"2\",warm_type =\"ultrawarm1.medium.search\",parameter_store_path_opensearch_cluster_url_name =\"ELASTICSEARCH_URL\",volume_size =\"20\"}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-test-service-staging") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_cluster_name='new-dedicated-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' TF_VAR_service='{name =\"test-service\",blue_green ={p...ficate/00000000-0000-0000-0000-000000000000\"},lb_ssl_policy ={production =\"ELBSecurityPolicy-TLS-1-2-2017-01\",staging =\"ELBSecurityPolicy-TLS-1-2-2017-01\"},cloudfront_ssl_certificate ={production =\"\",staging =\"arn:aws:acm:us-east-1:000000000000:certificate/00000000-0000-0000-0000-000000000000\"},image_source =\"build_from_github_repo\",image_location =\"git@github.com:dxw/dalmatian-test-app\",track_revision ={production =\"\",staging =\"\"},custom_codestar_connection_arn =\"arn:aws:codestar-connections:eu-west-2:000000000000:connection/00000000-0000-0000-0000-000000000000\",codepipeline_use_github_v1 =false,codepipeline_codebuild_run_in_vpc =false,codepipeline_codebuild_use_service_env =false,buildspec =\"buildspec.yml\",container_port =\"3100\",container_command =[\"/docker-entrypoint.sh\",\"rails\",\"server\"],container_volumes =[{name =\"test-volume\",host_path =\"/mnt/test\",container_path =\"/test\"}],container_extra_hosts =[{hostname =\"example.com\",ipAddress =\"127.0.0.1\"}],container_count =\"2\",enable_max_one_container_per_instance =true,scheduled_tasks =[{name =\"old-scheduled-task\",command =[\"rake\",\"do:cron\"],schedule_expression ={production =\"cron(0 4 * * ? *)\",staging =\"cron(0 4 * * ? *)\"}},{name =\"test-scheduled-task\",command =[\"rake\",\"do:something\"],schedule_expression ={staging =\"cron(0 12 * * ? *)\",production =\"cron(1 2 * * ? *)\"}}],workers =[{name =\"test-worker\",command =[\"bundle\",\"exec\",\"sidekiq\"]}]}' terraform validate") (1 time)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_cluster_name='new-dedicated-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_service='{name =\"test-service\",blue_green ={p...ertificate/00000000-0000-0000-0000-000000000000\"},lb_ssl_policy ={production =\"ELBSecurityPolicy-TLS-1-2-2017-01\",staging =\"ELBSecurityPolicy-TLS-1-2-2017-01\"},cloudfront_ssl_certificate ={production =\"\",staging =\"arn:aws:acm:us-east-1:000000000000:certificate/00000000-0000-0000-0000-000000000000\"},image_source =\"build_from_github_repo\",image_location =\"git@github.com:dxw/dalmatian-test-app\",track_revision ={production =\"\",staging =\"\"},custom_codestar_connection_arn =\"arn:aws:codestar-connections:eu-west-2:000000000000:connection/00000000-0000-0000-0000-000000000000\",codepipeline_use_github_v1 =false,codepipeline_codebuild_run_in_vpc =false,codepipeline_codebuild_use_service_env =false,buildspec =\"buildspec.yml\",container_port =\"3100\",container_command =[\"/docker-entrypoint.sh\",\"rails\",\"server\"],container_volumes =[{name =\"test-volume\",host_path =\"/mnt/test\",container_path =\"/test\"}],container_extra_hosts =[{hostname =\"example.com\",ipAddress =\"127.0.0.1\"}],container_count =\"2\",enable_max_one_container_per_instance =true,scheduled_tasks =[{name =\"old-scheduled-task\",command =[\"rake\",\"do:cron\"],schedule_expression ={production =\"cron(0 4 * * ? *)\",staging =\"cron(0 4 * * ? *)\"}},{name =\"test-scheduled-task\",command =[\"rake\",\"do:something\"],schedule_expression ={staging =\"cron(0 12 * * ? *)\",production =\"cron(1 2 * * ? *)\"}}],workers =[{name =\"test-worker\",command =[\"bundle\",\"exec\",\"sidekiq\"]}]}' terraform plan") (1 time)
|
|
("terraform workspace new new-dedicated-cluster-test-lb-1-shared-loadbalancer-staging") (2 times)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' TF_VAR_shared_loadbalancer='{name =\"test-lb-1\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},subnets_name =\"\",domain_names ={test-service ={production =[],staging =[\"example-domain-name.co.uk\"]}},internal =false,ip_whitelist =[{name =\"public\",cidr =\"0.0.0.0/0\"}],idle_timeout =\"60\",global_accelerator ={production =true,staging =false},ssl_policy =\"ELBSecurityPolicy-TLS-1-2-2017-01\"}' terraform validate") (1 time)
|
|
("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.small' 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_track_revision='feature/experiment' TF_VAR_extra_ecs_clusters='[{name =\"test\",subnets_name =\"extra_private_subnets\",min_servers =\"2\",max_servers =\"4\",instance_type =\"t3.small\"}]' TF_VAR_tinyproxy='{create =true}' TF_VAR_environment='staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='new-dedicated-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_shared_loadbalancer='{name =\"test-lb-1\",in_use_by =[\"test-service\"],clusters_in_use ={production =[\"test\"],staging =[\"test\"]},subnets_name =\"\",domain_names ={test-service ={production =[],staging =[\"example-domain-name.co.uk\"]}},internal =false,ip_whitelist =[{name =\"public\",cidr =\"0.0.0.0/0\"}],idle_timeout =\"60\",global_accelerator ={production =true,staging =false},ssl_policy =\"ELBSecurityPolicy-TLS-1-2-2017-01\"}' terraform plan") (1 time)
|
|
("git checkout feature/experiment") (2 times)
|
|
("terraform workspace new new-dedicated-cluster-0-staging") (2 times)
|
|
("terraform workspace new shared-new-cluster-ecs-production") (2 times)
|
|
("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='10' 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_cluster_name='shared-new-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='shared-new-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' terraform validate") (1 time)
|
|
("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='10' 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_environment='production' TF_VAR_cluster_name='shared-new-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='shared-new-cluster' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") (1 time)
|
|
("terraform workspace new shared-new-cluster-ecs-staging") (2 times)
|
|
("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.small' TF_VAR_min_servers='2' TF_VAR_max_servers='10' 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_cluster_name='shared-new-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='shared-new-cluster' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' terraform validate") (1 time)
|
|
("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.small' TF_VAR_min_servers='2' TF_VAR_max_servers='10' 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_environment='staging' TF_VAR_cluster_name='shared-new-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='shared-new-cluster' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") (1 time)
|
|
("terraform workspace new existing-shared-cluster-staging-0-staging") (2 times)
|
|
("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='foo' TF_VAR_cluster_name='shared-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-staging' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='staging' terraform validate") (1 time)
|
|
("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='foo' TF_VAR_environment='staging' TF_VAR_cluster_name='shared-cluster-staging' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-staging' TF_VAR_dalmatian_role='dalmatian-read' terraform plan") (1 time)
|
|
("terraform workspace new existing-shared-cluster-production-0-production") (2 times)
|
|
("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_cluster_name='shared-cluster-production' TF_VAR_account_id='123456789012' TF_VAR_infrastructure_name='existing-shared-cluster-production' TF_VAR_dalmatian_role='dalmatian-read' TF_VAR_environment='production' terraform validate") (1 time)
|
|
("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") (1 time)
|
|
# ./spec/integration/tests_local_configuration_spec.rb:3131:in `block (2 levels) in <module:Dalmatian>'
|
|
# ./spec/support/spec_helper.rb:24:in `block (3 levels) in <top (required)>'
|
|
# /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 <top (required)>'
|
|
# /Users/bob/.bundles/ruby/2.7.0/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
|
|
|
|
Finished in 1.43 seconds (files took 0.62749 seconds to load)
|
|
15 examples, 1 failure
|
|
|
|
Failed examples:
|
|
|
|
rspec ./spec/integration/tests_local_configuration_spec.rb:3120 # tests local configuration invokes "terraform validate" with the expected cluster options
|
|
|
|
Coverage report generated for RSpec to /Users/bob/git/dxw/dalmatian/coverage. 1514 / 1772 LOC (85.44%) covered.
|
|
Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
|
|
Exit Code: 1
|
|
Process Group PGID: 24668 |