• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

elastic / cloudbeat / 20826890277
76%

Build:
DEFAULT BRANCH: main
Ran 08 Jan 2026 06:23PM UTC
Jobs 1
Files 230
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Jan 2026 06:08PM UTC coverage: 76.085% (+0.02%) from 76.062%
20826890277

push

github

web-flow
GCP Infrastructure manager terraform for elastic-agent  (#3776)

### Summary of your changes
Replaces deprecated GCP Deployment Manager with modern Infrastructure
Manager (Terraform) for deploying Elastic Agent CSPM integration.
Provides identical resources with improved tooling and user experience.

#### New Directory: deploy/infrastructure-manager/gcp-elastic-agent/
Files Added:
main.tf - Main infrastructure configuration (compute instance, network,
service account, IAM bindings)
variables.tf - Input variable definitions
outputs.tf - Deployment outputs
service_account.tf - Standalone service account deployment for agentless
mode
terraform.tfvars.example - Example configuration for main deployment
service_account.tfvars.example - Example configuration for SA-only
deployment
README.md - Comprehensive deployment guide

#### Resources Created
Identical to Deployment Manager implementation:
Compute instance (Ubuntu, n2-standard-4, 32GB disk) with Elastic Agent
pre-installed
Service account with roles/cloudasset.viewer and roles/browser
VPC network with auto-created subnets
IAM bindings (project or organization scope)
Optional SSH firewall rule

#### Compatibility
The new deployment script `infrastructure-manager/deploy.sh` is
compatible with kibana deployment command of the form:
```bash
gcloud config set project elastic-security-test && \
FLEET_URL=https://a6f784d2fb4d48bea7724fbe41ef17d3.fleet.us-central1.gcp.qa.elastic.cloud:443 \
ENROLLMENT_TOKEN=<REDUCTED> \
STACK_VERSION=9.2.3 \
./deploy.sh
```

### Related Issues
- Resolves: https://github.com/elastic/cloudbeat/issues/3132

9656 of 12691 relevant lines covered (76.09%)

16.36 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
84.04
0.98% internal/resources/providers/gcplib/inventory/provider.go
Jobs
ID Job ID Ran Files Coverage
1 20826890277.1 08 Jan 2026 06:23PM UTC 230
76.09
GitHub Action Run
Source Files on build 20826890277
  • Tree
  • List 230
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • fdf76cca on github
  • Prev Build on main (#20813859395)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc