Skip to content

Template Upgrade error #153

@jam20m

Description

@jam20m

Describe the bug

When attempting to upgrade network-orchestration-hub.template from version v3beta01 to 3.3.16 the Cognito STNOUserPool Resource causes the template to rollback.

To Reproduce

Deploy v3beta01 - Prep for deployment of v3.3.16: Follow the build steps in the readme and output the amended templates and create the required zip files, console, graphql... and transfer to S3. Check the template params. Perform the update in cloudformation. Add and any additional params required and select update.

Expected behavior

Error Message:
Resource handler returned message: "Entity Type: USER, Message: AttributeName: User.custom:CognitoUserGr, DataType: STRING, Error: Attribute names MUST conform to the following rules: |ALPHA *(nameChar) and nameChar is "$" / "-" / "" /DIGIT / ALPHA

The issue relates to line 2384: Name: custom:CognitoUserGr
The colon causes the error. Adjusting the code to: Name: CognitoUserGr Allows the update to continue

Cloudtrail Error shows:
"errorCode": "InvalidParameterException",

"errorMessage": "Entity Type: USER, Message: AttributeName: User.custom:CognitoUserGr, DataType: STRING, Error: Attribute names MUST conform to the following rules: _\|ALPHA *(nameChar) and nameChar is \"$\" / \"-\" / \"_\" /DIGIT / ALPHA", },
  • Version: [ 3.3.16]

  • Region: ap-southeast-2

  • Was the solution modified from the version published on this repository? YES

  • If the answer to the previous question was yes, are the changes available on GitHub? NO

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions