Skip to content

Commit b3d7d7f

Browse files
hanwen-clusterhanwen-pcluste
authored andcommitted
[Integ-tests] Fix build-image integration test
Signed-off-by: Hanwen <hanwenli@amazon.com>
1 parent 8eb8d25 commit b3d7d7f

File tree

1 file changed

+3
-3
lines changed
  • tests/integration-tests/tests/createami/test_createami/test_build_image_custom_components

1 file changed

+3
-3
lines changed

tests/integration-tests/tests/createami/test_createami/test_build_image_custom_components/image.config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ Build:
22
InstanceType: {{ instance_type }}
33
ParentImage: {{ parent_image }}
44
Components:
5-
# Test arn custom component with combination (eu-west-1, m6g.xlarge, alinux2)
6-
# Test script custom component with combination (ap-southeast-2, c5.xlarge, centos7) and (ap-southeast-2, c5.xlarge, ubuntu2004)
7-
{% if region == "eu-west-1" %}
5+
# Test arn custom component in eu-west-1 except Rocky because stig-build-linux-high component doesn't support Rocky
6+
# Test script custom component in other regions.
7+
{% if region == "eu-west-1" and "rocky" not in os %}
88
- Type: arn
99
Value: arn:{{ partition }}:imagebuilder:{{ region }}:aws:component/stig-build-linux-high/2024.2.3/1
1010
{% else %}

0 commit comments

Comments
 (0)