Skip to content

Commit

Permalink
terraform: Use non-deprecated deployment template (#14682)
Browse files Browse the repository at this point in the history
This change updates the deployment template to use the non-deprecated
deployment template `gcp-compute-optimized-v3` => `gcp-cpu-optimized`.

Signed-off-by: Marc Lopez Rubio <[email protected]>
  • Loading branch information
marclop authored Nov 20, 2024
1 parent e8a0bbb commit ef9b5ad
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
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-v3"
default = "gcp-cpu-optimized"
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
type = string
}
Expand Down
2 changes: 1 addition & 1 deletion 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-v3"` | 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-cpu-optimized"` | 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 Down
2 changes: 1 addition & 1 deletion testing/infra/terraform/modules/ec_deployment/variables.tf
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-v3"
default = "gcp-cpu-optimized"
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-v3"
default = "gcp-cpu-optimized"
}

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-v3"
deployment_template = "gcp-cpu-optimized"
deployment_name_prefix = "smoke-upgrade"

apm_server_size = "1g"
Expand Down

0 comments on commit ef9b5ad

Please sign in to comment.