aws-samples / aws-iam-access-key-auto-rotation

This set of CloudFormation templates and Python scripts will set up an auto-rotation function that will automatically rotate your AWS IAM User Access Keys every 90 days.
MIT No Attribution
134 stars 128 forks source link

StackSet creation failed #1

Closed rejusunder closed 3 years ago

rejusunder commented 3 years ago

ResourceLogicalId:RotationAccessKeyRotateLambdaFunction, ResourceType:AWS::Lambda::Function, ResourceStatusReason:1 validation error detected: Value 'arn:aws:s3:::testaccessrotation' at 'code.s3Bucket' failed to satisfy constraint: Member must satisfy regular expression pattern: ^[0-9A-Za-z.-_]*(?<!.)$ (Service: AWSLambdaInternal; Status Code: 400; Error Code: ValidationException; Request ID: cf2f8d55-56b5-4414-8060-179908e15edf; Proxy: null)

rejusunder commented 3 years ago

incorrectly specified bucket name using arn.