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

excessive quoting #28

Open
jason-henriksen opened this issue Jun 17, 2020 · 0 comments
Open

excessive quoting #28

jason-henriksen opened this issue Jun 17, 2020 · 0 comments

Comments

@jason-henriksen
Copy link

jason-henriksen commented Jun 17, 2020

input yaml:

  OrdersCancel:
    Type: AWS::Serverless::Function

output yaml:

OrdersCancel:
  Type: 'AWS::Serverless::Function'

Notice the spurious single quotes added in the above code block
Because of this I get the following error message when trying to use the cloudformation yaml:
Error: Template does not have any APIs connected to Lambda functions

Additionally:
input yaml:

Globals:
  Api:
    # Allows an application running locally on port 8080 to call this API
    Cors:
      AllowMethods: "'*'"
      AllowHeaders: "'*'"
      AllowOrigin: "'*'"

output yaml:

Globals:
  Api:
    Cors:
      AllowMethods: '''*'''
      AllowHeaders: '''*'''
      AllowOrigin: '''*'''

Why are my double quotes being randomly turned into single quotes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant