
IMPORTANT: The file content has been truncated.
Status: Showing lines 3401-3500 of 3542 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: 3500.

--- FILE CONTENT (truncated) ---
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_hz)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_s3)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_vpn_cg)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production).twice
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging).twice

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production_waf)
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_waf)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production_rds)
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_rds)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production_aurora)
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_aurora)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production_elasticache_cluster)
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_elasticache_cluster)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production_opensearch_cluster)
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_opensearch_cluster)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production_service)
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_service)

      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_production_shared_loadbalancer)
      expect(Helper).to have_received(:run!).with(cluster1_validate_cmd_staging_shared_loadbalancer)

      expect(Helper).to have_received(:run!).with(cluster2_validate_cmd_production)
      expect(Helper).to have_received(:run!).with(cluster2_validate_cmd_staging)

      expect(Helper).to have_received(:run!).with(cluster3_validate_cmd_staging)

      expect(Helper).to have_received(:run!).with(cluster4_validate_cmd_production)
    end

    it 'invokes  "terraform validate" with the expected source options' do
      expect(Helper).to have_received(:run!).with(source1_validate_cmd_production).twice
      expect(Helper).to have_received(:run!).with(source1_validate_cmd_staging).twice
    end

    describe 'use of "terraform plan"' do
      it 'passes the hosted zone config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_hz)
        end
      end

      it 'passes the s3 config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_s3)
        end
      end

      it 'passes the vpn customer gateway config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_vpn_cg)
        end
      end

      it 'passes the base config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_production).twice
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_staging).twice
        end
      end

      it 'passes the waf config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_production_waf)
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_staging_waf)
        end
      end

      it 'passes the rds config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_production_rds)
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_staging_rds)
        end
      end

      it 'passes the aurora config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_production_aurora)
          expect(Helper).to have_received(:run!).with(cluster1_plan_cmd_staging_aurora)
        end
      end

      it 'passes the elasticache config to "terraform plan"' do
        aggregate_failures do
          expect(Helper).to have_received(:run!)
            .with(cluster1_plan_cmd_production_elasticache_cluster)
          expect(Helper).to have_received(:run!)
            .with(cluster1_plan_cmd_staging_elasticache_cluster)
        end
      end

      it 'passes the opensearch config to "terraform plan"' do