Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: unknown resource type: AWS::CloudFormation::LambdaHook #7729

Open
jftjamf opened this issue Nov 22, 2024 · 0 comments
Open

Bug: unknown resource type: AWS::CloudFormation::LambdaHook #7729

jftjamf opened this issue Nov 22, 2024 · 0 comments
Labels
stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Comments

@jftjamf
Copy link

jftjamf commented Nov 22, 2024

Description:

sam does not know about the AWS::CloudFormation::LambdaHook resource type. Can you please update the program to include this resource type?

Steps to reproduce:

$ sam validate --lint -t template.yaml

[[E3006: Validate the CloudFormation resource type] (Resource type 'AWS::CloudFormation::LambdaHook' does not exist in 'us-east-1') matched 385]
Error: Linting failed. At least one linting rule was matched to the provided template.

However, sam deploy will successfully deploy this resource type.

Expected result:

I expect sam to know about this resource type and return an exit value of 0.

Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

  1. OS: MacOS 15.1.1
  2. sam --version: SAM CLI, version 1.130.0
  3. AWS region: us-east-1
{
  "version": "1.130.0",
  "system": {
    "python": "3.8.20",
    "os": "macOS-15.1.1-arm64-arm-64bit"
  },
  "additional_dependencies": {
    "docker_engine": "Not available",
    "aws_cdk": "2.99.0 (build 0aa1096)",
    "terraform": "Not available"
  },
  "available_beta_feature_env_vars": [
    "SAM_CLI_BETA_FEATURES",
    "SAM_CLI_BETA_BUILD_PERFORMANCE",
    "SAM_CLI_BETA_TERRAFORM_SUPPORT",
    "SAM_CLI_BETA_RUST_CARGO_LAMBDA"
  ]
}

@jftjamf jftjamf added the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.
Projects
None yet
Development

No branches or pull requests

1 participant