Skip to content

fix(runners): preserve example pre-install userdata - #645

Merged
edersonbrilhante merged 1 commit into
mainfrom
fix/example-pre-install-userdata
Aug 11, 2026
Merged

fix(runners): preserve example pre-install userdata#645
edersonbrilhante merged 1 commit into
mainfrom
fix/example-pre-install-userdata

Conversation

@edersonbrilhante

Copy link
Copy Markdown
Member

Description

Follow-up to #638 that preserves the EC2 example's previous launch-template user-data bytes.

The legacy EC2 path supplied # No pre-install steps. as userdata_pre_install. The nested compute_provider.ec2.user_data adapter otherwise falls back to an empty string. This sets the same value explicitly in both the platform template and checked-in deployment example.

Type of Change

  • Feature
  • Bug Fix
  • Documentation
  • Refactor
  • Other: ___________

Testing

  • pre-commit run terragrunt-hcl-fmt --files examples/templates/platform/tenant/runner_settings.hcl examples/deployments/platform/terragrunt/environments/prod/regions/eu-west-1/vpcs/main/tenants/acme/runner_settings.hcl
  • RELEASE_VERSION_PATH=$PWD/examples/deployments/platform/release_versions.yml terragrunt hcl validate --working-dir examples/deployments/platform/terragrunt/environments
  • python -m pytest -q tests/quality/examples_contract_test.py (4 passed)
  • Signed commit hooks passed.

@github-actions

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown
Contributor

Mutation test critical Lambda boundaries

Result: passed

Suite Passed Failed Errors Skipped Total Duration Result
Mutation tests 17 0 0 0 17 1.53s passed

Coverage: 39.67% (1215/3063 lines)

Lowest-covered Lambda files

File Coverage Missed lines

@github-actions

Copy link
Copy Markdown
Contributor

Automation gate tests

Result: passed

Suite Passed Failed Errors Skipped Total Duration Result
Automation gate tests 26 0 0 0 26 0.74s passed

Coverage: 84.81% (670/790 lines)

Lowest-covered Lambda files

File Coverage Missed lines

@edersonbrilhante
edersonbrilhante marked this pull request as ready for review August 11, 2026 21:31
@edersonbrilhante
edersonbrilhante requested a review from a team as a code owner August 11, 2026 21:31
@edersonbrilhante
edersonbrilhante enabled auto-merge (squash) August 11, 2026 21:31

@im-ko-git im-ko-git left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edersonbrilhante
edersonbrilhante merged commit 7f0fd09 into main Aug 11, 2026
9 checks passed
@edersonbrilhante
edersonbrilhante deleted the fix/example-pre-install-userdata branch August 11, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants