Skip to content

fix: ubuntu2204_cis_arm uses wrong instance type#105

Merged
syrull merged 1 commit intomainfrom
fix/add-rhel7-debian10-cnspec-infra
Mar 10, 2026
Merged

fix: ubuntu2204_cis_arm uses wrong instance type#105
syrull merged 1 commit intomainfrom
fix/add-rhel7-debian10-cnspec-infra

Conversation

@syrull
Copy link
Copy Markdown
Contributor

@syrull syrull commented Mar 10, 2026

The ubuntu2204_cis_arm module used var.linux_instance_type (t2.micro, x86_64) but the AMI is arm64. Terraform apply fails with:

InvalidParameterValue: The architecture 'x86_64' of the specified instance type
does not match the architecture 'arm64' of the specified AMI.

Fix: use var.linux_instance_type_arm64 (t4g.medium).

The ubuntu2204_cis_arm module used var.linux_instance_type (t2.micro,
x86_64) but the AMI is arm64. This causes terraform apply to fail with:

  InvalidParameterValue: The architecture 'x86_64' of the specified
  instance type does not match the architecture 'arm64' of the
  specified AMI.

Fix: use var.linux_instance_type_arm64 (t4g.medium).
@syrull syrull merged commit 1704c69 into main Mar 10, 2026
3 checks passed
@syrull syrull deleted the fix/add-rhel7-debian10-cnspec-infra branch March 10, 2026 17:07
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.

1 participant