Skip to content

Commit

Permalink
Add CDK deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
san99tiago committed Sep 12, 2023
1 parent a07cd3e commit d3c2f6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,6 @@ jobs:
pip list
cdk synth
# - name: Deploy to AWS
# run: cdk deploy --require-approval=never
# NOTE: for now no manual approvals are required
- name: Deploy to AWS
run: cdk deploy --require-approval=never
2 changes: 1 addition & 1 deletion cdk/stacks/cdk_lambda_fastapi_stack.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def create_lambda_functions(self):
)

self.lambda_function_url = self.lambda_fastapi.add_function_url(
auth_type=aws_lambda.FunctionUrlAuthType.NONE,
auth_type=aws_lambda.FunctionUrlAuthType.AWS_IAM,
)

def generate_cloudformation_outputs(self):
Expand Down

0 comments on commit d3c2f6e

Please sign in to comment.