aws / aws/aws-toolkit-visual-studio
"AWS::Scheduler::Schedule" causes error in json cloudformation
- Dominant language
- No language data
- Stars
- 135
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
VS2022 syntax highlighting and validation for json based cloudformation serverless.temple reports "Type key is invalid for this object" and red underline when adding an item to the cloudformation template with "Type": "AWS::Scheduler::Schedule" and every property under it also generate an error. If the cloudformation is then deployed manually or validated online it works and passes validation so it only happens in VS2022 once the AWS Toolkit is installed.
**To Reproduce**
Steps to reproduce the behavior
1. Add a project with a cloud formation json template.
2. either update an existing entity or add a new one in the template to have type "AWS::Scheduler::Schedule"
4. See error and red sqwiggle line
**Expected behavior**
No error and to show the template as valid
**Screenshots**
**Development System (please complete the following information):**
- Windows Version:Win 11
- Visual Studio Version: VisualStudio 2022 - Version 17.14.26
- AWS Toolkit for Visual Studio Version:1.86.0.0
Contributor guide
Research direction
Reproduce the issue in Visual Studio 2022 with a JSON CloudFormation template containing an AWS::Scheduler::Schedule resource. Start with the AWS Toolkit's CloudFormation syntax highlighting and validation behavior; done means the resource type and its properties show no errors while the template remains valid for deployment and online validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- json
- Domain
- cloud, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100