Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNSPolicy: Add CEL validation for geo codes with "GEO-" prefix #1113

Open
mikenairn opened this issue Jan 14, 2025 · 0 comments
Open

DNSPolicy: Add CEL validation for geo codes with "GEO-" prefix #1113

mikenairn opened this issue Jan 14, 2025 · 0 comments

Comments

@mikenairn
Copy link
Member

What

Add CEL validations that ensure only DNSPolices that have a valid continent geo code, specified with the "GEO-" prefix, can be created.

Currently accepted values (with "GEO-" prefix):

AWS_CONTINENT_CODE_AFRICA        = "AF"
AWS_CONTINENT_CODE_ANTARTICA     = "AN"
AWS_CONTINENT_CODE_ASIA          = "AS"
AWS_CONTINENT_CODE_EUROPE        = "EU"
AWS_CONTINENT_CODE_OCEANIA       = "OC"
AWS_CONTINENT_CODE_NORTH_AMERICA = "NA"
AWS_CONTINENT_CODE_SOUTH_AMERICA = "SA"

Note: The geo field is not provider agnostic, and provider specific values are expected to be added here, as such any CEL validation must only take effect on values with the "GEO-" prefix.

Related:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant