Skip to content

Commit

Permalink
Update cdk.template.json to include *.go files.
Browse files Browse the repository at this point in the history
The current behavior for `cdk deploy` is to run `go run cdk.go`.

This requires all of the code to be in the named file.

Switching it to `go run .` will allow additional files to be included.
As the cdk stack becomes more complex, breaking out different props into different files makes the code easier to maintain.
  • Loading branch information
jeremyforan authored Jun 25, 2024
1 parent cce10b1 commit 3e4543e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"app": "go mod download && go run %name%.go",
"app": "go mod download && go run .",
"watch": {
"include": ["**"],
"exclude": [
Expand Down

0 comments on commit 3e4543e

Please sign in to comment.