Generate AWS ARNs & other AWS data #3108
Labels
c: feature
Request for new feature
s: pending triage
Pending Triage
s: waiting for user interest
Waiting for more users interested in this feature
Clear and concise description of the problem
Generating fake AWS arns is reasonably common when testing code that works with & interprets ARNs.
The process of generating an ARN generally means we will be enumerating many AWS constants, and maybe should be rolled into an entire AWS module.
Suggested solution
Reference script to get a list of all services & ARN formats: https://github.com/dannysteenman/aws-iam-arns
Spec:
API:
faker.string.arn()
or:More Research
A full range of acceptable values and formats appears to be available by parsing a few sources, making is so generated ARNs could be precisely accurate to their real world counterparts. Which could be supported largely by codegen.
us-east-1
at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-resource-specification.htmlpolicies.js
file at: https://awspolicygen.s3.amazonaws.com/js/policies.jsAlternative
¯\_(ツ)_/¯
Additional context
No response
The text was updated successfully, but these errors were encountered: