[Bug]: Member Length error when deploying codepipeline #41023
Labels
bug
Addresses a defect in current functionality.
needs-triage
Waiting for first response or review from a maintainer.
service/codepipeline
Issues and PRs that pertain to the codepipeline service.
waiting-response
Maintainers are waiting on response from community or contributor.
Terraform Core Version
1.5.7
AWS Provider Version
5.4.0
Affected Resource(s)
aws_codepipeline
Expected Behavior
The intention is to deploy a 4 stage codepipeline with 2 of these stages each comprising 3 parallel actions and 1 final action execution.
Actual Behavior
recieved strange length error messages.
Relevant Error/Panic Output Snippet
aws_codepipeline.infra_pipeline["pipeline"]: Creating... ╷ │ Error: creating CodePipeline (isp-xxxxxx-cicd-sss-pipeline-pr): ValidationException: 8 validation errors detected: Value at 'pipeline.stages.2.member.actions.1.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]; Value at 'pipeline.stages.2.member.actions.2.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]; Value at 'pipeline.stages.2.member.actions.3.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]; Value at 'pipeline.stages.2.member.actions.4.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]; Value at 'pipeline.stages.4.member.actions.1.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]; Value at 'pipeline.stages.4.member.actions.2.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]; Value at 'pipeline.stages.4.member.actions.3.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]; Value at 'pipeline.stages.4.member.actions.4.member.configuration' failed to satisfy constraint: Map value must satisfy constraint: [Member must have length less than or equal to 50000, Member must have length greater than or equal to 1]
Terraform Configuration Files
I wont post the configuration files here because we use yamls and a lot of orchestration for locals, they will be somewhat useless, however this is the apply approval confirmation output.
Steps to Reproduce
run terraform apply
Debug Output
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: