IMPORTANT: The file content has been truncated. Status: Showing lines 1501-1600 of 1717 total lines. Action: To read more of the file, you can use the 'offset' and 'limit' parameters in a subsequent 'read_file' call. For example, to read the next section of the file, use offset: 1600. --- FILE CONTENT (truncated) --- "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" } ) ) ) end let(:cluster2_apply_cmd_production) do terraform_apply_cmd( tfvar_arg_string( infrastructure_defaults.merge( "instance_type" => "t2.medium", "min_servers" => "2", "max_servers" => "10", "environment" => "production", "cluster_name" => "shared-new-cluster-production", "account_id" => "123456789012", "infrastructure_name" => "shared-new-cluster", "dalmatian_role" => "dalmatian-admin" ) ) ) end let(:cluster2_apply_cmd_staging) do terraform_apply_cmd( tfvar_arg_string( infrastructure_defaults.merge( "instance_type" => "t2.small", "min_servers" => "2", "max_servers" => "10", "environment" => "staging", "cluster_name" => "shared-new-cluster-staging", "account_id" => "123456789012", "infrastructure_name" => "shared-new-cluster", "dalmatian_role" => "dalmatian-admin" ) ) ) end let(:cluster3_apply_cmd_staging) do terraform_apply_cmd( tfvar_arg_string( infrastructure_defaults.merge( "example_var" => "foo", "environment" => "staging", "cluster_name" => "shared-cluster-staging", "account_id" => "123456789012", "infrastructure_name" => "existing-shared-cluster-staging", "dalmatian_role" => "dalmatian-admin" ) ) ) end let(:cluster4_apply_cmd_production) do terraform_apply_cmd( tfvar_arg_string( infrastructure_defaults.merge( "example_var" => "bar", "environment" => "production", "cluster_name" => "shared-cluster-production", "account_id" => "123456789012", "infrastructure_name" => "existing-shared-cluster-production", "dalmatian_role" => "dalmatian-admin" ) ) ) end before do allow(Logger).to receive(:info) stub_git_checkout stub_workspace_creation_cmds allow(Helper).to receive(:run!).with(cluster1_apply_cmd_hz) allow(Helper).to receive(:run!).with(cluster1_apply_cmd_s3) allow(Helper).to receive(:run!).with(cluster1_apply_cmd_vpn_cg)