Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tf default ec_deployment deployment_template #11438

Merged
merged 6 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions testing/benchmark/terraform.tfvars.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ user_name = "USER"
# of the available stack pack versions.
# stack_version = "8.4.0"

# The size of the APM Server. It is possible to go over 8GB, and cloud
# will provision additional instances / 8gb, for example, if 16gb is
# set, then there will be 2 x 8gb APM Servers in the same AZ.
# The size of the APM Server.
# There is a max size per instance depending on deployment_template.
# If apm_server_size exceeds the max size per instance, it will be
# distributed over multiple instances in the same AZ.
# apm_server_size = "8g"

# The number of AZs the APM Server should span.
Expand Down
2 changes: 1 addition & 1 deletion testing/benchmark/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ variable "ess_region" {
}

variable "deployment_template" {
default = "gcp-compute-optimized-v2"
default = "gcp-compute-optimized-v3"
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
type = string
}
Expand Down
2 changes: 1 addition & 1 deletion testing/cloud/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ variable "ess_region" {
}

variable "deployment_template" {
default = "gcp-compute-optimized-v2"
default = "gcp-compute-optimized-v3"
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
type = string
}
Expand Down
4 changes: 2 additions & 2 deletions testing/infra/terraform/modules/ec_deployment/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ used to configure the module, please refer to the [EC Provider docs](https://reg
| <a name="input_apm_server_zone_count"></a> [apm\_server\_zone\_count](#input\_apm\_server\_zone\_count) | Optional apm server zone count | `number` | `1` | no |
| <a name="input_custom_apm_integration_pkg_path"></a> [custom\_apm\_integration\_pkg\_path](#input\_custom\_apm\_integration\_pkg\_path) | Path to the zipped custom APM integration package, if empty custom apm integration pkg is not installed | `string` | `""` | no |
| <a name="input_deployment_name_prefix"></a> [deployment\_name\_prefix](#input\_deployment\_name\_prefix) | Optional ESS or ECE region. Defaults to GCP US West 2 (Los Angeles) | `string` | `"apmserver"` | no |
| <a name="input_deployment_template"></a> [deployment\_template](#input\_deployment\_template) | Optional deployment template. Defaults to the CPU optimized template for GCP | `string` | `"gcp-compute-optimized-v2"` | no |
| <a name="input_deployment_template"></a> [deployment\_template](#input\_deployment\_template) | Optional deployment template. Defaults to the CPU optimized template for GCP | `string` | `"gcp-compute-optimized-v3"` | no |
| <a name="input_docker_image"></a> [docker\_image](#input\_docker\_image) | Optional docker image overrides. The full map needs to be specified | `map(string)` | <pre>{<br> "apm": "docker.elastic.co/cloud-release/elastic-agent-cloud",<br> "elasticsearch": "docker.elastic.co/cloud-release/elasticsearch-cloud-ess",<br> "kibana": "docker.elastic.co/cloud-release/kibana-cloud"<br>}</pre> | no |
| <a name="input_docker_image_tag_override"></a> [docker\_image\_tag\_override](#input\_docker\_image\_tag\_override) | Optional docker image tag overrides, The full map needs to be specified | `map(string)` | <pre>{<br> "apm": "",<br> "elasticsearch": "",<br> "kibana": ""<br>}</pre> | no |
| <a name="input_drop_pipeline"></a> [drop\_pipeline](#input\_drop\_pipeline) | Whether or not to install an Elasticsearch ingest pipeline to drop all incoming APM documents. Defaults to false | `bool` | `false` | no |
Expand All @@ -76,4 +76,4 @@ used to configure the module, please refer to the [EC Provider docs](https://reg
| <a name="output_elasticsearch_username"></a> [elasticsearch\_username](#output\_elasticsearch\_username) | The Elasticsearch username |
| <a name="output_kibana_url"></a> [kibana\_url](#output\_kibana\_url) | The secure Kibana URL |
| <a name="output_stack_version"></a> [stack\_version](#output\_stack\_version) | The matching stack pack version from the provided stack\_version |
<!-- END_TF_DOCS -->
<!-- END_TF_DOCS -->
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variable "region" {
}

variable "deployment_template" {
default = "gcp-compute-optimized-v2"
default = "gcp-compute-optimized-v3"
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
type = string
}
Expand Down
2 changes: 1 addition & 1 deletion testing/rally-cloud/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ variable "ess_region" {
variable "deployment_template" {
type = string
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
default = "gcp-compute-optimized-v2"
default = "gcp-compute-optimized-v3"
}

variable "stack_version" {
Expand Down
2 changes: 1 addition & 1 deletion testing/smoke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module "ec_deployment" {
source = "../../infra/terraform/modules/ec_deployment"
region = var.region

deployment_template = "gcp-compute-optimized-v2"
deployment_template = "gcp-compute-optimized-v3"
deployment_name_prefix = "smoke-upgrade"

apm_server_size = "1g"
Expand Down
2 changes: 1 addition & 1 deletion testing/smoke/managed/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module "ec_deployment" {
source = "../../infra/terraform/modules/ec_deployment"
region = var.region

deployment_template = "gcp-compute-optimized-v2"
deployment_template = "gcp-compute-optimized-v3"
deployment_name_prefix = "smoke-upgrade"

apm_server_size = "1g"
Expand Down
2 changes: 1 addition & 1 deletion testing/smoke/supported-os/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module "ec_deployment" {
source = "../../infra/terraform/modules/ec_deployment"
region = var.region

deployment_template = "gcp-compute-optimized-v2"
deployment_template = "gcp-compute-optimized-v3"
deployment_name_prefix = "smoke-upgrade"

apm_server_size = "1g"
Expand Down