106 lines
3.7 KiB
Plaintext
106 lines
3.7 KiB
Plaintext
|
|
IMPORTANT: The file content has been truncated.
|
|
Status: Showing lines 551-650 of 1715 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: 650.
|
|
|
|
--- FILE CONTENT (truncated) ---
|
|
"replication_kms_key_id" => "your-destination-kms-key-id"
|
|
}
|
|
)
|
|
)
|
|
)
|
|
end
|
|
|
|
let(:cluster1_apply_cmd_production_elasticache_cluster) do
|
|
terraform_apply_cmd(
|
|
tfvar_arg_string(
|
|
infrastructure_defaults.merge(
|
|
"instance_type" => "t2.medium",
|
|
"min_servers" => "2",
|
|
"max_servers" => "4",
|
|
"environment" => "production",
|
|
"account_id" => "123456789012",
|
|
"infrastructure_name" => "new-dedicated-cluster",
|
|
"dalmatian_role" => "dalmatian-admin",
|
|
"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"
|
|
}
|
|
)
|
|
)
|
|
)
|
|
end
|
|
|
|
let(:cluster1_apply_cmd_staging_elasticache_cluster) do
|
|
terraform_apply_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-admin",
|
|
"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"
|
|
}
|
|
)
|
|
)
|
|
)
|
|
end
|
|
|
|
let(:cluster1_apply_cmd_production_opensearch_cluster) do
|
|
terraform_apply_cmd(
|
|
tfvar_arg_string(
|
|
infrastructure_defaults.merge(
|
|
"instance_type" => "t2.medium",
|
|
"min_servers" => "2",
|
|
"max_servers" => "4",
|
|
"environment" => "production",
|
|
"account_id" => "123456789012",
|
|
"infrastructure_name" => "new-dedicated-cluster",
|
|
"dalmatian_role" => "dalmatian-admin",
|
|
"opensearch_cluster" => {
|
|
"identifier" => "testos",
|
|
"in_use_by" => [
|
|
"test-service"
|
|
],
|
|
"version" => "1.2",
|
|
"master_enabled" => true, |