Fix bugs
Co-authored-by: Ezequiel Bellver <ebellver@itba.edu.ar>
This commit is contained in:
parent
53d8edd5bc
commit
8008371c15
|
@ -12,7 +12,7 @@ module "apigw" {
|
|||
name = "AWSAPIGateway-g3"
|
||||
description = "..."
|
||||
lambda_function_arn = module.lambda["lambda"].lambda_function_arn
|
||||
lambda_function_name = "lambda"
|
||||
lambda_function_name = module.lambda["lambda"].lambda_function_name
|
||||
lambda_source_arn = "arn:aws:execute-api:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}"
|
||||
|
||||
tags = {
|
||||
|
|
|
@ -35,7 +35,7 @@ module "cloudfront" {
|
|||
target_origin_id = "s3"
|
||||
viewer_protocol_policy = "allow-all"
|
||||
|
||||
allowed_methods = ["DELETE", "GET", "HEAD", "POST", "PUT"]
|
||||
allowed_methods = ["GET", "HEAD", "OPTIONS"]
|
||||
cached_methods = ["GET", "HEAD"]
|
||||
|
||||
min_ttl = 0
|
||||
|
|
Loading…
Reference in New Issue