Skip to content

snc: update the AMI regex to remove - after arch#800

Merged
adrianriobo merged 1 commit into
redhat-developer:mainfrom
anjannath:snc-ami-regex
May 14, 2026
Merged

snc: update the AMI regex to remove - after arch#800
adrianriobo merged 1 commit into
redhat-developer:mainfrom
anjannath:snc-ami-regex

Conversation

@anjannath
Copy link
Copy Markdown
Collaborator

in the first region where the AMI is uploaded the AMI name don't contain the region suffix and no separator

in all the other regions where the AMI is copied from the first region it contains the region as suffix and a - added before it to the AMI name, the new regex will handle both the variants

in the first region where the AMI is uploaded the AMI
name don't contain the region suffix and no separator

in all the other regions where the AMI is copied from
the first region it contains the region as suffix and
a `-` added before it to the AMI name, the new  regex
will handle both the variants

Signed-off-by: Anjan Nath <kaludios@gmail.com>
Copy link
Copy Markdown
Collaborator

@adrianriobo adrianriobo left a comment

Choose a reason for hiding this comment

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

LGTM

@adrianriobo adrianriobo merged commit fed4741 into redhat-developer:main May 14, 2026
8 checks passed
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