Skip to content

S3 Integration definitions in OpenAPI document are dropped in cloudformation processing #1530

@k3vur

Description

@k3vur

Description:

I have a SAM Project with an embedded OpenAPI file. This OpenAPI file contains definitions to integrate S3 via x-amazon-apigateway-integration of type aws. If I import this OpenAPI file directly on the API Gateway console, it works fine. If I do a sam deploy, those S3 endpoints don't get deployed. When I check the processed template in Cloudformation Console, those endpoints have been stripped away - the unprocessed template still shows them.

Steps to reproduce the issue:

  1. Create a template.yaml file with included OpenAPI Definition
  2. In the OpenAPI definition, create S3 integration via x-amazon-apigateway-integration of type aws
  3. Run sam deploy
  4. Check deployed API / processed Cloudformation Template

Observed result:

S3 Integration Endpoints are not there

Expected result:

I expect S3 Integration Endpoints to be there

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions