Skip to content

Commit ef9b5ad

Browse files
authored
terraform: Use non-deprecated deployment template (#14682)
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]>
1 parent e8a0bbb commit ef9b5ad

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

testing/cloud/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ variable "ess_region" {
77
}
88

99
variable "deployment_template" {
10-
default = "gcp-compute-optimized-v3"
10+
default = "gcp-cpu-optimized"
1111
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
1212
type = string
1313
}

testing/infra/terraform/modules/ec_deployment/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ used to configure the module, please refer to the [EC Provider docs](https://reg
5050
| <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 |
5151
| <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 |
5252
| <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 |
53-
| <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 |
53+
| <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 |
5454
| <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 |
5555
| <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 |
5656
| <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 |

testing/infra/terraform/modules/ec_deployment/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ variable "region" {
1313
}
1414

1515
variable "deployment_template" {
16-
default = "gcp-compute-optimized-v3"
16+
default = "gcp-cpu-optimized"
1717
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
1818
type = string
1919
}

testing/rally-cloud/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ variable "ess_region" {
77
variable "deployment_template" {
88
type = string
99
description = "Optional deployment template. Defaults to the CPU optimized template for GCP"
10-
default = "gcp-compute-optimized-v3"
10+
default = "gcp-cpu-optimized"
1111
}
1212

1313
variable "stack_version" {

testing/smoke/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module "ec_deployment" {
1414
source = "../../infra/terraform/modules/ec_deployment"
1515
region = var.region
1616

17-
deployment_template = "gcp-compute-optimized-v3"
17+
deployment_template = "gcp-cpu-optimized"
1818
deployment_name_prefix = "smoke-upgrade"
1919

2020
apm_server_size = "1g"

0 commit comments

Comments
 (0)