Skip to content

Commit

Permalink
[CI] Metricbeat: set AWS region to terraform.tf (#39675) (#39701)
Browse files Browse the repository at this point in the history
* [CI] Metricbeat: set AWS region to terraform.tf

* Cleanup

* Fix DB instance type

(cherry picked from commit 44679fb)

Co-authored-by: Pavel Zorin <pavel.zorin@elastic.co>
  • Loading branch information
mergify[bot] and pazone authored May 24, 2024
1 parent adf81ac commit 44b02fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .buildkite/x-pack/pipeline.xpack.metricbeat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ steps:

- label: ":linux: Cloud (MODULE) Tests"
key: "x-pack-metricbeat-extended-cloud-test"
skip: "Not a stage on Jenkins & elastic/ingest-dev#3170"
# https://github.com/elastic/ingest-dev/issues/3170
if: build.env("GITHUB_PR_LABELS") =~ /.*aws.*/
command: |
set -euo pipefail
Expand Down
3 changes: 2 additions & 1 deletion x-pack/metricbeat/module/aws/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
provider "aws" {
version = "~> 3.33"
region = "us-east-1"
default_tags {
tags = {
environment = var.ENVIRONMENT
Expand Down Expand Up @@ -32,7 +33,7 @@ resource "aws_db_instance" "test" {
identifier = "metricbeat-test-${random_id.suffix.hex}"
allocated_storage = 20 // Gigabytes
engine = "mysql"
instance_class = "db.t2.micro"
instance_class = "db.t3.micro"
name = "metricbeattest"
username = "foo"
password = random_password.db.result
Expand Down

0 comments on commit 44b02fe

Please sign in to comment.