File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 6565 // AwsArnRegex original source: https://regex101.com/r/pOfxYN/1
6666 AwsArnRegex = `^arn:(?P<Partition>[^:\n]*):(?P<Service>[^:\n]*):(?P<Region>[^:\n]*):(?P<AccountID>[^:\n]*):(?P<Ignore>(?P<ResourceType>[^:\/\n]*)[:\/])?(?P<Resource>.*)$` //nolint
6767 // AwsRegionRegex regex used for validating region input; note intentionally does not match gov cloud
68- AwsRegionRegex = `(us |ap|ca|eu|sa )-(central|(north|south)?(east|west)?)-\d`
68+ AwsRegionRegex = `(af |ap|ca|eu|me|sa|us )-(central|(north|south)?(east|west)?)-\d`
6969 AwsProfileRegex = `([A-Za-z_0-9-]+)`
7070
7171 GenerateAwsCommandState = & aws.GenerateAwsTfConfigurationArgs {}
Original file line number Diff line number Diff line change 7474 EksAuditAdvancedOptDone = "Done"
7575
7676 // AwsEksAuditRegionRegex regex used for validating region input; note intentionally does not match gov cloud
77- AwsEksAuditRegionRegex = `(us |ap|ca|eu|sa )-(central|(north|south)?(east|west)?)-\d`
77+ AwsEksAuditRegionRegex = `(af |ap|ca|eu|me|sa|us )-(central|(north|south)?(east|west)?)-\d`
7878
7979 GenerateAwsEksAuditCommandState = & aws_eks_audit.GenerateAwsEksAuditTfConfigurationArgs {}
8080 GenerateAwsEksAuditCommandExtraState = & AwsEksAuditGenerateCommandExtraState {}
You can’t perform that action at this time.
0 commit comments