106 lines
3.3 KiB
Plaintext
106 lines
3.3 KiB
Plaintext
|
|
IMPORTANT: The file content has been truncated.
|
|
Status: Showing lines 3051-3150 of 3503 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: 3150.
|
|
|
|
--- FILE CONTENT (truncated) ---
|
|
"production" => true,
|
|
"staging" => false
|
|
},
|
|
"ssl_policy" => "ELBSecurityPolicy-TLS-1-2-2017-01"
|
|
}
|
|
)
|
|
)
|
|
)
|
|
end
|
|
|
|
let(:cluster1_plan_cmd_staging_shared_loadbalancer) do
|
|
terraform_plan_cmd(
|
|
tfvar_arg_string(
|
|
infrastructure_defaults.merge(
|
|
"instance_type" => "t2.small",
|
|
"min_servers" => "2",
|
|
"max_servers" => "4",
|
|
"track_revision" => "feature/experiment",
|
|
"extra_ecs_clusters" => [
|
|
{
|
|
"name" => "test",
|
|
"subnets_name" => "extra_private_subnets",
|
|
"min_servers" => "2",
|
|
"max_servers" => "4",
|
|
"instance_type" => "t3.small"
|
|
}
|
|
],
|
|
"tinyproxy" => {
|
|
"create" => true
|
|
},
|
|
"environment" => "staging",
|
|
"account_id" => "123456789012",
|
|
"infrastructure_name" => "new-dedicated-cluster",
|
|
"dalmatian_role" => "dalmatian-read",
|
|
"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"
|
|
}
|
|
)
|
|
)
|
|
)
|
|
end
|
|
|
|
let(:source1_validate_cmd_production) do
|
|
terraform_validate_cmd(
|
|
tfvar_arg_string(
|
|
infrastructure_defaults.merge(
|
|
"instance_type" => "t2.medium",
|
|
"min_servers" => "2",
|
|
"max_servers" => "4",
|
|
"cluster_name" => "new-dedicated-cluster-production",
|
|
"account_id" => "123456789012",
|
|
"infrastructure_name" => "new-dedicated-cluster",
|
|
"dalmatian_role" => "dalmatian-read",
|
|
"environment" => "production"
|
|
)
|
|
)
|
|
)
|
|
end
|
|
|
|
let(:source1_validate_cmd_staging) do
|
|
terraform_validate_cmd(
|
|
tfvar_arg_string(
|
|
infrastructure_defaults.merge(
|
|
"instance_type" => "t2.small",
|
|
"min_servers" => "2",
|
|
"max_servers" => "4",
|
|
"track_revision" => "feature/experiment", |