Bug: Malformed condition causes module type registration to hang
See original GitHub issueI tried making a simple module which had a typo in the condition section. When I ran validate it passed but when I went to submit the module the registration hung for a few hours before failing.
Template Fragment that triggers the Error (in YAML for readability actual template was in JSON)
AWSTemplateFormatVersion: '2010-09-09'
Parameters:
MyParameter:
Type: String
Default: "NOT_SET"
Conditions:
MyCondition:
Fn::Not:
- Fn::Equal: # Should be Fn::Equals
- Ref: MyParameter
- "NOT_SET"
Resources:
TestResource:
Condition: MyCondition
Type: AWS::CloudFormation::WaitConditionHandle
Properties: {}
During registration the process hangs. Inspecting the registration token via describe-type-registration
yields the following:
{
"ProgressStatus": "IN_PROGRESS",
"Description": "Deployment is currently in VALIDATION_STAGE of status IN_PROGRESS; Next is DEPLOY_STAGE with status PENDING"
}
It seems that this template has caused the VALIDATION_STAGE
to hang in some manner.
This locks out updating the module for several hours until it fails.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Yarn link doesn't work · Issue #1297 · yarnpkg/yarn - GitHub
After linking and install the package I got: yarn yarn install v0.23.2 [1/4] Resolving packages... error Received malformed response from ...
Read more >Missing bundle property on entity of type file. in ... - Drupal
I believe this error is caused by a conflict between file_entity and entity_uuid. After installing entity_uuid the schema object for File ...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
Bug :1523 - "[IDEA] Offload work by distributing trivial ebuild maintenance to ... mount as read/write" status:RESOLVED resolution:OBSOLETE severity:normal ...
Read more >Troubleshoot ASP.NET Core on Azure App Service and IIS
The cause of a process startup failure can usually be determined from entries in the Application Event Log and the ASP.NET Core Module...
Read more >Troubleshoot Terraform - HashiCorp Developer
Starting from the type of error closest to the user: Language errors: The primary interface for Terraform is the HashiCorp Configuration Language (HCL),...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I will attempt to reproduce myself and if I am able to will share more detailed steps. Will report back with my findings and thank you for taking a look.
Yep happy to close. I have not been able to make it happen since.